Problems with child pages showing (no title)

  • timcs

    #38187
    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?

    timcs

    #38188

    Sorted this child theme out – shame about the page plug in not working though – may see if there is another that will work

Viewing 2 posts - 21 through 22 (of 22 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum