Outputting invalid a Tag links
-
This suggestion isn’t working: https://wordpress.stackexchange.com/questions/378971/adding-author-url-to-nav-menu-via-shortcode
Basically, when you use the plugin with this shortcode:
add_shortcode( ‘author_url’, function() {
return get_author_posts_url( get_current_user_id() );
} );the output is either plain text or if you put the shortcode in the custom link field it creates a url that looks like this: https://https://mysite.local
How do you stop it from outputting the extra http?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Outputting invalid a Tag links’ is closed to new replies.