Show All Post Meta Keys and Values for a Post in WordPress

wordpress-post-meta-keys

If you wanted to see all the post meta keys and values for a post,page or custom post type in WordPress you can either see them in the database in the wp_postmeta table or you could use the get_post_meta function…

Don’t Output Empty Rows and HTML Mark Up in Beaver Builder

blank-rows-beaver-builder-acf

When you are using ACF field connections or insertions in Beaver Builder with Beaver Themer if the field is not populated the HTML mark up is still rendered on the page, even though the field is blank some of its…

Add phpMyAdmin to ServerPilot

add-phpmyadmin-serverpilot

By default when you set up a ServerPilot instance no GUI app is installed for MySQL interaction, ServerPilot recommend using Adminer which has a similar interface to phpMyAdmin and sits as a standalone single php file which you can use…

Add Link to the Count in WooCommerce Product Category Menu

product-category-count-link-archive

The WooCommerce product category menu can be manipulated by making a copy of the walker class it is defined in and editing it. The WC_Product_Cat_List_walker class lives in wooc0mmerce/includes/walkers/class-product-cat-list-walker.php, you can make a copy of this and include it in…

Styling Beaver Builder Buttons Globally using a CSS Snippet

beaver-buttons

Styling buttons in Beaver Builder can be quite a lengthy and tedious task and if a change has to be done over many pages the task becomes more onerous. The Builder Module UI covers most aspects of the style but…

Add The Title Attribute To Featured Image in WordPress

add-title-attribute-featured-image

The title attribute for the WordPress featured post has been removed for a while, but you can get it back with the wp_get_attachment_image_attributes filter which can add the HTML attribute markup back in, add to your functions.php file…   add_filter( ‘wp_get_attachment_image_attributes’,…

Add Lets Encrypt SSL Certs on ServerPilot Free Plan

serverpilot-lets-encrypt-ssl

ServerPilots’ free plan does not offer SSL certs from Lets Encrypt, it is only available on the paid plans,  here is a guide below that can allow you to install and renew the SSL certs with a custom script. You…

Filter WooCommerce Order Received Thank You Text

You can filter the text on a WooCommerce order received after checkout, by default the text reads ‘Thank you. Your order has been received’, but you may want to add some further instruction, which you can do using the filter woocommerce_thankyou_order_received_text…

No Header Footer Genesis Template

no-header-footer-template

Below is the code to create a Genesis template with no default header or footer elements, perfect to slot in to a page builder page. Add it in your child theme and add any other CPT names in the Template…

Use jQuery SlideToggle to Show/Hide Multiple Rows or Divs

slide-show-slidetoggle-jquery

In this tutorial a set of links control the visibility of a number of corresponding divs or rows. It uses jQuery’s slideUp and slideToggle sliding effects. I have used a list as the triggers that will open close the corresponding div/row…