Changing 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…
Remove 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…
Adding 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…
Filtering 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…
Add 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…
Remove 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…
Find and Trump Z-Index on all Elements on a Page with jQuery

The jQuery snippet below will search all HTML elements on a page and find the element with the highest z-index value and capture that value in a variable – then using the .css function in jQuery, assign and increment that…
Output 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…
Give Comments Fields Some Full Width Love

Looking at the WordPress comments field input fields in Genesis on mobile leaves you a bit shortchanged… Give them a full width feeling… @media only screen and (max-width: 860px) { .comment-respond input[type=”email”], .comment-respond input[type=”text”], .comment-respond input[type=”url”] { width: 100%;…
Create a Expand/Collapse FAQ Accordion, Collapse other on Click

This guide creates a FAQ expand/collapse javascript question and answer set up whereby when another question is expanded the current open answer is collapsed. So only one is expanded at any point. In the example below click to see how it works. I have…