Adding high performance keys to MySQL tables to speed up WordPress - Adding high-performance keys to MySQL tables to speed up WordPress 🧑🏿‍🚀

Adding high-performance keys to MySQL tables to speed up WordPress 🧑🏿‍🚀

wp_postmeta table should be the biggest table in your database, if not, there is a problem. Read wp_actionscheduler_actions & wp_actionscheduler_logs tables When you install WordPress for the first time, tables are created in the database, for example for the wp_postmeta table: the problem? solution: On an existing tables, We can add high-performance keys that match … Read full article →

1 - 💡 How to use wp_delete_post to delete Posts or Pages

💡 How to use wp_delete_post to delete Posts or Pages

wp_delete_post function allows us to permanently delete posts, pages, attachments. When a post is deleted, all the associated content will also be deleted, this includes the comments, custom fields, and category entries. Instructions Parameter PARAMETER TYPE DESCRIPTION DEFAULT REQUIRED $postid intiger article ID 0 no $force_delete boolean skip recycle bin and delete permanently false no … Read full article →

Automatic Copyright year in WordPress footer - Automatic Copyright year in WordPress footer

Automatic Copyright year in WordPress footer

This is a simple solution to automatically change the copyright year in the WordPress footer, using the date(). php function and specifying just Y will display the current year. I use it on this site:

WordPress version usage statistics - WordPress version Usage Statistics UPDATED

WordPress version Usage Statistics UPDATED

This table displays the market share (in %) for each WordPress version of all the active WordPress websites on the internet. $(document).ready(function() { $.getJSON(‘https://api.wordpress.org/stats/wordpress/1.0/’) .done(function(resData) { var table_str = ‘ WordPress Version Usage (in %) ‘; $.each(resData, function(key, value){ table_str += ‘ ‘ + key + ‘ ‘ + value + ‘ ‘; }); table_str += … Read full article →

SAVEQUERIES 0Awp content constant - Save Database Queries for Analysis in WordPress

Save Database Queries for Analysis in WordPress

The SAVEQUERIES wp-config constant saves database queries to an array and We can use that array to display queries. The information saves each query, what function called it, and how long that query took to execute. To enable SAVEQUERIES add this to the wp-config.php file: Then in the footer of your theme put this: <?php … Read full article →

Top 5 WordPress GDPR plugins in 2022 - Top 5 WordPress GDPR plugins in 2023

Top 5 WordPress GDPR plugins in 2023

Since the General Data Protection Regulation (GDPR) was applicable back in 2018, website owners have been scrambling to get their websites up to standard and avoid huge fines. Years later, GDPR fines continue, and small businesses are certainly not immune. Although you may receive a warning before being fined, there is no reason to take the risk. If you … Read full article →

An unexpected error occurred. Something may be wrong with WordPress.org or this servers configuration. If you continue to have problems please try the support forums. - An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.

Error: “An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.” indicates a connection problem between your website or hosting and the WordPress.org website. The error can be seen on the Plugin > Add New page To learn more about … Read full article →