Block Color Picker

Within the edit function of block.js

Read More

Add Arguments to WordPress Hooks

Read More

Debug

Read More

Add simple meta box(s)

Read More

Title Filtering

What ever you do is going to end up within the h1 tag, but this will keep it out of the menu etc.

Read More

Soliloquy Slider for Testimonials

Install and populate woo testimonials plugin: Extract and import this .json file into slider (the .jma-testimonials class isincluded in this import): soliloquy-73-05-11-2018.json.tar

Read More

Options Page for Plugin

Original code: https://gist.github.com/hlashbrooke/9267467 First the Files (2) The Class:

Then the jquery (settings.js):

In the plugin root Setup Class autoload

Setting array example:

Instantiate the Class (with prefix, title and settings from above as arguments):

Read More

Detect Shortcode

Read More

Solve HTTP Error in Media Library

Add to functions.php

Read More

MySql Move Post Tags

When using Post Type Switcher the tags get left behind (this will move them ALL which isn’t always what you want). UPDATE wp_term_taxonomy SET taxonomy=’portfolio_tag’ WHERE taxonomy=’post_tag’ UPDATE wp_term_taxonomy SET taxonomy=’portfolio’ WHERE taxonomy=’category’

Read More