Make 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 MoreAdd Featured Image at top of Single Post/Page in Genesis
One of the latest themes from Genesis has the ability to show the featured image that is set to appear at the top of a post or page, the setting is shown in the Customizer and is enabled by default – here is how you can use this in any Genesis theme. It is best…
Read MoreRemove Password Strength Rules in WooCommerce Checkout
You can remove the password strength rules in WooCommerce checkout page when signing up for an account password, obviously this is less secure but may lessen cart abandonment by your customers – I have a few sites whereby this is a pain point for users. This snippet from @WPprodigy will take the strength-o-meter policy away…
Read MoreOutput the label of an ACF field
You can output the label of an Advanced Custom Field: ACF field by using the get_field_object() function which stores an array of data about the custom field. /* * Output Label from ACF field */ $field_name = “acf_field_name_here”; $field = get_field_object($field_name); echo ‘<h3>’. $field[‘label’] . ‘</h3>’;
Read More