Today I worked on a few customizations in https://crew212.com/ and one of the tasks was to remove the hyperlink for the logo in the site header on the front page but keep it intact (linking to the homepage) on all other inner pages. The site was using the default custom header feature of WordPress for […]
How to change product image thumbnail size on Easy Digital Downloads checkout page
By default product thumbnails on EDD checkout page appear very tiny (25 x 25). Here’s the code snippet to set a custom image size for the same: add_filter( ‘edd_checkout_image_size’, ‘filter_edd_checkout_image_size’, 10, 1 ); /** * Change product image thumbnail size on Easy Digital Downloads checkout page. * * @param array $array default image size (25 […]
Functionality Themes
There are many common design patterns in websites like a hero image section, video background hero section, featured image as background for header and title/post info on posts ala Showcase Pro, sticky nav on scroll.. I have several tutorials on setting these up (using the Genesis framework) in the site already but I think there […]
How to make featured images clickable in Generate Pro
Generate Pro has code to add featured image above the content (when featured image is set to be shown in content archives in Genesis settings) but it’s not set to link to post’s permalinks. If you’d like the featured images for entries in content archives to be clickable, simply edit the child theme’s functions.php and […]
WP Simple Custom Login plugin
When it comes to branding clients’ sites, 90% of the times all that needs to be done on the WordPress login page is changing the logo changing the logo link to site’s homepage setting a body cover image I’ve put together a basic plugin for the above called WP Simple Custom Login plugin. Visit the plugin’s page on […]
How to remove dark overlay on hero images in Showcase Pro
Looking to get rid of the dark overlay on hero images (appearing, for example, on static Pages with featured images) in Showcase Pro? Before: After: Simply locate .bg-primary:after, .bg-light-gray:after { content: ” “; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; } .bg-primary:after { background: #1a1a1a; } in Showcase […]
Primary Nav and Header Right below Logo in Genesis
In the members-only forum, a user asked: I’ve used your tutorial on replacing the default genesis logo with the one from WP customizer, I’m curious what the best way to move it above the nav and header-right widget area. We can use genesis_markup_title-area_close filter hook to add a custom div’s opening tag plus primary navigation […]
How to insert HTML between Title Area and Header Widget Area in Genesis
If you are looking to inject custom HTML markup, say a div in between .title-area and .header-widget-area in Genesis it can be done using the genesis_markup_<context-name>_<open/close> dynamic filter hook. In a function hooked to genesis_markup_title-area_close filter, we can check for a closing tag of .title-area, append our custom HTML markup to it and return the […]
How to remove Dates from Posts in Genesis
Looking to get rid of dates from appearing in the post info text in your Genesis site? Add the following in child theme’s functions.php: add_filter( ‘genesis_post_info’, ‘sp_post_info_filter’ ); /** * Customize entry meta in the entry header. * * @param string $post_info Existing post info * @return Modified post info */ function sp_post_info_filter( $post_info ) […]
Utility Bar in Showcase Pro
This tutorial provides the steps to add a utility bar having two (left and right) widget areas above the fixed header in Showcase Pro. Screencast: Tested in Showcase Pro version 2.0.2 Step 1 Edit functions.php. a) Inside showcase_theme_setup(), below // Add previous and next post links after entry add_action( ‘genesis_entry_footer’, ‘genesis_prev_next_post_nav’ ); add To view […]
Recent Comments