WordPress includes the ability to crop images or thumbnails right from the media library, which is a very nice feature. But if you’re using a theme that has featured images or custom image sizes, you’re going to need this great plugin I just found. Many of the genesis child themes use these custom image sizes…
Read More
Genesis – Move Comment Box to the Top
I’m not sure why this isn’t the standard, but here is the code. Just add it to your functions.php file. add_action( ‘genesis_before_comments’ , ‘wps_post_type_check’ ); function wps_post_type_check () { if ( is_single() ) { if ( have_comments() ) { remove_action( ‘genesis_comment_form’, ‘genesis_do_comment_form’ ); add_action( ‘genesis_list_comments’, ‘genesis_do_comment_form’ , 5 ); } } } Thanks to wpsmith.netfor…
Read More
Don’t Strip HTML from Excerpts or Content Limit Teasers
I hate it when WordPress strips out all my html in my excerpts. I know there’s a reason for it, but I put that HTML there because I need it. Here are my solutions: For Genesis add this code to your functions.php file- add_filter(‘get_the_content_limit_allowedtags’, ‘childtheme_custom_allowedtags’); function childtheme_custom_allowedtags() { return ‘<script>,<style>,<b>,<br>,<em>’; //add whatever tags you want…
Read More
Add a Navigation Footer to Genesis Themes
by Laura Hartwig Having a navigation bar at the bottom of your site is very helpful for helping people navigate your site, but most Genesis themes don’t come with an option to add them in. Here’s how to do it. Just add this in the theme functions.com: /*——Footer Area——-*/ remove_action(“genesis_after_header”,”genesis_do_subnav”); function footer_nav() { echo “…
Read More
Add Read More Tag After Excerpt
I’m not sure why Genesis even uses the “[…]” for read more. Does anyone know what that means? Anyway, here is the fix. Add this to functions.php file. The “read-more” class allows you to create a button with CSS. //* Add read more tag after excerpts function excerpt_read_more_link($output) { global $post; return $output . ‘…
Read More
Linking Widget Titles in Genesis
Don’t fill out the title in the widget. Instead use <h2 class=”widgettitle”>Widget Title Here</h2> around the tile in the text area. You might have to change the css if the link changes the title color.
Code Snippets (Genesis)
Excellent source for code snippets http://gregrickaby.com/genesis-code-snippets/