In the comments section of Full Screen Soliloquy Slider with Transparent Floating Header in Centric Pro a user asked: I’ve tried this with Dynamik and my menu is sitting below the slider and can’t seem to position it correctly. Any chance you could do a version of this for Dynamik? In this article I detail […]
WordPress
How to add Page slug as a body class for static Pages in WordPress
A common method to target elements of a particular static Page is by its ID like this: .page-id-2 Wouldn’t it be handy if you could instead use the slug of the Page like this? .page-about Adding the following in child theme’s functions.php will automatically add a page-slug class to the body element for all static […]
Featured Pages with Excerpts sliding up on Hover in Genesis
In this article we shall write a custom loop and query in Genesis to display 7 featured static Pages after header on front page in Genesis. Pages are going to be set as featured by ticking a checkbox, a custom field added via ACF. Three Pages will be shown in the top row and four […]
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 […]
Displaying a grid of Pages’ images (custom field value) in Genesis using Flexible Posts Widget
In the members-only forum a user asked: Hello Sridhar, What I would like your help with is how to create a 4×2 grid of images that look and act similar to: Genesis Sandbox Featured Content Page Widgets Grid with Title and Excerpt on Hover To keep from original tutorial: 1) 4×2 Desktop grid layout with […]
Taxonomy term links grouped by alphabets in WordPress
In the members-only forum, a user asked: Hello! I’m wondering if you could create a tutorial with an archive type page template where the tags are displayed in alphabetical order, separated by letter. Similar to this recipe index (scroll below the main recipe categories). I can get the page template to display the tags 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 […]
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’ ) ) […]
How to add a Continue Shopping button next to View Cart button in WooCommerce
Want to add a Continue Shopping button next to View Cart button after a product has been added to cart in WooCommerce? Follow along to see how wc_add_to_cart_message filter hook can be used for making this customization. We shall link the Continue Shopping button to the shop page. Before: After: Step 1 Add the following […]
Recent Comments