This snippet is for Sidebar Sidebar Content Layout and will swap places of the wider and narrow sidebars. You may need to modify your child theme’s style.css in order to fit the swapped sidebars. For the default example child theme find #content-sidebar-wrap and change the width to 640px *Bonus Two snippets for the price of […]
Snippets
A Collection of Genesis code snippets
Reverse Genesis loop order
Remove Navigation Only On the Homepage
This snippet was requested by the “Suggest a Tutorial ” form in the right side of the site. If you have an idea for a tutorial or a snippet please suggest something.
Add a .wrap to #inner
Set default images for categories
Function Info: add_filter(), get_bloginfo(), genesis_get_image()
Change the favicon.ico Path
Function Info: add_filter(), site_url(), genesis_load_favicon() Function Info: genesis_favicon_url
Two Custom Loops: One For Sticky Posts and One Without
Genesis Homepage Teaser Boxes
Plug-in now available – Download: Genesis Post Teasers The code below will add a box under Genesis > Theme Settings to enable or disable teaser boxes and after how many posts do you wish to be displayed in full before the teaser boxes.
Remove "Purchase Themes" from the Genesis Menu
Remove “Purchase Themes” from the Genesis Menu
Remove the Genesis Menu
Force Genesis Child Theme Home Layout
The snippet below will force the homepage layout of your child theme. New Way Old Way * Note This code can be used to force the layout for pages, categories, archives and page templates. Just change is_home() to the conditonal you want. For use in a custom page template files just include it before genesis(): […]