We can get custom post type by custom category by custom category in many ways. One of method of getting custom post type define below:- To get the custom post type by custom category in WordPress you need to do
How to override WooCommerce template files?
How to override WooCommerce template files? The WordPress WooCommerce template files are different from the WordPress theme template files. The template file for shop pages is archive-product.php. In some WordPress premium theme the override functionality are inbuilt. You can also
woocommerce automatically add products to cart on visit
Automatically add products to cart on visit Below Code example, automatic add products to cart when a visitor is on your site. This code example could be very useful when you use WooCommerce. This is is pretty easy to do.
How to install composer in windows
How to install composer in windows Composer manages PHP project dependencies and also able to install packages at a system wide level enabling you to keep such things as Laravel Installer1, PHPUnit2 and PHP_CodeSniffer3 up-to-date. >1) Download the installer file
How to Fix WordPress Posts Returning 404 Error
WordPress is a powerful CMS. In this article We are going to covered some of the most common problems a WordPress users face. Most of the WordPress users face at some problem is WordPress posts returning a 404 Error. So read the full
jquery get selected option text on change
How to get on change selected option text in wordpress? You need to find selected value of select on change function jQuery. Below is the example jQuery(document).ready(function(){ jQuery("select#field").change(function(){ var thisvalue = $(this).find("option:selected").text(); alert(thisvalue)l }); });
How to get woocommerce featured products
How to get woocommerce featured products in wordpress inside a product loop. We provide below code to get woocommerce featured products in loop. Woocommerce by default provide the short code to view featured products. [featured_products per_page=”12″ columns=”4″] We can display
Default wordpress user roles and their capability
Default wordpress user roles and their capability are following….. 1. Administrator On a regular WordPress install, Administrator is the most powerful user role. Users with the administrator role can add new posts, edit any posts by any users on the
Add a custom meta box to the new/edit category pages
How to add a custom meta box to the new/edit category pages The meta data is saved to the array term_meta[], which can handle further fields in the future. To create a meta field or custom field in product category
How to Increase the Maximum File Upload Size in WordPress
How to Increase the Maximum File Upload Size in WordPress 3 ways to increase maximum file upload size in WordPress Do you want to increase the maximum file upload size in WordPress. Some times low file upload size limit can stop