Community Forums › Forums › Archived Forums › Design Tips and Tricks › Remove Posts from Homepage in Education Child Theme
Tagged: education theme
- This topic has 12 replies, 6 voices, and was last updated 12 years, 9 months ago by
dhuse.
-
AuthorPosts
-
November 25, 2012 at 6:11 pm #1643
SethResler
ParticipantHi! I'm using the Education Theme and I'd like to remove the posts from the bottom of the homepage entirely. I'd like the homepage to go from the Call to Action section to the Footer. Thanks!
November 25, 2012 at 6:27 pm #1644SoZo
MemberAdd this to home.php
remove_action( 'genesis_loop', 'genesis_do_loop' );
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
November 25, 2012 at 7:05 pm #1658SethResler
ParticipantThis works, but the primary sidebar still shows up. How do I remove that from just the homepage? Thanks!
November 25, 2012 at 7:06 pm #1659SoZo
MemberNovember 25, 2012 at 7:39 pm #1661SethResler
ParticipantScroll to the bottom and you'll see the "Event Schedule" which is from the primary sidebar.
November 25, 2012 at 7:48 pm #1663SoZo
MemberAdd this to your style sheet
.home #content,
.home .sidebar {
display: none;
}
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
November 25, 2012 at 9:22 pm #1669SethResler
ParticipantWe're close! That eliminated the primary sidebar, but it also eliminated the secondary sidebar, which I do want to display on the homepage. I only want to get rid of the primary sidebar.
November 25, 2012 at 9:28 pm #1670SoZo
MemberOkay, in that case use #sidebar in place of .sidebar
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
November 25, 2012 at 11:30 pm #1694SethResler
ParticipantPerfect, thanks for your help!
November 26, 2012 at 11:17 am #1725ecillin
MemberHi SoZo, where in the home.php does the
remove_action( 'genesis_loop', 'genesis_do_loop' );code go??November 27, 2012 at 8:53 am #1837Michael
MemberGreetings- I am also using this Child Theme and basically trying to do the same thing you did Seth with SUCCESS thanks to this post. Thank you Sozo for your expert help!
I have a tip for you Seth if I may be so bold. If you want the orange banner in the "call to action" widget to better match your red color scheme, take the following files into photoshop and adjust their color to more closely coordinate with the reds in your site design-
banner-texture.png
banner-right.png
banner-left.pngThen upload them back into the same directory and overwrite the current files, replacing them with the newly re-colored files.
To me, the orange clashes with the red, but I admit it's a very subjective thing. You may like the look with the orange, in which case, please ignore my tip!
December 4, 2012 at 8:44 am #3255WebMC
MemberHi I also wanted to remove the posts from the bottom of the home page and followed instructions above. However it removed the images from my featured widget section (where it brings in the featured images for the four featured pages) is there any way to bring them back?
May 3, 2013 at 2:30 pm #39168dhuse
MemberWhen I add
remove_action( 'genesis_loop', 'genesis_do_loop' );
It removes the posts but I have a blank empty white section at the bottom of the page. Is there any way to remove it?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.