This WordPress snippet allows you to set the permalink settings from the functions.php file, rather than from the WordPress admin.
Category: Code Snippets
Heres a snippet on how to hide the WordPress sidebar container elements such as UL - if the sidebar has no widget active..
This snippet will show you how to extend the WordPress search function to include custom post meta.
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.
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.
This WordPress snippet will allow you to link to an external link from the WordPress post title
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 …