Home > customization > Custom Slider Per Page created

Custom Slider Per Page created

December 14Hits:1
Advertisement

I am developing a site that will need to have a slider with 4-8 images, but only on certain page-types.

These pages must be editable and the sliders must be able to be updated whenever I'd like.

I can easily do the slider and the page theme, it's just the dynamic slider area that is getting me.

I've been theming wordpress for a long time but have never run into this situation, it's kicking my butt.

Any help would be appreciate, thank you for your time and effort.

Update I have the individual templates for the pages. And have looked into the conditional tags which will help for sure. I'm building this for a client who is new to Wordpress so I want to make the process very easy for them. They need to be able to post these slides themselves.

Answers

Well your options are to hook the slider into the page/post media gallery using something like get_children or get_posts attachments. Another option is to use a custom "image" field for the slider images and query them using query_posts.

Certain which page types? In general Conditional Tags > A PAGE Page allows to easily check for plenty of stuff.

You can also easily create individual templates for pages if they must be quite different from the rest.

Related Articles

  • Custom Slider Per Page createdDecember 14

    I am developing a site that will need to have a slider with 4-8 images, but only on certain page-types. These pages must be editable and the sliders must be able to be updated whenever I'd like. I can easily do the slider and the page theme, it's jus

  • Adding submenu to custom plugin menu page created with add_menu_page() functionJanuary 23

    I have created a custom menu page using add_menu_page() function. Everything in that page appears as it should in the screen. What I am trying to achieve is adding another submenu under the under the page i previously created(i want it to appear just

  • Create custom slider blockJanuary 6

    I created custom slider block with nivo slider here is my code : <?php function slider_init() { drupal_add_js(drupal_get_path('module', 'slider') . '/js/jquery.nivo.slider.js'); } function slider_theme($existing, $type, $theme, $path) { return array(

  • how to create a custom landing [home]page in sharepoint using page layouts

    how to create a custom landing [home]page in sharepoint using page layoutsDecember 12

    Would like to know,how to create a custom landing[home]page in sharepoint using page layouts and few cutom web parts. my env: SP 2013 / VS 2012 / SP D 2013 I have gone through kirk evans blog and I created a new "Publishing Content Type" page la

  • Creating beamer handout with multiple slides per page with videoAugust 13

    I have a beamer presentation that I'd like to turn into a pdf document having multiple slides per page. In general I know how to do this, but one of my slides has this: \movie[poster,width=\textwidth,height=\textheight]{}{figures/N50_nohigh.avi} That

  • creating custom Task VF page January 7

    I am creating custom Task VF page with same functionality as in standard page But how do I create Recurrence section and reminder section and write controller for these two sections so that task is saved successfully.

  • The main Loop is not starting in a custom blog template pageJanuary 25

    I made a custom template for the blog section of my page. I even set post page to Blog. I created a custom post type called Page Content and the posts are retrieved in the #feature div. But the main posts (written in the Posts panel) are not being sh

  • Custom slide library feature for SharePoint 2013May 22

    My customer is looking for the custom slide library feature for SharePoint 2013. Since the original feature (SP 2010) is being deprecated what would be the level of effort to recreate it as a custom solution? I would highly appreciate any feedback, s

  • Custom taxonomy list page?

    Custom taxonomy list page?January 30

    I've been searching Google for this to no avail. I'm working on a restaurant site, and I have a custom post type for dishes, like so: $args = array( 'labels'=> $labels, 'public'=> true, 'publicly_queryable'=>true, 'show_ui'=>true, 'show_in_nav

  • Custom post_type search pagesMarch 3

    So I have a section on my site that specifically searches a custom post type for YouTube videos. I'm absolutely able to search the custom type. However, I'm unsure how to create a search page that has custom formatting geared toward this type of sear

  • SharePoint 2007/2010 Custom Access Request PageMarch 8

    Does anyone know were to start to create a custom Access Request Page or how to modify the default behavior. We would like to use our own workflow behind the Access Approval for a specific site collection: e-mail send to specific owner that a user is

  • custom grant permissions pageApril 1

    I was asked to investigate if a custom "Grant Permissions" page can be built in Sharepoint 2010. It should: Allow admin to set users for each group (visitors/members/owners) in one page. Currently such page comes up only on creating a site with

  • How do I restrict search to current site and sub-sites only on a custom Search UI pageApril 12

    The intent is to allow users to create sites and sub-sites, add document libraries and make the sub-sites searchable. I am thinking I need to create a site template with a custom Search UI page that will search the current site and any sub-sites that

  • Claims based authentication and custom sign on pageJune 28

    I am creating a Claims based authentication using PowerShell. I am enabling both Windows authentication and FBA. My code will look as follows: $authMethod = "NTLM" Write-Output "Creating $title web application on port $port..." $waexe

  • SP 2010 Custom Access Denied Pages - 403 errorNovember 21

    I've used the following powershell script to change the default access denied page for my web Application: Set-SPCustomLayoutsPage -Identity "AccessDenied" -RelativePath "/_layouts/Custom/AccessDenied.aspx" -WebApplication "MyWebA

  • Quality of custom sliderNovember 22

    Should I be using this more, instead of slider? Am I making any serious no-no's here, and is there a better design I should implement? I'm up for any pointers :) slider = { selector : '#slider', init : function() { $('#slider').hover(function(e){ sli

  • SharePoint 2010 custom 401 error page on authenticated siteDecember 6

    I'm trying to create a custom 401 error page for my site. The setup is a SharePoint 2010 enterprise site with subwebs. The entire solution requires authentication (no anonymous access). I've tried both of these: [1] http://www.ngpixel.com/2010/12/23/

  • Custom search results page: Refinements UseDefaultConfiguration="false" causes rendering issue

    Custom search results page: Refinements UseDefaultConfiguration="false" causes rendering issueDecember 13

    I'm working on a custom search results page, located in the layouts folder. The idea is that depending on the site where the search was performed, the refinement panel will be shown or not (as asp:panel is shown or hidden accordingly). I mention this

  • Event Reciever Custom Error Message Page Sharepoint List 2010

    Event Reciever Custom Error Message Page Sharepoint List 2010February 3

    I am working on creating event receiver on a specific custom list using visual studio 2010. Below is the screenshot of the error message set on properties. ErrorMessage I'm interested in knowing how can we customize this form? Any suggestions? ------

  • How to restrict the editors from viewing/editing pages created by admin?March 2

    In the backend, how can I restrict the editors (user with editor role) from viewing/editing pages created by admin (and/or by administrator role)? I know that the editor role in WordPress have "edit_others_pages" capability, but I need a functio

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.777 s.