• How do I add the target=”_blank” to this code so that user website links would open in a new tab? When I add that to the code the website stops displaying all together.

    after_title='<a href="{al:user_url}"> {al:user_url}</a>'

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @seanrowe

    WordPress automatically filters the href attribute when target is set to _blank and gets rid of the non URL characters at the start so the href ends up being user_url}

    So the functionality breaks.

    Version 2 of the plugin is planned to be released sometime this week. All the settings are handled via options (no shortcode parameters needed) and this issue does not happen in it.

    We’re doing some final tests and adjustments but 99% that it’s being by the end of this week.

Viewing 1 replies (of 1 total)
  • The topic ‘How do I open URLs in new Tab?’ is closed to new replies.