Tuesday, June 6, 2023

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 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 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 […]