Dhanendran's Blog

It's all about my technology & social adventures…

Tag

PHP

Google Search Console: Image size smaller than recommended size

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 →

WordPress get_terms returns empty array for custom taxonomy

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 custom taxonomy for simple applications as well. Yeah, that's right. Creating… Continue Reading →

Hide PHP Warnings and Notices in WordPress

I recently came across some wired issue, were PHP warnings and notices are shown on the website even when we set WP_DEBUG to false in wp_config.php file. This happens mostly with the cheap shared hosts, were this settings won’t be respected and… Continue Reading →

Custom media button creation with wp.media

All most every WordPress users will use media in their posts, pages and comments. So media files playing a vital role in our WordPress world. WordPress will provide you an option to add media files in to your post by… Continue Reading →

Goodbye `get_terms`, Welcome `WP_Term_Query`

From WordPress 4.6, we have a new class called ​WP_Term_Query which will help us in querying the taxonomies easily. This class will give us more flexibility and ease of use like other classes like WP_Query,WP_User_Query, and WP_Comment_Query in WordPress. The main… Continue Reading →

WordPress REST API and OAuth 1.0a

WordPress REST API and OAuth is a perfect combination for many applications which runs WordPress as a backend. But for the beginners OAuth handshaking will be a bit complex one to understand. If you are is this category, don’t worry… Continue Reading →

WordPress: Post/Page creation workflow

Developing WordPress site for client or your own site? Then you should know the basic workflow of Post/Page creation hooks. Okay! Let’s get started with the hooks. What is hooks? Hooks are just a functions, which will help us to… Continue Reading →

How to create custom filter in WordPress?

  Basically WordPress hooks are categorized into two types; Action hooks Filter hooks Action hooks: As name says, these hooks are called when an action is performed. Action hooks allow you to execute your custom functions which are referred to as… Continue Reading →

WordPress: Permalink setting redirecting to 404?

You have installed everything on server apache, WordPress, brand new theme, all plugins… But your permalink setting not working at all? Is it throwing you 404 page? You have set .htaccess file as per WordPress suggestion? If YES, then consider… Continue Reading →

© 2019 Dhanendran's Blog — Powered by WordPress

Theme by Anders NorenUp ↑