It's all about my technology & social adventures…

Category WordPress

How to Upload Additional File Types in WordPress

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 →

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

Using get_template_part within Shortcode

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 →

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 →

WordPress $alloptions and $notoptions

$alloptions Whenever we are storing something on the WordPress options table via add_option() function, it stores the value in options table as well as cache. Yes, it stores it in 2 places. This is mainly for the quick retrieval or… Continue Reading →

Source code or syntax highlighting in WordPress.com

We have some limitations when we are hosting our blogs in WordPress.com with free plan.We can’t install many plugins to our blog, we can able to install only the limited plugins which is provided by the WordPress.com. As tech guy,… Continue Reading →

ERROR: The Google Authenticator code is incorrect or has expired

When we have 2 factor authentication enabled with Google Authenticator plugin in our WordPress site, we might face an awkward situation where WordPress login page keeps saying “ERROR: The Google Authenticator code is incorrect or has expired.“. I know you… 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 →

My first WordPress contribution

This blog is all about, how I got my first badge on my WordPress profile? I have used WordPress for many of my projects, but never gave anything back to it. So I thought to do something for WordPress and… Continue Reading →

« Older posts Newer posts »

© 2024 Dhanendran's Blog — Powered by WordPress

Theme by Anders NorenUp ↑