WooCommerce plugin for WordPress is the easiest way to start selling your products online. It handles many different payment options, gateways, tax calculations, shipments, and even stock tracking. All you need is installing the plugin and start adding your products. While the plugin has many […]
Search results for functions.php
Google plus one button makes searching social. When you click a +1 button on a site, your friends see that page on higher levels when they make a related search. Here’s how to add this button to your wordpress site.
WordPress usually use a constant number of posts for all your category pages, index, and also search results pages. For search pages, 10 posts are not usually enough. To change this behavior, a simple query filter will do the trick.
Woocommerce removed support for separate login and register forms because of the complications. But that is one of the top requested items by the shop owners. In this post, I am going to show you how to achieve that really quick using Woocommerce hooks and templates.
Archive indexes are a good way to organize your posts, but if there is only one post in an archive page it can be just a waste of time. Here i will give you a small #snippet to jump directly to the post page.
With the 1.5.8 release, I added dropdown_menu_defaults filter to the dropdown menu widget, so anyone can edit dropdown menu defaults so easily. Here in this post I will show you how to change depth and page order using this filter. First open functions.php in your […]
WordPress automatically adds a wlwmanifest link to your site header for Windows Live Writer support. This link tag on your header points to wp-includes/wlwmanifest.xml file. Here is the example tag for the wlwmanifest.xml file, which you may notice in your site’s header: <link rel="wlwmanifest" type="application/wlwmanifest+xml" […]
Categories play a vital role in organizing your WordPress posts. However, there might be instances when you prefer not to categorize a post and leave the category field empty. In such cases, WordPress automatically assigns the default category as “Uncategorized” to the post. In this […]
Shortcodes make life easier for any WordPress blogger. I can easily list subpages, add post meta elements, and even query posts using shortcodes. You can do as much in your widgets too, you just need a quick fix to enable shortcodes in your widgets. To […]
If your hosting server is not fast enough, you may want to replace your self-hosted jquery with Google CDN-hosted jquery. You may think that you are not using that script, but most of your plugins do. WordPress scripts are registered on a script queue using […]