How to disable Yoast SEO Schema JSON-LD completely

By Prem Tiwari in WordPress Beginners, WordPress Functions. Updated on


In this tutorial, we are going to share how to disable Yoast SEO schema JSOM-LD completely by using the simple WordPress code. Yoast SEO 11.0 features a completely rewritten Schema.org implementation — the first one …

How to Switch Post Type in WordPress

By Prem Tiwari in WordPress Functions, WordPress Snippets. Updated on


In this tutorial, I am going to share the how to switch post type in WordPress by using the simple code snippets inside your functions.php file. It will save your much time if you have …

WordPress | count_users Function

By Prem Tiwari in WordPress Functions. Updated on


The count_users() function will count the number of users who have each of the user roles in your WordPress. Below is the syntax of count_users () Function, how to use in your WordPress plugin or …

WordPress | wp_insert_post Function

By Prem Tiwari in WordPress Functions. Updated on


wp_insert_post function will insert a post in your database with the minimum required piece of information. You can set the post date manually, by setting the values for ‘post_date’ and ‘post_date_gmt’ keys. You can close …

WordPress | add_theme_support Function

By Prem Tiwari in WordPress Functions. Updated on


This WordPress function registers theme support for a given feature. add_theme_support must be called in your theme’s functions.php file to work. Below is the syntax of add_theme_support() Function, how to use in your WordPress plugin …

WordPress | get_the_category_by_ID() Function

By Prem Tiwari in WordPress Functions. Updated on


This WordPress function will retrieve category object by category ID. All category information is available in the category object. Below is the syntax of get_the_category_by_ID() Function, how to use in your WordPress plugin or theme …

WordPress | get_category_by_slug() Function

By Prem Tiwari in WordPress Functions. Updated on


This WordPress function will retrieve category object by category slug. All category information is available in the category object. WordPress | get_category_by_slug() Function. WordPress | get_category_by_slug() Function Below is the syntax of get_category_by_slug() Function, how …

WordPress | wp_insert_user() Function

By Prem Tiwari in WordPress Functions. Updated on


This WordPress function creates a new user in your WordPress database with the minimum required information like username, password, and email. This is a simpler way of inserting a user into the database. Below is …

Solved Programs