I am creating a product page template and I want to display a text link that has the top-level URL (externalwebsite.com) as the anchor text and then the specific product page (externalwebsite.com/product) as the href attribute.
I imagine the html of the output to look something like this:
<a href="$product_url_attribute">$brand_url_attribute</a>
I am using the solution by @helgatheviking on this question to pull and display individual attributes using shortcodes and it works really well for my needs.
I've tried messing around with this code to achieve what I need, but the PHP is a little too over my head.
Let me know if I haven't been clear.
I appreciate all the help on this.
My Answer:
html
externalwebsite.com
Rate this post
3 of 5 based on 9812 votesComments