Looking to modify the entry meta or post info in the entry header in your Genesis site but only on specific single posts? We can do this by wrapping the code inside a if condition that checks for IDs of selected posts in the function that is hooked to genesis_post_info. Adding the following sample code […]
Search Results for: shortcodes
Conditional Redirects to Password Protected Pages using Gravity Forms
In a recent customization task, a user asked: Create PHP code for a simple client portal that uses a unique password to redirect a client to a single password protected page. For example:password1 —> client1 password protected pagepassword2 —> client2 password protected pagepassword3 —> client3 password protected page This would be placed at the bottom […]
Shape Dividers in Genesis
This article provides the steps to display SVG section dividers taken from Elementor and implementing them in Genesis. Mountains: Tilt: Triangle: Waves: We shall create and add custom shortcodes like [section-tilt] in a widget of a widget area to set up the divider at the bottom of that section. In this example, we are going […]
How to reposition Jetpack Related Posts and Social Warfare buttons in Genesis
Jetpack’s Related Posts and Social Warfare‘s social buttons, by default, attach themselves to the content and appear like this on single posts: Looking to move them below the content (and comments – if enabled) inside a new div on single posts in Genesis like this? Step 1 Add the following in child theme’s functions.php: add_filter( […]
How to display WooCommerce products on Outfitter Pro’s homepage in columns
Front Page 2 section of Outfitter Pro’s homepage shows featured products in a masonry grid layout out of the box. This tutorial provides the steps to disable the masonry and display the products in a normal/traditional layout i.e., in 2 rows of 4 columns each. Step 1 In front-page.php change // Defines the front-page styles […]
How to customize entry meta to add gravatar and more in Minimum Pro
A user wrote: I’m looking for a post that might help me add the author’s gravatar to the post in Minimum Pro. I was after something like the Twenty Sixteen theme: https://en-gb.wordpress.org/themes/twentysixteen/ In this tutorial, we shall remove post info customize entry meta in the entry footer to show post author’s gravatar image, author’s name […]
How to replace post date with a custom date in Genesis
In the Genesis Facebook group a user asked: I am using Magazine Pro with a number of custom fields created via ACF. I have set up the home page using the Genesis Featured Posts widget in a number of places. In one of the widget areas, I would like to remove the default post date […]
Reply To: More topic dealing with Woocommerce
One of the most frequent client requests is a custom shop page. I understand that I need to copy archive-product.php into my theme files. I would like to edit the template so that just shows the content of the page I have added in the editor. Ie doesn’t do the loop of products. I can […]
Reply To: Conditional Sidebar for shop pages (WP Shopify plugin)
Hi Sridhar, Thanks for getting back to me… I am trying to get individual product pages + the products listing page both to include a sidebar. What I did was create a Shopify Page Template (shopify-template.php), and then use the plugin’s shortcodes to create the shop and collections pages (changing the layout on a page […]
Default Footer in Genesis
Footer content in Genesis, out of the box will appear like this: If you’d like to modify it, add this in child theme’s functions.php: add_filter( ‘genesis_footer_creds_text’, ‘custom_footer_creds_filter’ ); /** * Change Footer text. * * @link https://my.studiopress.com/documentation/customization/shortcodes-reference/footer-shortcode-reference/ */ function custom_footer_creds_filter( $creds ) { $creds = ‘Copyright © 2024 · Genesis Sample on Genesis Framework · WordPress […]
Recent Comments