Creating Links | WordPress.org

Hello @klingbeil

I’m sorry, but I don’t understand your explanation:

>>> For example, I uploaded the iframe code to the ABCD site. When the form is loaded onto the ABCD site, it should create an additional nofollow link on the ABCD site outside of the form. However, this rule must be implemented directly within the form using JavaScript code, not through the iframe.

If you want to pass a link to the form via its URL you can do something similar to:

<iframe id="xxx" src="https://www.xxx.com/?cff-form=15&link=https%3A%2F%2Fwww.abcd.com%2Fpage'" style="width: 100%; height: 2581px; overflow: hidden; border: none;" scrolling="no"></iframe>

I’m passing the link parameter with an URL to the https://www.abcd.com/page page

Now in the form, you can insert an “HTML Content” field with a DIV in its content where display the link

<div class="link-container"></div>
<script>
var link = getURLParameter('link', '');
if(link) document.getElementsByClassName()[0].innetHTML = '<a href="'+link+'" rel="nofollow">Go to the page</a>';
</script>

Best regards.

  • This reply was modified 4 minutes ago by codepeople.

 

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