Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to get Featured Posts on static home page
Tagged: featured posts, Newsletter banner, static homepage
- This topic has 11 replies, 5 voices, and was last updated 10 years, 6 months ago by
Genesis Developer.
-
AuthorPosts
-
April 29, 2013 at 1:59 pm #38457
aariade
MemberI 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.comApril 30, 2013 at 9:44 am #38569lynnemiller
MemberThis reply has been marked as private.April 19, 2014 at 3:35 am #101257janosch
MemberHi lynnemiller,
I'm interested in the answer as well. Is there a chance to read it?
Thanks
JanAugust 6, 2014 at 11:25 pm #117517sportydave
ParticipantBump! 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 TrounceAugust 7, 2014 at 5:27 am #117544janosch
MemberHi 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
JanAugust 7, 2014 at 7:29 am #117559sportydave
ParticipantJan,
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 TrounceAugust 11, 2014 at 1:42 am #118155janosch
MemberThis 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 🙁
August 11, 2014 at 6:17 am #118163Genesis Developer
Member@janosch & @sportydave Please create new post based on your problem. This thread is for @aariade.
August 11, 2014 at 6:29 am #118164Genesis Developer
Member@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.
August 11, 2014 at 6:50 am #118170sportydave
ParticipantAariade'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 TrounceAugust 11, 2014 at 7:07 am #118177Genesis Developer
Member@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.
August 11, 2014 at 7:10 am #118179Genesis Developer
MemberHi Forum Moderator,
Please mark this thread as "CLOSED" . This thread is very old.
-
AuthorPosts
- The topic ‘How to get Featured Posts on static home page’ is closed to new replies.