Tested in: Genesis 2.2.7 Genesis Sample 2.2.2 Scenario: Fresh install showing site title text in header: 1) You add the code for adding support for custom header in child theme’s functions.php: add_theme_support( ‘custom-header’ ); 2) Go to Appearance > Header and upload an image. 3) Let’s say you had a change of mind and decided […]
Free Content
How to add an inline mobile responsive menu in Genesis Sample
Updated on May 23, 2017 In this article, I share the steps to remove header right widget area reposition the primary navigation menu from below the header to inside header so that the site title is at left and nav menu is on the right set the hamburger menu icon to appear inline floated to […]
Threaded Comment Numbering in Genesis
In the members-only forum a user asked: I know that many bloggers like to do drawings for prizes and use a random number generator. Then they choose the winning number of the commenter for that blog post. My client has her comments numbered like that, but when I changed her blog to Dynamik Genesis, it […]
How to show breadcrumbs only on full width content pages in Genesis
Question: https://twitter.com/bpmore/status/704532829242134530 Answer: Just add the following in child theme’s functions.php:
How to change featured image location conditionally in Genesis based on Page’s layout
In Facebook’s Genesis group, a user asked: I have some three column (sidebar/content/sidebar-alt) and some two column (sidebar/content) pages. In the three column pages I’m putting the featured image at the top of the content-sidebar wrap, which places it over the content area and the secondary sidebar. In the two column pages, I want the […]
Using Flexbox for equal height columns in Digital Pro
In Genesis Facebook group, a user wrote: I am currently working on a site using Digital-Pro and I was wondering how I can implement some CSS in order to make sure the text widgets have the same height regardless of the text? In the theme Demo, the Front Page 3 Widget Area: all the text […]
How to truncate alt text for featured images on content archives in Genesis
In Genesis Facebook group a user asked: I have very long post titles and when I did an accessibility test, there were warnings that the alt tags were too long. So I used the genesis_get_image filter and re-created the image. Is there a better way? I tried the standard WP ‘post_thumbnail_html’ but that only worked […]
How to display Social Warfare sharing buttons when content limit is set in Genesis
In the members-only forum a user asked: Does anyone know how to manually add social sharing icons to the blog index and category pages? I am using a plugin called โSocial Warfare,โ which allows for manual placement, but I donโt know where to hook it in. It shows just fine on pages and posts, but […]
Useful functions for checking Pages and their sub Pages in WordPress
To check a Page by ID for that Page or its direct descendants (sub/child pages) Usage: if ( is_tree( 645 ) ) {} or to check by ID or slug or title: Usage: if ( is_child( 645 ) ) {} or if ( is_child( ‘Services’ ) ) {} or if ( is_child( ‘our-services’ ) ) […]
Displaying a fixed number of posts in WordPress without Pagination
Scenario: Settings > Reading set to show 10 (or whatever number, doesn’t matter) latest blog posts (WordPress default). And you want to display just 3 Posts without links to next sets of paginated pages. So let’s just add this in functions.php: Simple, right? Apparently, that is not sufficient. When you reload your Posts page (the […]
Recent Comments