Link on acept terms doesn’t open in a new tab

[ad_1]

Hi @peopleinside

Sorry for the inconvenience. This has been already reported to our development team and a fix will be included in upcoming versions of Forminator.

Meanwhile, we have worked on your requested and found that a workaround could help in this case, which is, adding the link through a shortcode. Please add a must-use plugin to your site’s wp-content/mu-plugins folder like this https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins, then add the following code to the plugin’s php file:

<?php
add_shortcode( 'wpmudev_link_shortcode', 'wpmudev_add_link_html_consent_field' );
function wpmudev_add_link_html_consent_field(){
	return "<a href="https://wpmudev.com" target="_blank">WPMUDEV</a>"; //Replace this with your link
}
add_filter( 'forminator_replace_variables', 'do_shortcode' );

Note: In the code please replace the link with your link.

After replacing the link you can use the shortcode [wpmudev_link_shortcode] in the field.

We recommend to test this on the dev/staging version first before putting it on the live site.

Hope it will solve your problem.

Kind Regards

Luis

@wpmudev-support7 works, thank you very much!

Hi @peopleinside

Thank you for the update. Glad to hear the recommended solution was useful!

If you consider the issue has been resolved, we’d appreciate if you can mark this thread accordingly.

Kind regards,

Luis

Done, very kind to ask to me to do 🙂

Issue resolved.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer