Product: lightScape

xscape_lightscape_slider_post_include

xscape_lightscape_slider_post_include File name: templates/blocks/featured_slider.php Parameters: $tpl_path: path to the file that will display post for slider $post: post object to display With this filter you can pass path to a replacement file that will display the item for the featured slider. Default file used for this is in templates/special directory and it is called slider_post.php.

xscape_lightscape_slider_query

xscape_lightscape_slider_query File name: templates/blocks/featured_slider.php Parameters: $query: null Use this filter to return fully formed WP_Query object instance. From this query posts for slider will be used.

xscape_lightscape_featured_slider_posts

xscape_lightscape_featured_slider_posts File name: templates/blocks/featured_slider.php Parameters: $args: arguments for the WP_Query object With this you can modify the arguments used to get posts for the slider. Arguments passed to this filter are prepared based on the slider settings for the current page.