Forum Replies Created
-
AuthorPosts
-
SouthsideParticipant
Thank you! I will test that.
The code I found when I googled was short and had a different approach, adding nonce (if I understand correct).
I do not know if this code is better/safer, or if it is working the way I need. Maybe I test both./** * Add nonce to logout URL in navigation */ function add_logout_url_nonce($items){ foreach($items as $item){ if( $item->url == '/wp-login.php?action=logout'){ $item->url = $item->url . '?redirect_url=/&_wpnonce=' . wp_create_nonce( 'log-out' ); } } return $items; } add_filter('wp_nav_menu_objects', 'add_logout_url_nonce');
SouthsideParticipantI am glad it was a bug and not me going crazy 😉
So problem was not user settings or non-logged-in, but the fact I had two menu items with the same name/title (but different slug). Looking forward to the update!Thank you for taking the time to solve the problem.
SouthsideParticipantVladimir: feel free to delete this question if you want to, as the question is wrong and we now have fixed this via email.
If someone else wants to know: After more testing I found out there is No problem with URE and the sidebars. But there are a small incompatibility with the plugin Nextend Accordion Menu, and Vladimir will fix that.
Problem solved.
SouthsideParticipantWorked perfect! Thank you.
SouthsideParticipantThank you! We will try that.
Sorry I forgot, is it possible to also get the date when the user was registrered?
SouthsideParticipantThanks! That would be a great little timesaver.
-
AuthorPosts