Posts related to tag: wordpress


How to check whether it is POST or PAGE in WordPress

In WordPress, is_page() function return true if the current article is a “PAGE” and similarly is_single() function return true if […] Continue reading »

How to check if user is logged-in or not in WordPress

In WordPress, we can use the is_user_logged_in() function to identify whether a current user is logged in or not. is_user_logged_in() […] Continue reading »

How to get author details in WordPress

In WordPress, we can use the get_the_author_meta(string $field) function to retrieve the author’s details stored in the database object. get_the_author_meta() […] Continue reading »

Top 10 Latest Posts in WordPress

This guide will help you to fetch the Top 10 latest Posts/Articles in WordPress. The orderby clause in WP_Query class […] Continue reading »

How to display related Posts in WordPress

In this article, we’ll fetch and display the related post from a similar category on the WordPress website. WP_Query class […] Continue reading »

How to get random Posts in WordPress

WordPress introduced WP_Query class in its version 1.5.0 for the custom query. It gives the leverage to execute the custom […] Continue reading »

How to setup Google Site Kit plugin in WordPress website

On this page, we will show how to setup Google Site Kit plugin in WordPress website. Currently, Google released the […] Continue reading »

Google Site Kit- WordPress plugin for website stats

Finally, Google has been released WordPress plugin for website stats (Search Console, Analytics, AdSense, and PageSpeed Insights). Site Kit helps […] Continue reading »

How to limit post revisions in WordPress

In this tutorial, you will learn how to limit post revisions in WordPress. WordPress post revision can be helpful for […] Continue reading »