Remove Revolution Slider Meta Box from Pages

The following snippet will remove the annoying Metabox on your pages that Slider Revolution adds. Just add this to your functions.php and watch the metabox dissappear.

Code originally found here:

Display Advanced Custom FieldsGallery into Justified Image Grid

Here is how to get the Advanced Custom Fields Gallery type to display in the Justified Image Grid plugin.

Got the original code for this from and modified it slightly to work with Justified Image Grid.

Advanced Custom Fields File Field with Repeater and Showing Title

Here is some code that will use the Advanced Custom Fields file field and output the filename with a link to the file as well.

Advanced Custom Fields Get Select Label

Here is how to get the select label in an advanced custom fields output.

Change “Type” to the field name and you are good to go.

Change the Number of Related Products in Woocommerce 1

The following bit of code will change the number of related products that are displayed on a Woocommerce single product page. Add this to your functions.php file.

Add Gravity Forms Placeholder Text

The following code placed in functions.php will add placeholder text to your gravity forms: