How to Create Custom Taxonomy in WordPress?
We can easily do this by using the register_taxonomy() function into our functions.php file. Just open your functions.php file. And paste the below code at the …
What Template Files Are Used For Our Custom Post Type In WordPress?
there are two files that can be used for our own created custom post type. the files are: archive.php single.php To use the files we will …
Get WordPress Posts By Category Name..!
its easy to get the WordPress posts by Category name. That means your posts will only display if the post has selected a specific category. To …
Get The Posts By Category Id..!
yeah… it is the coolest way to show posts by category id. you don’t need to go longer. yes, copy paste below code and it’s done..!! …
Custom Redirect after purchase in Woocommerce
Solved 1st: If you want to redirect a customer to a different page rather than the Thank you page, like for example, the My account page, …
Get menus by name in WordPress….!!!
Source file wp_get_nav_menu_object() is located in wp-includes/nav-menu.php. to get the menu by its name. use below code: crayon-628ee0a1249d8489653651/ Just Copy and paste the above code where …
What is the difference between the wp_title and the_title tags?
The wp_title and the the_title both are the different functions of WordPress and have a different purpose. Normally we see these function as the same but …
How to create a child theme in wordpress ?
first, you need to create a folder in wp-content/themes/YourChildthemeName Suppose we are creating a child theme for the twentyFifteen theme. then we can put our child …
Can wordPress use cookies?
Yes, wordpress use cookies.WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in …
Blog is a necessary part to be included in a WordPress Website?
No, it is not a necessary part. Although WP was first designed as a platform for blogging now it can be used for every genre of …
Briefly explain the procedure to pass a variable by value in WordPress?
Passing a variable by value in WordPress is similar to as that in C++. We have to just add an ampersand in front of the variable …