New Search

If you are not happy with the results below please do another search

Archive for category: Genesis


How to Add an Additional Wrap on Genesis Child Theme

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 – Footer

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’, […]


Customizing Genesis Footer Content

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 […]


Display Google Adsense after first post

If you are using Genesis Theme Framework and would like to display Google Adsense or any advertisement code after the first post on the homepage, archives, and search results page, add the code below to the child theme’s functions.php file. add_action(‘genesis_after_post’, ‘aycchildthemes_ad_after_first_post’); function aycchildthemes_ad_after_first_post() { global $loop_counter; if (!is_singular() && $loop_counter == 0) { ?> […]


Page specific sidebar content in Genesis framework wordpress

This is a simple task if you use the built in is_page() conditional tag in WordPress and use one of the Genesis structural action hooks. We’ll be using the genesis_before_sidebar_widget_area action hook in this example. <?php // Add additional sidebar content to the book page add_action(‘genesis_before_sidebar_widget_area’, ‘child_genesis_sidebar’); function child_genesis_sidebar() { if ( is_page(‘__SPECIFIC-PAGE-ID-OR-TITLE__’)) { ?> […]


Quick Tips of Genesis Framework

There’s a lot of small code snippets I use often. This is where I’ll collect them. If you have any quick tips, feel free to share in the comments. Force a page layout This is very useful for ensuring custom pages you build for a client aren’t broken by them changing the page layout (ex: […]