custom field value as the link text
-
Would like to get the custom field value and pass it as the link text.
I’ve started with this:
[loop type="post" field="recipe" category="breakfast-ideas-2"] Recipe: <a href="[content field='url']">[content field="title"]</a> [/loop]
What I’d like to do is replace the post title with the custom field value within the [content field=”title”]
ex. recipe: custom field value
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘custom field value as the link text’ is closed to new replies.