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 […]
How to remove site tagline section from front page in Minimum Pro
In the comments section of Removing site tagline section from Pages in Minimum Pro tutorial, a user asked: Can you please provide the php code to remove the tagline from the home page only? Thank you Follow the steps below to remove the tagline section (only) on homepage in Minimum Pro. Step 1 In functions.php […]
How to change the number of columns in Home Featured section from 4 to 3 in Minimum Pro
A user asked: For the minimum pro theme, can you please explain how to change the home features 1, 2, 3 and 4 to only three and have them align evenly, similar to the footer section? Before: After: Step 1 In Minimum Pro’s functions.php comment out or delete To view the full content, please sign […]
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 set height of an element to Viewport height using jQuery in WordPress
A full height hero section on the front page is a common design element in many websites these days. In this article I share sample code for setting this up in WordPress. The code improves upon what’s there in certain themes by StudioPress like Digital Pro. Step 1 Create a file named say home.js in […]
Combining multiple queries in a single loop using array_merge in WordPress
In a recent Genesis customization I took up, the requirement was to display 1 latest Post and 5 Pages in Home Featured section instead of 6 latest Posts while implementing the Featured Posts Grid with Random Background Colors in Genesis tutorial. The Pages to be featured are those for which a custom field, “Featured on […]
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 […]
How to set custom links for featured images on a CPT archive page in Genesis
In Genesis Slack chat, a user asked: Anybody know of a filter where I can modify the URL of the featured images on a CPT archive page? I have a custom field called ‘item_url’ that I’d like to use for the link on the featured image This can be done by conditionally removing the standard […]
Recent Comments