WordPress: How to remove comments function and section totally?

Here is a list of functions which helps in removal of the comments function and section. Just add it to your themes function file or make it a plugin. <?php // Removes from admin menu add_action( 'admin_menu', 'my_remove_admin_menus' ); function my_remove_admin_menus() { remove_menu_page( 'edit-comments.php' ); } // Removes from post …

Read More »
Remove api.w.org REST API/JSON API  from WordPress header

Remove api.w.org REST API/JSON API from WordPress header

WordPress uses the REST API since edition 4.4 of the CMS. It allows developers to interact with the WordPress back-end more quickly, since this API is a standard way to connect. However, this also adds the following header to your Worpress website: <head> ... <link rel='https://api.w.org/' href='http://example.com/wp-json/' /> <link rel="alternate" …

Read More »
Use Transients API Caching and Speed Up Your WordPress Theme

Use Transients API Caching and Speed Up Your WordPress Theme

The Transients API in WordPress is an effective means for saving cached data in the database. It allows us to take resource-intensive queries and store them in short-term caches to enhance performance. Transients are short-term, for example after a specified period of your time, the cached information will be removed …

Read More »
WordPress: How to Fix Missing required field entry-title, Update, hCard Error in Google Structured Data tool

WordPress: How to Fix Missing required field entry-title, Update, hCard Error in Google Structured Data tool

Recently when I tested one of my WordPress weblogs via Google Structured Data testing tools, I got the Following errors: Error: Missing required field “entry-title”. Error: Missing required field “updated”. Error: Missing required hCard “author”. It was strange, as Everything was already described in my WordPress theme codes, but still …

Read More »
How To Set Up Apache Virtual Hosts on Ubuntu

How To Set Up Apache Virtual Hosts on Ubuntu

The Apache web server is the most popular way of providing web content online. And Virtual Hosts allow the administrator to use one server to host several websites or domains on only one interface or IP by using a matching mechanism. This is applicable to anyone looking to host more …

Read More »
How to Install & Configure phpMyAdmin on Ubuntu

How to Install & Configure phpMyAdmin on Ubuntu

phpMyAdmin is an free open source tool used as interface for the management of MySQL. In addition to providing the ability to execute queries such as create, update, or delete, and managing users and permissions. phpMyAdmin provides a gui to do all of these tasks and more. Now let’s Install …

Read More »