Here is how to run a cron job on at a specific interval by using Wordpress build in wp_schedule_event() function.
Category: Code Snippets
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.
This WordPress snippet will add a "edit page-/post" link on the WordPress posts and pages.
If you need to prevent WordPress from compressing your images or specify what level of compression WordPress should apply, simply add this snippet.
This WordPress code snippet will display a custom tag cloud anywhere on your site via your theme files.
Adding this snippet to the functions.php of your wordpress theme will add the search form to your wordpress wp_nav_menu. Don’t forget to update the MENU-NAME to specify the menu you wish to display within, just in case you have multiple menus.