WP-CLI is the command-line interface for WordPress to interact, manage and maintain it. Writing some custom CLI commands are necessary when we manage a large customised website or a complex plugin. It’s obvious that we need to write PHPUnit tests… Continue Reading →
In a real-world scenario, we have to write some custom REST API endpoints to satisfy our business requirements, as one shoe will not fit for all right? So how do we make sure that our custom REST API always works… Continue Reading →
Doing a complete test of our code is very important whenever we make some code changes or release a new version to make sure new functionality doesn’t break the existing ones. Doing it all manually is the very hard part… Continue Reading →
So you are using AMP for your website, that’s great. AMP is one of the best way to increase the traffic to your site. Often confused how AMP is cached in Google and when the content is updated in cache?… Continue Reading →
A picture is worth a thousand words Images will attract more attention rather than the words. So how about adding a video thumbnail of your post in the Google Search Results? Google can show video thumbnails on the search results when you… Continue Reading →
Have you noticed number of warning increasing for your sites AMP in Google Search Console regarding Image size smaller than recommended size? Did you confused what has changed over night in your site? Nothing to get confused, Google has changed… Continue Reading →
When you are trying to embed iFrames and Scripts tags in your post, WordPress won’t allow you to do so. It’s mainly because of the security reason. Users might add unsecured iFrames which may show unrelated content or tries to… Continue Reading →
It’s been always the case where we need to upload additional file types in WordPress along with the WordPress default supported file types. By Default WordPress will allow you to upload below mentioned file types to media library. Images .jpg… Continue Reading →
get_terms returning empty array even though there are many terms it has? Creating custom taxonomies are common when we design complex web applications. I hear your mind voice, We create a custom taxonomy for simple applications as well. Yeah, that’s right…. Continue Reading →
The get_template_part is a one of the most useful function for the theme developers. It prints/includes the template content inside another template. It is used as an alternative to include or require. We can make use of this function within the… Continue Reading →
© 2021 Dhanendran's Blog — Powered by WordPress
Theme by Anders Noren — Up ↑