• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Eliminating Featured Post on Homepage of Education Theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Eliminating Featured Post on Homepage of Education Theme

This topic is: not resolved

Tagged: blog post, education theme, homepage

  • This topic has 17 replies, 5 voices, and was last updated 10 years, 5 months ago by Mak-Donuts.
Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • March 5, 2013 at 11:10 am #24326
    imhelpline
    Member

    Hi,

    I am currently working on a new website prototype on http://www.petrydemo10.com using the Education theme.  How can I eliminate the featured post titled "SwedishAmerican and Rosecrance Health Network partner to improve mental health continum in region" on the homepage.

    The client does not want anything featured in that area, and simply wants the Why Aspen text area to be right on top of the footer widgets.

    Thanks for your help!

    John

     

    March 5, 2013 at 1:06 pm #24352
    weslinda
    Member

    I don't know if this is perfectly what you wanted, but we did this.  We added the following code to our functions.php file.

    /** Remove News Items & Sidebar on Home Page **/
    add_action( 'get_header', 'home_edit' );
    function home_edit() {
    if ( is_home() ) {
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    remove_action( 'genesis_sidebar', 'genesis_do_sidebar' );
    }
    }


    Loving the Genesis Life!

    March 5, 2013 at 1:27 pm #24359
    imhelpline
    Member

    Hey Wes,

    I appreciate the help!  However, I added that code to the functions file and the post is still showing on the homepage.

    Please let me know what else we could try.

    Thanks,

    John

    March 5, 2013 at 2:16 pm #24379
    weslinda
    Member

    Sorry about that.  Give this a try.  I'm going to compare my home.php file to the original one and get back to you on that as well.

    /** Remove News Items & Sidebar on Home Page **/

    add_action( ‘genesis_setup’, ‘home_edit’ );
    function home_edit() {
    if ( is_front_page() ) {
    remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
    remove_action( ‘genesis_sidebar’, ‘genesis_do_sidebar’ );
    }
    }


    Loving the Genesis Life!

    March 5, 2013 at 2:19 pm #24381
    imhelpline
    Member

    Hey Wes,

    I appreciate your assistance with this question....

    I tried the new code, and that post is still showing.  We can get rid of both the post and that sidebar showing on petrydemo10.com.

    I will standby.

    Thanks!

    John

     

    March 5, 2013 at 2:51 pm #24392
    weslinda
    Member

    Okay, so I have no idea why it isn't working.  It should work, but isn't, but there is a CSS hack that can be done as an interim.  It'll at least hide the information for your visitors.

    .home #content, .home #sidebar {display:none;}


    Loving the Genesis Life!

    March 5, 2013 at 3:12 pm #24399
    imhelpline
    Member

    That worked!!  Thank you very much!!

    John

    March 5, 2013 at 3:45 pm #24413
    weslinda
    Member

    Technically, the content is still on the page, all we're doing is hiding it. But it reaches your current goal.  Glad it worked.


    Loving the Genesis Life!

    March 5, 2013 at 3:53 pm #24417
    imhelpline
    Member

    gotcha!  Thanks!

    As long as they don't see it lol

    March 6, 2013 at 4:46 pm #24641
    Sumu
    Member

    Hi weslinda,

    maybe you can answer a similar question here?

    I wonder how to remove the posts on the homepage #content bottom and display a page content of my choice..

     

    Thanks

    Su

    March 14, 2013 at 12:34 pm #26259
    Baba
    Member

    Weslinda, I'm trying to accomplish something similar.  I understand that I have to have a post or a page set up with an image attached for the Slider to work.  But I don't want the image to show up at the bottom of the Home page along with the post/page content.  I'd really just like to have the slider do nothing but show images and have the content area above the footer show posts/pages of my choice.  Is this possible or should I go hunting for another theme?

    Thanks!!

    March 14, 2013 at 1:03 pm #26290
    weslinda
    Member

    Hey Sumu, apologies.  I somehow missed your note.  You would need to have someone redo the homepage template.  They can swap out the list of articles for your content.  Pretty straight forward.  Any developer should be able to do it.


    Loving the Genesis Life!

    March 14, 2013 at 1:05 pm #26294
    weslinda
    Member

    Baba, the easiest way to achieve this is by using a different slider plugin, one that will allow you to show just images that you've chosen. The best I've found for that is Soliloquy.  There is a lite version in the WordPress repository (http://wordpress.org/extend/plugins/soliloquy-lite/), the full fledged versions offers some great additional features (http://www.soliloquywp.com).


    Loving the Genesis Life!

    March 14, 2013 at 1:12 pm #26304
    Baba
    Member

    Weslinda, so what would happen to the content area above the Footer after I install Soliloquy?  Would I need to have the homepage template redone as you suggested to Sumu in order to insert pages/posts of my choice?

    Thanks for the quick response!

    March 14, 2013 at 2:56 pm #26552
    weslinda
    Member

    Baba, soliloquy is a widget you can drop into a slider area.  Won't affect the rest of the homepage at all.  Apologies that I missed the part of your post about the content.  If you want something other than the default list of content, then some editing of the home page template would be required to get the output you'd like.

    Not specific to the education theme, but here is a tutorial on custom homepages for Genesis.  There are a number of good tutorials out on the subject as well if you search Google.

    http://studiopress.tv/custom-home-pages/

    Finally, if it's over your head, there are a number of genesis devs out there that can assist with your specific needs.


    Loving the Genesis Life!

    March 14, 2013 at 3:02 pm #26561
    Baba
    Member

    Weslinda, Thanks for being patient, professional and a good source of support!  I'll give all of this a try.  Wish me luck.

    April 1, 2013 at 2:41 pm #32509
    Mak-Donuts
    Participant

    Instead of eliminating the blog post, how would I just display 1 (the latest) on the homepage only?

    You might suggest I go to settings and change the number but that is a universal change.  How can I just have one blog post appear on the homepage?

    Any insights would be appreciated.

    MD

    April 1, 2013 at 2:42 pm #32510
    Mak-Donuts
    Participant

    Hi All,

    How can I just have one blog post appear on the homepage?  You might suggest to go to settings and change the number but that's a universal change?

    I would like to keep my archive listings to 5 but I just want my homepage to display the latest ONE.

    Any insights would be appreciated.

  • Author
    Posts
Viewing 18 posts - 1 through 18 (of 18 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble