Kembel Code Samples for Wordpress and Genesis


Want to take a stab at your own site? Learning how to build WordPress websites properly? We are here to help. Check out some of our tutorial content and code snippets to do everything you need to do in WordPress using the Genesis Framework.

Don't forget to check out the WordPress Codex

By default, depending on your theme, custom post types will still use the classic post editor in WordPress. If you are wanting to force blocks (the gutenberg editor) on your custom post type, it is actually SUPER easy. There are plugins that will do this for you, but if you are like me, and like […]

Change credentials   //* Change the footer text add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter'); function sp_footer_creds_filter( $creds ) { $creds = ' &middot; <a href="http://mydomain.com">My Custom Link</a> &middot; Built on the <a href="http://www.studiopress.com/themes/genesis" title="Genesis Framework">Genesis Framework</a>'; return $creds; }  

//* Create SERVICE TYPE custom taxonomy add_action( 'init', 'kembel_servicestype_taxonomy' ); function kembel_servicestype_taxonomy() { register_taxonomy( 'services', 'service', array( 'labels' => array( 'name' => _x( 'Services Type', 'taxonomy general name', 'kembel' ), 'add_new_item' => __( 'Add New Services Type', 'kembel' ), 'new_item_name' => __( 'New Services Type', 'kembel' ), ), 'exclude_from_search' => false, 'has_archive' => true, 'hierarchical' […]

Custom Post Types are by far the simplest way to quickly organize and expand WordPress. This is especially true when you are trying to create a content management system (CMS) for a customer.There isn’t a single website that I have created that I haven’t created a custom post type to help organize the back end. […]