Quote:
OK, create a functions.php file in your child theme. Then, add this code into that file:
<?php
/**
* Make slider lists recent pages instead of recent posts
*/
function my_slider_post_types( $types ) {
global $graphene_settings;
if ( $graphene_settings == ‘latest_posts’ ) {
$types = array( ‘page’ );
}
return $types;
}
add_filter( ‘graphene_slider_post_type’, ‘my_slider_post_types’ );
Thanks Syahir , I am right that even though it says ‘latest_posts’ it will do latest pages?