It's all about my technology & social adventures…

Tag wordpress

WordPress Security Tips: Security Risks of WordPress xmlrpc.php and Why We Need to Disable It

While WordPress’s user-friendly interface and extensive plugin library make it a favorite among website owners, it’s crucial to be aware of potential security risks. One often overlooked vulnerability is the XML-RPC functionality, which is enabled by default in WordPress. In… Continue Reading →

WordPress Hooks and the Class: A Powerful Combination for Extending Functionality

WordPress is renowned for its flexibility and extensibility, allowing developers to build websites that go beyond the basics. At the heart of this extensibility are WordPress hooks, which enable you to modify or extend the core functionality of WordPress. In… Continue Reading →

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 →

Allow iFrames and Scripts tags in WordPress Editor

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 →

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 →

Uncaught Error: Call to a member function add_cap() in Multisite

The Issue: When creating a new site in WordPress Multi-site environment, I came across this issue fatal error. Fatal error: Uncaught Error: Call to a member function add_cap() on null in /srv/www/wordpress-default/public_html/wp-content/….XXXX…. While digging deep into it, I found that… 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 →

« Older posts

© 2024 Dhanendran's Blog — Powered by WordPress

Theme by Anders NorenUp ↑