Tell us what you are trying to do? Set target="_blank" for [wpv-post-edit-link]
It does not work like [wpv-post-link] where I can specify the URL alone, allowing me to build my own anchor tag.
Hi,
Thank you for contacting us and I'd be happy to assist.
Your observation is correct and the "wpv-post-edit-link" shortcode doesn't support the option to add target="_blank" attribute.
To achieve this, you can include some custom script, in your content template's "JS editor":
jQuery(document).ready(function( $ ) {
$('a.new-tab-link').attr('target','_blank');
});
This script will find all the link (a) tags with the class "new-tab-link" and append the target="_blank" attribute to them.
Next, you can include this class "new-tab-link", to your post edit link, like this:
[wpv-post-edit-link text="Edit link" class="new-tab-link"]
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar