Changing the Genesis Archive Page Settings for Custom Post Types
By default all archive pages and types in Genesis share the same archive settings as set in the Genesis > Theme Settings > Content Archives section, but you can change these settings for a specific custom post type archive and leave the defaults intact for the regular archive pages. Looking at the Content Archives in…
Read MoreSet Up Let’s Encrypt SSL on cPanel WHM Server
The free SSL service Let’s Encrypt is now available to use on a cPanel/WHM service for versions above 58.0.17, this was announced recently on the feature requests component of the cPanel website. Checking your cPanel/WHM Version Check if your version is above 58.0.17 by logging into your WHM interface and checking the top right. If…
Read MoreAdd a Different CSS Body Class to a Page in WordPress
Using WordPress filter ‘body_class‘ you can add a unique CSS class to the body element of a page by passing in what pages you want the new CSS class applied to. So in the above code I want an additional class ‘beaverbuilder’ applied just to the page with the ID of 8. This code will…
Read MoreMake all WooCommerce Pages Full Width in Genesis (including Product Pages)
You can set all of WooCommerce pages including all product pages to be full width content inside of a Genesis Theme by adding a function and filter to your functions.php file. So in the above the WooCommerce shop, cart and checkout pages are targeted in an array plus the custom post type ‘Products’ which is…
Read MoreCreate Tabbed Content in WordPress with ACF Repeater and Tabslet
This tutorial walks through how to create a Tabbed content section in WordPress using Advanced Custom Fields and Tabslet. ACF (Advanced Custom Fields) Pro comes with an addon called the Repeater field which allows a user to perpetually add additional rows of data of certain custom fields to a page or post (or custom post type) in WordPress. This can be…
Read MoreStop Spam Subscriber Accounts Registering on WordPress
If you have been getting a bunch of unwanted new user registrations on your WordPress website and are wondering what they are and where they are coming from, with such bogus email addresses mostly from the gmail.com domain like [email protected] it’s just a bunch of automated spam, do not fear, here’s what to do! Spambots trawling through…
Read MoreChanging the WooCommerce Payment Gateway Order
You can change the Woocommerce payment gateway order in the checkout page, it’s pretty easily without touching any code, here is how you can move Stripe above Paypal or re-arrange the order at your will – just go to WordPress Dashboard > WooCommerce > Settings > Checkout. Scroll down to the payment gateways and click…
Read MoreRemove Archive Title & Description from Blog Page in Genesis
Genesis adds in an archive title and description at the top of each archive page, depending on which type of archive page you use, there is a way to remove these from the mark up on the page. Since Genesis 2.2.1 there is a genesis_do_posts_page_heading function which adds Archive and Description markup just before the articles on…
Read MoreAdding a Widget Area at the bottom of every post in Genesis WordPress Theme
With the release of Genesis 2.1.1 there is an additional ready to go widget that sits just below the end of each single post, this is a great location for an optin form, advertising banner or reader message that needs to be added to the bottom of each single post. This was previously possible but with…
Read MoreFiltering the Gallery Image Output in WordPress – Adding Class or Data Attribute
To manipulate the linked images, specifically the links themselves in the WordPress Gallery output for doing things like adding in a CSS class or a data attribute value you can use the post_gallery filter in /wp-includes/media.php which is the right tool for the job. The filter can be applied like so… So this is an exact copy of the original…
Read More