De-register De-queue WordPress Loaded Scripts & Styles

You can de-register and de-queue WordPress loaded javascripts and CSS styles by passing them into the wp_print_scripts function. This can help with fewer server requests if the scripts are no longer required or if a conflict is occurring. So for example if I wanted to remove the WordPress TwentyTwelve default mobile menu javascript you would use: //Remove twentywelve…

Read More

Create and Add Custom Taxonomy to WordPress Posts

Custom Taxonomies are a great way to organise content and should be added to WordPress via a plugin so if a theme is swapped the taxonomies are maintained. Taxonomies are either hierarchal similar to ‘Categories’ or flat, similar to ‘Tags’. You can assign custom taxonomies to regular posts as well as custom post types. Create the…

Read More