To remove Custom Post Type Slug from WordPress URL we need to use post_type_link filter hook and pre_get_posts action hook. Please check the details for more information.
Read More »What is the default archive URL for a Custom Post Type and How can we Modify this archive URL?
I have a custom post type name quick-tips. Here i can show you what will be the default archive URL for this post type and if we want to modify this archive URL then how can we achieve this.
Read More »How to add Canonical URLs without using a WordPress Plugin
Before everything we need to know what is Canonical URLs and Why canonical URL is so import in SEO and why each and every page of your website should have a canonical URL..
Read More »Smooth Scrollbar – Create Custom Scrollbar using Smooth Scrollbar jQuery Plugin
A JavaScript Plugin which allow you to give a nice looks scrollbars cross browsers. Follow the steps to achieve custom scrollbar.
Read More »Can i update only readme.txt file without release a new version for WordPress.org Plugin?
Yes! You don’t need to release a new version. Whenever a major version of WordPress is released, WordPress.org will send a reminder to plugin authors to test their plugins with the latest version.
Read More »How can i add a custom endpoint as a my account page menu item?
Here i can show you how we can add custom endpoint to my account page menu items like Orders, Download, Addresses etc.
Read More »What’s the Difference Between WordPress Address (URL) and Site Address (URL)?
Many times i face a question about what is difference between home_url() and site_url(). Let’s explain it with example.
Read More »How can i use wp_nav_menu to create a select menu dropdown instead of default ul li menu items?
To create select menu dropdown instead of default ul li using wp_nav_menu function, you need to use Walker_Nav_Menu callback function. Please check the complete code below:
Read More »Add a class to body tag after certain amount of scroll
Add a class to body tag or any other element using jquery, you need to do it like this way:
Read More »How can i filter number of orders per page in My Account?
To filter number of orders per page for My Account, you need to use woocommerce_my_account_my_orders_query filter hook.
Read More »