How to get Featured Posts on static home page

Community Forums Forums Design Tips and Tricks How to get Featured Posts on static home page

This topic is: not resolved

This topic contains 11 replies, has 5 voices, and was last updated by  genwrock 2 months, 1 week ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #38457

    aariade
    Participant

    I have Streamline theme and I just created a static front page and a separate page for my blog.  When I did that, the Featured Posts and Newsletter banner below the header stayed on my blog page and not the homepage.  Both are widgets. Is there a way to add these to my new static homepage instead of my blog?  Thanks in advance!

    http://www.healthyvegasvegan.com
    #38569

    lynnemiller
    Participant
    Post count: 1
    This reply has been marked as private.
    #101257

    janosch
    Participant
    Post count: 12

    Hi lynnemiller,

    I’m interested in the answer as well. Is there a chance to read it?

    Thanks
    Jan

    #117517

    sportydave
    Member
    Post count: 24

    Bump! I would like to have 3 or 4 posts of my choosing appear as an excerpt with a thumbnail at the bottom of my static home page. Why is this proving so hard!

    Using Epik theme.


    Kind Regards,
    David Trounce

    #117544

    janosch
    Participant
    Post count: 12

    Hi David,
    still searching for the answer how to get the featured posts on a static page (e.g. home, archive page):

    http://peerewju.de/

    If you have an answer, tell me. I will keep you updated as well.

    Cheers
    Jan

    #117559

    sportydave
    Member
    Post count: 24

    Jan,

    Thanks. i do not have a satisfactory answer as yet. It seems that some themes (mine is Epik) disable home page widgets for static pages. This seems odd to me. The alternative is post pages (blogs), which already have posts on them.

    For the moment I have had to return to an old favourite plugin – Simon Hibbard’s Post for Pages. Always works. However, Genesis should be easily able to accomodate the same thing. Simon has not updaed his plugin for 2 years and it still workds flawlessly.

    I would love a plugin-free solution that doesn’t involve a mountain of recoding.

    Keep me posted.


    Kind Regards,
    David Trounce

    #118155

    janosch
    Participant
    Post count: 12

    This plugin you mentioned sounds interesting – not excactly what I need, but nice. There is so much great stuff out there…

    But unfortunately haven’t found a solution how to get the featured pages on the static home and archive pages :(

    #118163

    genwrock
    Member
    Post count: 673

    @janosch & @sportydave Please create new post based on your problem. This thread is for @aariade.


    See My PRO Genesis Child Themes | Customizing & Creating Genesis Website | Follow Me on Twitter

    #118164

    genwrock
    Member
    Post count: 673

    @aariade Add the following code in your functions.php file.

    Step 1: I am creating a widget area for your static home page.

    genesis_register_sidebar( array(
    	'id'          => 'home-top',
    	'name'        => __( 'Home Top', 'streamline' ),
    	'description' => __( 'This is the home top section.', 'streamline' ),
    ) );

    Step 2: calling the ‘genesis_before_content_sidebar_wrap’ hook and adding the Home Top widget at your static Home Page.

    add_action( 'genesis_before_content_sidebar_wrap', 'streamline_static_homepage_widgets' );
    function streamline_static_homepage_widgets(){
        if ( is_active_sidebar( 'home-top' ) && is_front_page() ) {
            echo '<div class="home-featured home-top">';
    	
    		genesis_widget_area( 'home-top', array(
    			'before' => '<div class="home-top-wdgt widget-area">',
    			'after'  => '</div>',
    		) );
    
           echo '</div><!-- end #home-featured -->';	
        }
    }

    Now login to dashboard and go to your widget page . Drag & Drop your Featured Posts and Newsletter banner widget in Home Top Widget Area.


    See My PRO Genesis Child Themes | Customizing & Creating Genesis Website | Follow Me on Twitter

    #118170

    sportydave
    Member
    Post count: 24

    Aariade’s post is a year old. Chances are he solved his issue. Rather than start a new thread, it seems good to me to have contributed to this once. As it happens, ihave also started my own thread on the same issue. But, perhaps like @aariade i shall be waiting 12 months for a reply.

    Never-the-less, great forum and good to see genuine support happening in the threads.


    Kind Regards,
    David Trounce

    • This reply was modified 2 months, 1 week ago by  sportydave.
    • This reply was modified 2 months, 1 week ago by  sportydave.
    #118177

    genwrock
    Member
    Post count: 673

    @sportydave Ahh….I did not check the post date. @janosch posted a comment today and this thread is showing at top now. I think that If you create your own thread then you don’t need to wait for 1 year. All GF members are very friendly and they are contributing their knowledge here.


    See My PRO Genesis Child Themes | Customizing & Creating Genesis Website | Follow Me on Twitter

    • This reply was modified 2 months, 1 week ago by  genwrock.
    • This reply was modified 2 months, 1 week ago by  genwrock.
    #118179

    genwrock
    Member
    Post count: 673

    Hi Forum Moderator,

    Please mark this thread as “CLOSED” . This thread is very old.


    See My PRO Genesis Child Themes | Customizing & Creating Genesis Website | Follow Me on Twitter

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

The topic ‘How to get Featured Posts on static home page’ is closed to new replies.