Shortcode Link with two custom_field
-
Hello,
thanks very much for you great plugin.
I like and use it a lot.But now I have a problem and hope you can help me.
I like to create a link with your plugin. This link should consist of 2 custom fields:
Customfield 1 is the needed url, custom field 2 is the tracking ID which only depends from shop to shop. In the Shortcode I like to use it like this:
<a href="$$custom_field:url-shop$$$$custom_field:shop-name$$" target="_blank" rel="nofollow noopener noreferrer" title="%%title:title%%">
But if I do this, then the second custom_field is not working (it is not added in the link)
If I try to use a spaces between the custom-fields, than both fields are working but my link isn’t working any more:-(
<a href="$$custom_field:url-shop$$ $$custom_field:shop-name$$" target="_blank" rel="nofollow noopener noreferrer" title="%%title:title%%">
Can you please help me here?
Best regards
Oli
- The topic ‘Shortcode Link with two custom_field’ is closed to new replies.