Pages instead of Posts at Static Front Page

  • kaiijy


    My website:

    Hello, thanks to the support of this forum i managed to set my Graphene Slider to show Pages instead of Posts.

    My next objective is to use the remaining space (below the slider) for pages as well.

    To achieve similar result with my Graphene Slider i had to install a plugin that adds Categories to Pages and i’ve set a new Slider category to use for this.

    Trying to do the same thing with pages i created a Front Page category and set the theme to display only that category in the front page, but it didn’t work.

    So i remembered that to make the Graphene Slider to work properly i had to include the following code in my child’s theme functions.php file:

    function graphene_custom_slider_post_type(){
    $post_type = array('post', 'page');
    return $post_type;
    add_filter('graphene_slider_post_type', 'graphene_custom_slider_post_type');

    So i believe that i possibly need to include another one to achieve my objective, ain’t i right? I’d like to ask if somebody has this code in hands 🙂



    To prevent further posting i’ll also present another problem:

    My graphene theme is configured to display Posts’ excerpts at front page;

    I downloaded a plugin to include excerpts to Pages;

    When we manage to solve the issue above will this configuration remains? I mean, will the front page show the excerpts from PAGES or will i need further configuration for that?


    Syahir Hakim


    Add this to your child theme’s functions.php file:

    function graphene_frontpage_posts_args( $args ){
    $args['post_type'] = array('post', 'page');
    return $args;
    add_filter('graphene_frontpage_posts_cats_sticky_args', 'graphene_frontpage_posts_args');
    add_filter('graphene_frontpage_posts_cats_args', 'graphene_frontpage_posts_args');



    Totally worked, Syahir! Thank you very much!

    By the way, what’s the command i must add to the style.css to remove the “Continue Reading” button?


    Kenneth John Odle


    It seems to me that someone asked this not too long ago, but I can’t find it anywhere. Hmmm…..maybe I just imagined it.

    Anyway, try adding this to your custom CSS:

    .more-link.block-button {display:none}




    Hehe, at least now i included tags to the post so the next one whom looks after it will show up here and have his problem solved.

    Again: thanks, guys. Topic closed 😀

Viewing 6 posts - 1 through 6 (of 6 total)

  • You must be logged in to reply to this topic.