Automatically add featured image Alt Text from post title
The following code snippet will automatically generate Alt Text for all featured images from the Post Title. If you are looking for more settings, check the SEO Friendly Images plugin.
The following code snippet will automatically generate Alt Text for all featured images from the Post Title. If you are looking for more settings, check the SEO Friendly Images plugin.
When editing the menu in customizer the changes failed to save with the error message: Looks like something’s gone wrong. Wait a couple seconds, and then try again. And when inspecting the page the following error appears: POST http://plugins.club/wp-admin/admin-ajax.php 403 (Forbidden) The 403 error is caused by something blocking access to the file such as … Read full article →
When it comes to cleaning huge websites of malware, if the database is several GB in size, it becomes difficult to navigate and remove bad code. PHPMyAdmin and text editors become completely useless for databases over 2GB in size. Here’s a script I came across recently and turned to be quite helpful in removing malware … Read full article →
Error connecting to Mailchimp: 0 cURL error 28: Failed to connect to us17.api.mailchimp.com port 443 after 7207 ms: Couldn’t connect to server If none of the suggested solutions form this guide work: https://www.mc4wp.com/kb/solving-connectivity-issues/ Try to manually connect from your hosting server to the MailChimp server. First, try curl: if that fails, do traceroute (MTR) to see … Read full article →
Here are the most common types of WordPress malware attacks. Permanent malware eradication entails conducting a thorough investigation and determining the type of attack that occurred, how it occurred, and permanently closing that door. This is known as root cause analysis and vulnerability fix in the security world. 🔀 Cross-site scripting (XSS) The most regularly … Read full article →
Here is a simple WordPress plugin that uses the [site] shortcode to display the website name: It uses the get_bloginfo() function to retrieve website information, and do_shortcode() function to display the information in the WordPress post or page. We can use get_bloginfo() function to also display additional information such as URL, WordPress version, etc. Here … Read full article →
🐱💻 Denial-of-Service or DoS attack in short, a DoS attacks tries to create fake traffic to overload your WordPress website, so much so that it becomes unavailable due to hositng/server limits. An extension to DoS is the DDoS attack with stands for Distributed Denial of Service. This one originates from multiple IP addresses. Types of … Read full article →
The .htaccess file is a configuration file that is used by the Apache web server to control various aspects of how the server functions. In WordPress, the .htaccess file is used to control various settings related to the permalinks of your website, as well as to protect your website from various types of attacks. The … Read full article →
The ability to copy/clone a post or a page in WordPress is a function that we would like to see added in future versions of WordPress CMS. Until then, we’ll have to rely on plugins. 🙂 Here are 5 of the most popular plugins for easily cloning and copying articles. Yoast Duplicate Post With over … Read full article →
Tab completion is a useful time-saving feature of command line interfaces. To enable tab completion for WP-CLI We need to edit the ~/.bash_profile file. Step 1. In your home directory download WP-CLI tab completion file Step 2. Edit your ~/.bash_profile and add the following line: source ~/wp-completion.bash Save and exit. Step 3. Source the profile … Read full article →