web-design

For a clients website I need to remove post info for multiple categories. So, here is the code I use to remove genesis_post_info from multiple categories. Add above code to the bottom of your child theme’s functions.php file.

custom_content

For a client’s blog website I need to add a para automatically after each single post, found a snippet from Jeff Starr using a WordPress hook. Here’s how to do. add_filter('the_content', 'add_post_content') function add_post_content($content) { if(!is_single()) { $content .= '<p>YOUR CONTENT GOES HERE'</p>'; } return $content; } If you enjoyed and find helpful this article, please consider […]

Genesis-framework-design-tips

So, since Genesis 1.6, and probably my favorite part of Genesis 1.6 is the theme support of genesis-structural-wraps. So now you can easily add wraps to the header, nav, subnav, inner, footer-widgets, and footer. If you’ve ever looked at the Visual Markup Guide for the Genesis Framework, you may have noticed that all of the main sections contain a […]

Genesis-framework-design-tips

Sometimes I need to get footer outside of wrap. I tried to find out how can i do that in genesis child theme. This code I got first from Marco who got it from Daisy Olsen. // Reposition the footer remove_action(‘genesis_footer’, ‘genesis_footer_markup_open’, 5); remove_action(‘genesis_footer’, ‘genesis_do_footer’); remove_action(‘genesis_footer’, ‘genesis_footer_markup_close’, 15); add_action(‘genesis_after’, ‘genesis_footer_markup_open’, 5); add_action(‘genesis_after’, ‘genesis_do_footer’); add_action(‘genesis_after’, ‘genesis_footer_markup_close’, […]

Genesis-framework-design-tips

Sometimes need to change the Genesis‘s default content on demand of client to show clients requirement (i.e. footer logo, remove back to top, credential change, add footer link).  NOTE: When writing your own code/filters, use a child theme. Do not write to the default functions.php file in Genesis. It will overwrite on updates. See below for codes […]