WordPress Tutorials

WordPress: Add New Custom Field Name Dynamically in Custom Field Dropdown for Posts

We can’t achieve this using PHP because there is no hook available to accomplish this. So, we are going to use JavaScript to add a custom field name dynamically in the...

WordPress: Add TinyMCE Visual Editor to Taxonomies (Category, Tags) Description

Do you want to add a visual editor (default WordPress editor, TinyMCE or any other editor) to your taxonomy description fields? Taxonomies could be categories, tags or any other...

How to Remove Category Base from Category Permalinks in WordPress

Are you looking for a way to remove category base from category permalinks in WordPress without a plugin? The following code snippet inside functions.php will show you to remove...

How to Remove

I’m using WordPress’ twentyfifteen theme right now for the testing purpose. So, today we’re going to find out a way to remove the <ul> tag from the menus...

How to Add Categories to Image Media Attachments in WordPress

Here, you will learn to add categories to image media attachments in WordPress. The process, we’re going to follow is: Add admin_init hook with a function name. Use...

How to List All WooCommerce Products by Category in WordPress

Here, we’ll show you to display all WooCommerce products by category in WordPress. If you want to list all WooCommerce products by category with category name as headings:...

How to List All WooCommerce Categories in WordPress

Here, we’re sharing a short and simple way to display all WooCommerce categories in WordPress by using get_terms(). crayon-59edeedba2aa5788227121/...

How to List All Taxonomies of a Custom Post Type in WordPress

Are you looking for a way to list all taxonomies attached to a custom post type in WordPress? You’re at the right place. You need all the taxonomies information because you...

How to Get All Custom Post Type Posts by Taxonomy Term in WordPress

Do you want to get all custom post type posts by taxonomy term in WordPress? Suppose, we have a taxonomy term “category” and a custom post type “quotes“....

How to Filter Media Library by Post Categories in WordPress

We are going to use WordPress’ pre_get_posts to filter the media library by categories in this tutorial. For displaying a category dropdown, we are going to use...