how to fetch custom post by tags in WordPress

If you looking for fetch custom post by tags yes is it possible to retrieve post entry for a custom post type by tag, I have been trying with the following code. <?php $CurrentTagSlugs = get_queried_object(); $CurrentTagSlug = $CurrentTagSlugs->slug query_posts( array( ‘post_type’ => ‘video’, ‘post_status’ => ‘publish’, ‘tag_slug__in’ => $CurrentTagSlug) ); if ( have_posts() ): […]

How to show most commented posts in WordPress

In this tutorial we are showing How to list most commented posts in WordPress using your custom query below code is there you just copy and make it your. PHP code for show most commented posts in WordPress <?php $popular = new WP_Query( array(     ‘post_type’ => array( ‘post’ ),     ‘showposts’ => 6,    […]

How to add post from fronted in WordPress Without Plugin

Today we are talking about world most used CMS (WordPress) 90% php developers familiar with WordPress because of WordPress very easy to use and we can develop any type of websites. Basically WordPress using for blog writing and we can manage our blog from back-end but some time user required guest post from your visitors […]

How to delete unused post revisions from your WordPress Database

If you are looking for delete unused revision post from your WordPress database means sometimes you update WordPress posts a lots of time, which can lead to a long list of Post Revisions for your posts. In this tutorial we are showing you how to delete revision post from your database. Step 1 : You […]

Next And Previous Post Link In WordPress

There are many ways to navigate a WordPress site. There are archive links, category links, page links, internal post links, single post links, admin comment links, tag links, and many other types of navigational links. When it comes to navigating to Next and Previous post link on single post page then we can do like […]

How to Create Simple Post Pagination In WordPress

In this tutorial we are showing hot to create simple WordPress post pagination “Next Page” and “previous page” that type of pagination by default come with WordPress just you have need call functions. Below we are showing a example of create simple pagination WordPress Pagination PHP Code <?php if ( have_posts() ) : ?>    […]

How to disable Post Revision Feature WordPress

Do you know the Post Revisions feature in WordPress saves copies of each edit made to a WordPress posts or pages. It allows you to revert back to a last copy of that post/page. This can be very helpful but sometimes it can just clutter your Post/Page edit screen. In this tutorial we will show […]

How to create a shortcode of WordPress site url

If your are working with WordPress then Shortcodes are a very useful. Shortcodes make your work easy if you want your code more then one time then you create Shortcode of your particular code and use that using the Shortcode. If we are working with template then it’s ok we can use WordPress PHP function […]

Warning : Cannot modify header information – WordPress headers already sent by

Here i am writing some solution of Warning : Cannot modify header information – WordPress headers already sent by may be help of you. 1. Clearing your browser cache and cookies may resolve this problem. Also, check your search.php and index.php template files for errors. 2. It is usually because there are spaces, new lines, […]

PHPKIDA Offering Free Tools:


Download Instagram Videos & Photos.

Download Now


Real Time Currency Converter

Convert Now


Robots.txt File Creater

Create Now


Compress yout HTML Code

Minify Now


Compress yout CSS Code

Minify Now


Compress yout JavaScript Code

Minify Now

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.