Eliminating Featured Post on Homepage of Education Theme

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

This topic is: not resolved

This topic contains 17 replies, has 5 voices, and was last updated by  Mak-Donuts 1 year, 4 months ago.

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #24326

    imhelpline
    Participant
    Post count: 4

    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

     

    #24352

    weslinda
    Participant
    Post count: 193

    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!

    #24359

    imhelpline
    Participant
    Post count: 4

    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

    #24379

    weslinda
    Participant
    Post count: 193

    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!

    #24381

    imhelpline
    Participant
    Post count: 4

    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

     

    #24392

    weslinda
    Participant
    Post count: 193

    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!

    #24399

    imhelpline
    Participant
    Post count: 4

    That worked!!  Thank you very much!!

    John

    #24413

    weslinda
    Participant
    Post count: 193

    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!

    #24417

    imhelpline
    Participant
    Post count: 4

    gotcha!  Thanks!

    As long as they don’t see it lol

    #24641

    Sumu
    Participant
    Post count: 39

    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

    #26259

    Baba
    Participant
    Post count: 32

    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!!

    #26290

    weslinda
    Participant
    Post count: 193

    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!

    #26294

    weslinda
    Participant
    Post count: 193

    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!

    #26304

    Baba
    Participant
    Post count: 32

    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!

    #26552

    weslinda
    Participant
    Post count: 193

    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!

Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.