Prevent WordPress From Updating
While strongly discouraged, sometimes you need to prevent Wordpress from automatically updating or from updating entirely. To accomplish this you just need to add two lines of code to your…
While strongly discouraged, sometimes you need to prevent Wordpress from automatically updating or from updating entirely. To accomplish this you just need to add two lines of code to your…
I was trying to find a way to delete the media files attached to all Wordpress posts when deleting a bunch of posts at once. I did not want to…
Want to remove items from the admin sidebar to tidy things up? Here is how to do that: /*-----------------------------------------------------------------------------------*/ /* Remove Unwanted Admin Menu Items */ /*-----------------------------------------------------------------------------------*/ function remove_admin_menu_items()…
The following snippet of code will make the page fade in on reload. Put in between the head tags. Change the number "2000" to adjust the speed at which it…
A client was having issues with her image uploads http error and thumbnails not generating. Smaller images would generate the thumbnail just fine however larger images would upload but fail…
I was trying to find a way to filter my custom post types by category in the admin view and was having difficulty learning how to do it. After a…
The following snippet will get the posts of a specific category. So if you wanted to have a page that just shows posts of a certain category this would do…