In Facebook Genesis group, a user asked: I’m using Cafe Pro and I want to remove the menu from my WooCommerce pages only. I’ve looked through the functions file to try and find where it’s hooked in, but I don’t see it. Can someone point me in the right direction, please? Primary nav menu (genesis_do_nav()) […]
Search Results for: genesis
How to display word count for posts in Genesis
Adding the following in child theme’s functions.php will display the word count in post info on single post pages in Genesis: add_shortcode( ‘word_count’, ‘func_word_count’ ); /** * Register custom [word_count] shortcode to display the number of words in a post. * * @return word count. */ function func_word_count() { $content = get_post_field( ‘post_content’, get_the_ID() ); […]
How to group entries by Month and Year on CPT archive in Genesis
In the members-only forum, a user asked: Is it possible to display a Custom Post Type archive page organised by Month with genesis ? as below – Jan post post post Feb post post March post post post etc , etc In this tutorial, we shall create a template for portfolio CPT’s archive page and […]
How to exclude Posts having a specific tag from Genesis Featured Posts
In GenesisWP Slack channel, a user asked: Using the inbuilt Genesis Featured Posts, is there a way to exclude a specific tag from the results? Wondering if there’s a way using pre_get_posts… So posts with a specific tag don’t show in genesis featured post widgets. This can be done using Custom Genesis Featured Posts Widget […]
Site Title – Image Logo in Genesis
In my tutorials requests Trello board, a user asked: Hi Sridhar, could you make a tut regarding how to have BOTH site site title AND logo side by side on header ? In this tutorial, I share a modification of the code from Theme Logo in Genesis article to display the site title and image […]
WooCommerce Shop Archive Image in Genesis using ACF Pro
In the comments section of How to overlay entry title on featured image in single Posts tutorial, a user asked: …Now I have the opposite problem on the main shop page of woocommerce: the effect doesn’t work, the image doesn’t appear and the title remains in standard place… This tutorial provides the steps to relocate […]
How to remove Scripts section from Pages of a specific Page Template in Genesis
In the comments section of The Comprehensive Guide to Genesis Theme Supports, a user asked: how can I remove the inpost scripts for a certain page template? Adding the following in child theme’s functions.php will make Scripts section to not appear for static Pages to which page_products.php template has been applied. add_action( ‘init’, ‘custom_remove_scripts’, 11 […]
How to set up URLs similar to StudioPress theme demos for third party Genesis theme demos
The problem I want to visit Showcase Pro theme’s demo site. In my browser (Chrome), I start typing demo and the browser history suggestion list shows me something like: I change the last part of the URL from infinity to showcase and hit return. The result is a page in Maintenance Mode (in this case) […]
How to replace class with an ID for Title Area in Genesis
In the members-only forum, a user asked: Hi All
> I’m a bit stuck on using attributes to alter markup. I’d like to replace the title-area css class with an ID of title-area and I’d rather not rewrite the do_header area. This can be done using genesis_attr_<context> filter hook. Add this in child theme’s functions.php: add_filter( […]
How to make secondary navigation menu mobile responsive in Genesis
In the comments section of How to add a responsive mobile menu before footer in Focus Pro, a user asked: I need to add a menu similar to the one in this tutorial and doesn’t seem to be working with the current sample theme – I think it’s because the responsive code is different in […]
Recent Comments