Caleb
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Removing logout confirmationHi @jurasjo,
I found a workaround, but I can’t get it to work with the WooCommerce endpoint. At least the users won’t have to confirm the logout.
If you create a custom link in your menu, set the label to “Logout”, and set the URL to https://yourdomain.com/wp-login.php?action=logout. Then add this function to your 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' ); } } return $items; } add_filter('wp_nav_menu_objects', 'change_menu');
I am still trying to figure out how to redirect users after logout, because I don’t want them to see the default WP login page after they logout. Also, I’d still like the WooCommerce endpoint to include the wpnonce.
Forum: Plugins
In reply to: [WooCommerce] Removing logout confirmationI am adding a logout link the same way as @jurasjo and I would also like to know how to remove the logout confirmation. I am using WooCommerce endpoints in a menu.
There has to be some sort of function that would add the WP nonce to the WooCommerce /customer-logout/ endpoint. Having users confirm their logout is not very user-friendly.
Forum: Plugins
In reply to: [Post Type Switcher] Bulk Editing : Where are you ?Just as you would bulk edit the Status of a post or the Author. You select all the posts you want to modify, click on the ‘Bulk Actions’ drop down, choose ‘Edit’, and click apply. This brings up the bulk options and there you can choose what post type to move the posts to.
Hope that was helpful ??
Forum: Plugins
In reply to: [Groups] Menu changes when logged outThat’s not the problem. I fixed it. It was because I had a group with no capabilities. Once I gave the group capabilities the menu issue was fixed.
Thanks!
I need this to have validation if blank too.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] RSS Feed for PlayersAwesome thanks!
Thanks Brian! That worked for me ??
This plugin is awesome!Forum: Plugins
In reply to: [Team Rosters] Getting a Warning on Page with Roster Shortcode.Thanks Mark!
Forum: Plugins
In reply to: [Team Rosters] Getting a Warning on Page with Roster Shortcode.Oh wait, I just checked my WordPress backend after adding the code you suggested. My whole wordPress admin was a blank white page. But the frontend of my site was working. So I had to remove the code, and the WordPress admin was fine. But now the error is still showing up. How can I fix that?
Forum: Plugins
In reply to: [Team Rosters] Getting a Warning on Page with Roster Shortcode.Thank you! That fixed it.
Forum: Plugins
In reply to: [HTML Import 2] .htaccess code giving me a 500 Internal Server ErrorYou can close this post now
Forum: Plugins
In reply to: [HTML Import 2] .htaccess code giving me a 500 Internal Server ErrorThanks for the 6 month late reply.
Forum: Plugins
In reply to: [New User Approve] Customize Email Sent to new usersI appreciate it. Thanks.
Forum: Plugins
In reply to: [New User Approve] Customize Email Sent to new usersStill waiting for an answer here…..
Forum: Plugins
In reply to: [New User Approve] Customizing email message bodyIs the update out yet? If so, how can I customize the email sent to new users?
Thanks.