Siteground: How to install WordPress Multisite
Siteground used to provide an option for installing WordPress Multisite when using Install & Manage WordPress to install WordPress on your site. The last time I installed WordPress, that option was no longer available. The page below on the Siteground site describes how how to convert your WordPress site to multisite: Siteground: How can I […]
How to add a “display current date” capability to a WordPress theme
I use the WP Date and Time Shortcode plugin. I’ve used it for a few months now, and it displays the correct date without issue. The plugin can be found at the url below: https://wordpress.org/plugins/wp-date-and-time-shortcode/
How to completely disable WordPress comments
The Page below on WPbeginner.com provides good info on how to disable WordPress comments. How to Completely Disable Comments in WordPress (Ultimate Guide)
How to get rid of the error message “Too many failed login attempts. Please try again in…” if the WP Limit Login Attempts plugin is not installed
If you encounter this problem on your WordPress site that does not have the WP Limit Login Attempts plugin installed, try thinking of another plugin on your site that may offer that feature (probably a membership plugin). When I encountered this situation, I remembered that I was logging into the site front end though Youzer. […]
How to create a WordPress menu logout link that bypasses the “are you sure you want to log out” message
This is what worked for me. First I created a custom log out menu link like the one below. I named the link label “logout” https://yoursite.com/wp-login.php?action=logout&redirect_to=https://yoursite.com Then I added the code below to my child theme’s functions.php file: function change_menu($items){ foreach($items as $item){ if( $item->title == “logout”){ $item->url = $item->url . “&_wpnonce=” . wp_create_nonce( ‘log-out’ […]
How to get rid of the “Sorry, this file type is not permitted for security reasons” when uploading to WordPress
Adding the following line to my wp-config.php worked for me: define(‘ALLOW_UNFILTERED_UPLOADS’, true); I obtained this solution at the link below https://kinsta.com/knowledgebase/sorry-this-file-type-is-not-permitted-for-security-reasons/
How to change the WordPress sender e-mail address without a plugin?
Adding the following lines to my child theme’s functions.php file worked for me. Substitute the e-mail address of your choice for add email address function wpb_sender_email( $original_email_address ) { return ‘add email address’; } add_filter( ‘wp_mail_from’, ‘wpb_sender_email’ ); A note about this solution: This is for changing only the e-mail address; not the sender name […]
How to redirect all the pages from an old domain to the homepage of a new domain
Inserting the following line in the old domain’s .htaccess worked for me: RewriteRule ^(.*)$ https://newdomain/ [R=301,QSD,L] I obtained this solution from the url below: https://webmasters.stackexchange.com/questions/115617/how-to-redirect-all-pages-of-site-a-including-those-with-query-strings-to-home
MAMP: How to get rid of the error message “The link you followed has expired” when attempting to upload a WordPress theme
When I encountered this problem, after doing some research on the net, I determined the problem was most likely caused by the WordPress Maximum File Upload Size, which was set to 8mb by default. The Newspaper theme I wanted to upload was 11 mb. To increase the default WordPress Maximum file upload size, I added […]