Posts on Blog Page

  • ChristinaMeade

    #3349

    I’m having difficulty getting posts to show up on my Blog page. I have read and tried the information given in a previous forum post (https://forum.graphene-theme.com/graphene-support/post-page-not-showing-posts-blog-page). That does work. However, I would like to keep my homepage the way that it is (http://zoommovingpictures.com/bookblog) with the slider on it. If I follow the directions from the forum post, I lose my homepage. Is there any way I can have posts show up on the Blog page and keep my homepage the way that it is?

    Anonymous

    #24451

    You can show your recent posts on homepage or a static front page and post on other page like /blog. But, you can’t show posts on both homepage and blog page by default. (Try Kalin’s post listing plugin if you want to do so)

    To show posts on /blog page, go to WP-Admin –> Settings –> Reading Settings and select a page as Static Front page. Then “Blog” page as “Posts page”

    You can move your slider to Blog page by adding this code to your child theme’s functions.php file

    <?php
    function graphene_display_slider(){
    if (is_page(100)){
    graphene_slider();
    add_action('wp_footer', 'graphene_scrollable');
    }
    }

    function custom_enqueue_scripts(){
    if ( ! is_admin() ) { // Front-end only
    wp_enqueue_script( 'graphene-jquery-tools' ); // jQuery Tools, required for slider
    }
    }
    add_action( 'wp_enqueue_scripts', 'custom_enqueue_scripts' );
    ?>

    Where page 100 is the ID of your Blog page

    ChristinaMeade

    #24452

    Thank you for the information and the quick response! I will keep that code if I want to move the slider to the blog page. I did manage a way to figure it out 🙂 Here is the link for anyone wanting to do this. http://codex.wordpress.org/Creating_a_Static_Front_Page

    Once I saved the page as Home, I could go back and change the title to whatever I wanted. I was even able to add some content to the page so I could show the video I wanted on the home page.

    Thanks again for your help. I really appreciate it and was not expecting such a speedy response given that this is a free theme. You’re awesome!

    Anonymous

    #24453

    I managed to figure it out 🙂

    That always feels good. 🙂

    Marking thread as resolved.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!