Set a Sidebar to all posts of a Custom Post Type in Genesis

sidebar set custom post type

Simple Sidebars is a great plugin to use different sidebars on posts, pages, categories and tags in a Genesis theme. You can set a certain sidebar to appear on all posts of a specific custom post type (CPT). function themeprefix_remove_default_sidebar() { if ( get_post_type() == ‘listing’ ) { //set CPT here remove_action( ‘genesis_sidebar’, ‘ss_do_sidebar’ ); remove_action(…

Read More

Using MeanMenu Mobile with Genesis Theme

mean-menu genesis

This guide goes through using the lightweight jquery mobile menu meanmenu  in a Genesis Theme based on the Sample Theme.     Get the Assets Download the latest version of meanmenu from GitHub. Need to get two files in your child theme and also create a jquery initialise script. Move – jquery.meanmenu.min.js into your child theme js folder…

Read More

Custom Genesis Loop on Blog Archive Page

To customise the Genesis loop on the blog page only, the blog page can be conditionally selected,  the loop removed on that page only and a custom loop inserted. The blog page is selected with is_home, the genesis_do_loop is removed and a new loop wpb_change_home_loop is inserted. The core markup for the genesis_do_loop is found in the…

Read More