The widget area titles ( NOT the individual widgets you drag into the widget areas ) in Genesis are wrapped in h4 tags by default however you can change them. There’s several ways to do this using filter hooks already included in the default genesis function which wrap the widget titles in h4 tags. Note […]
Category: Genesis Tutorials
Change the Genesis Author Box Title
Posted on — Leave a commentTo change the Genesis Framework author box title, you can use a filter: /** Modify the author box title */ add_filter(‘genesis_author_box_title’, ‘graceful_author_box_title’); function graceful_author_box_title($title) { $title = sprintf( ‘<strong>%s %s</strong>’, __(‘Crazy’, ‘genesis’), get_the_author_meta(‘user_firstname’) ); return $title; } /** Modify the author box title */ add_filter(‘genesis_author_box_title’, ‘graceful_author_box_title’); function graceful_author_box_title($title) { $title = sprintf( ‘<strong>%s</strong>’, get_the_author_meta(‘user_firstname’) ); return $title; […]
Using Template Parts with Genesis
Posted on — Leave a commentWhat makes Genesis so powerful are the actions and filters that allow you to customize every aspect of the framework. Some of the actions are related to the Genesis loop. These control how posts are displayed, both on archive pages and as singular content. Sridhar has a nice introduction to the Genesis loop actions. You can use template tags to […]
How to set up a Sticky widget in Genesis
Posted on — Leave a commentDid you know that it is possible to make any element sticky or fixed as it is scrolled to and have it “bottom out” so it never leaves its container (no more worrying about accidentally covering the footer) using CSS alone? Thanks to Tim Jensen, today I learned about position: sticky which is quite powerful and easy. […]
How to Remove Comma (,) Between Categories and Tags In Genesis WordPress?
Posted on — Leave a commentGenesis is my favorite WordPress Theme Framework. On Crunchify, we have published more than 100 tricks and tips on customizing Genesis Child theme. In this tutorial we will go over how to customize and remove Comma between Categories and Tags for your Genesis WordPress theme. Take a look at below Categories and Tags on Crunchify site. First thing first. Here is […]
How to target only the front page (not subsequent paginated pages) in theme/plugin?
Posted on — Leave a commentI’d like to switch on the front page ONLY. Not subsequent paginated pages (like ?paged=2). I want to output certain output only on the “true” front page of the site. I’ve tried: <?php if (is_front_page() && get_query_var(‘paged’, 1) == 1 || 0): ?> but this only works if the paged variable is present (ex: domain.com?paged=1). You have a […]