Want Education Theme Widgets W/out Blog

Community Forums Forums General Discussion Want Education Theme Widgets W/out Blog

This topic is: not resolved

This topic contains 7 replies, has 3 voices, and was last updated by  braddalton 1 year, 9 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #20836

    mlapointe
    Participant

    I am using the Education Theme template.  I would like my front page to retain all of the widgets (header, slider, feature, etc) but don’t want the blog below (in other words, a static page).  How do I do this?

    I am an absolute newbie so please keep this in mind.  Thanks.

    #20853

    braddalton
    Participant
    Post count: 10667

    Remove the loop by adding this code to your home.php file after the <?php opening PHP tag.
    [php]
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    [/php]
    Backup the file first.

    Or you could make a custom home page template using the code from the default home.php file. http://designsbynickthegeek.com/tutorials/add-widgeted-sidebar


    #23212

    HankDG6978
    Participant
    Post count: 4

    Brad,

    I added:

    remove_action( 'genesis_loop', 'genesis_do_loop' );

    to my Minimum Theme looking for the same effect as above.  However, once I do that I’m missing something.  It’s still shows a blog post if there are any.

    What am I missing?

    Thanks

    Hank

    #23213

    braddalton
    Participant
    Post count: 10667

    Hank. Could you post a link to your site please.

    Try this code in your child themes style.css file:
    [css]
    .home .post,
    .navigation li a, .navigation li.disabled, .navigation li a:hover, .navigation li.active a {
    display: none;
    }
    [/css]


    #23215

    HankDG6978
    Participant
    Post count: 4

    Thanks Brad.

    I’ll try that now.

    http://www.cnsreboot.com

    Hank

     

    #23216

    HankDG6978
    Participant
    Post count: 4

    Brad,

    Does it matter where I add the code on the style.css sheet? Beginning, end, etc?

    Rookie :)

    Hank

    #23217

    braddalton
    Participant
    Post count: 10667

    The end of the file is best Hank.


    #23220

    braddalton
    Participant
    Post count: 10667

    If you’re using the Minimum theme, you could remove all posts from displaying on the home page using this CSS:
    [css]
    .home #inner {
    display: none;
    }
    [/css]


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

You must be logged in to reply to this topic.