This snippet will show you how to extend the WordPress search function to include custom post meta.
Category: Code Snippets
This snippet will prevent WordPress from checking if there’s any updates for installed plugins. This could be useful if ie. you’re creating a website for a client.
You can add as many individual image sizes to your WordPress site as you like by using the following function. Instructions Add the following code to your functions.php file of the theme you wish to use the custom image sizes for. Your custom imge sizes won’t show up in your media settings, or your …
This snippet can be used to target code for a specific theme only. A need feature if you want to execute conditional functions on ex. different devices and platforms.
Did you see other sites link to external posts from their post title? Well that is because it is completely useless to create a new post where inside you are going to tell users to go to another site to read it. You are wasting your user’s time. This trick will allow you to link …
Create breadcrumbs on your wordpress site without using a plugin.
Here is how to run a cron job on at a specific interval by using Wordpress build in wp_schedule_event() function.
WP-PageNavi is definitely one of the most popular WordPress plugins and in fact, it is very useful. But did you know that since version 2.1, WordPress had a built-in function called paginate_links(), which can be used to create to paginate your blog without using any plugin? Today, let’s see how to use this handy function …
A quick little snippet to change the standard wordpress login logo to something of your own liking.
Add excerpts functionality to your pages, like in posts.