Education Theme Help

Community Forums Forums General Discussion Education Theme Help

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  avhslibrary 2 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #4331


    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

    • This topic was modified 2 years, 11 months ago by  jbuxton61.
    • This topic was modified 2 years, 11 months ago by  jbuxton61.



    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 Sundberg |
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)



    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.


    Any ideas?

    Thank you,






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

You must be logged in to reply to this topic.