Template with ACF field with link
-
Hi,
I have just installed this plugin and am failing my first test setup miserably. I am trying to set up an If condition to display an ‘Edit Post’ link on the post with the edit link URL contained in an ACF field within the post. I have tried a myriad of combinations, including this one:
<If user_field=name is value="{Field author_name}"> <a href="{Field acf_text=edit_post_link}" />Edit post</a> <Else />You are not the author. </If>
It shows the words ‘Edit Post’ but some combinations link to the Post itself and others remove the link but keep the words. I can’t seem to get it to link to the link contained in the ACF field.
I did try searching L&L’s docs but there was nothing about how to include the ACF field within a HTML link. Thanks in advance.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Template with ACF field with link’ is closed to new replies.