It's all about my technology & social adventures…

Category WordPress

WordPress Security Tips: Protecting Your Website from Vulnerabilities

Introduction WordPress is undoubtedly one of the most popular and user-friendly content management systems (CMS) available today. It powers millions of websites, from personal blogs to major media agencies and e-commerce stores. But its widespread use also makes it a… 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 →

Unit testing WordPress plugin in isolation with WP_Mock

In Unit Testing, the word “Unit” actually denotes testing the code in small chunks, that is small units. So what does it mean? Testing each method in a class without any other dependencies. In the WordPress world, testing code without… Continue Reading →

Custom WP-CLI command and Unit testing with PHPUnit

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 →

Unit Testing Custom WordPress REST API

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 →

An Introduction to unit testing WordPress plugin using PHPUnit

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 →

How to update AMP cache on Google?

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 →

How to show video thumbnail in Google search results

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 →

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 →

« Older posts Newer posts »

© 2024 Dhanendran's Blog — Powered by WordPress

Theme by Anders NorenUp ↑