• 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

Education Theme Help

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 › Education Theme Help

This topic is: not resolved

Tagged: Education Child

  • This topic has 2 replies, 3 voices, and was last updated 12 years, 6 months ago by avhslibrary.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 10, 2012 at 6:18 pm #4331
    jbuxton61
    Member

    I need to remove 2 items from the Education template and I cannot find anything in the forum and I cannot seem to login to the old forum.

    1. I need to eliminate the Primary Sidebar on the homepage & several internal pages

    2. I need to bypass the WordPress loop and not display any posts on the homepage.

    I have created custom pages on Studiopress sites before. The link below is the dev server.

    Many thanks
    -Jeff

    December 10, 2012 at 8:52 pm #4359
    John
    Participant

    Jeff,

    You can add this code to your home.php file to remove the Loop and the sidebar from your home page:

    remove_action( 'genesis_loop', 'genesis_do_loop' );
    remove_action( 'genesis_sidebar', 'genesis_do_sidebar' );

    Then you could do something similar to remove the sidebar on the other page templates, or work up a function with a conditional in your functions.php file and specify which pages it runs on.

    John

     


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉

    December 11, 2012 at 11:56 am #4531
    avhslibrary
    Member

    Hi, John--

    I used something similar to what you did to remove the sidebar:

    remove_action( 'genesis_after_content', 'genesis_get_sidebar' );

    I added it to home.php and functions.php. And it worked in making the sidebar disappear from the home, but on the other pages it has disappeared but the blank space still seems to be taken up with an "invisible" sidebar.

    EG: http://www.amadorvalleyhs.org/student-life/athletics

    Any ideas?

    Thank you,

     

    Erik

     

     

     

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 2025 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