Hide All WordPress Updates from a Specific User
Here is how to hide ALL update notifications in the WordPress admin area for a specific username. So if you wanted to hide updates when your client logins to WordPress you could use this. It is...
View ArticleLimit Search Results to Blog Posts Only
The following snippet will limit search results to display blog posts only on your search results page. Copy and paste the following into functions.php [crayon-5b9389fa29135951500455/] Source:...
View ArticleRemove Meta Boxes from WordPress Admin
The following will remove meta boxes that you do not need from the WordPress admin back end. To target a certain meta box find the boxes main div id using a page inspector and use that ID in the code...
View ArticleCharacter limit
The following function will create a custom function to create a unique character limit excerpt for the post. Add the following to functions.php: [crayon-5b9389fa28352009785083/] Add the following to...
View ArticleAdvanced WordPress Excerpt Function
Here is how to setup a custom WordPress excerpt function with the following criteria: This will allow you to limit the amount of characters displayed in the excerpt While limiting the number of...
View ArticleFix http and Thumbnail Error on Image Upload
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 to generate...
View ArticleDelete WordPress Attachments when Deleting Post
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 leave behind a bunch of media files once I got rid of the...
View ArticleAdding Jquery Code to WordPress
For this example we are going to use a script from a sticky menu First, add your script to a .js file located in your theme and make sure you wrap the code with the first and last lines:...
View ArticleRemove Emoji Code from WordPress
With the release of WordPress version 4.2 the development team added support for emoticons (emojis) built into the core. This support adds a good deal of code to the core that can be seen if you check...
View ArticleAdd Google Analytics to Functions.php in WordPress
The following code will add Google analytics tracking code to your WordPress site’s header. Simply replace “UA-000000000-1” with your analytis UA tracking code and insert the snippet into...
View Article
More Pages to Explore .....