Trams
Thanks for the answer, Peter. I'm afraid these two extensions are simply not fully compatible. It is beyond my competence to judge where the problem lies. I did some more tests and removed the foreach loop and surrounding div tags for clarity. I have tried the following versions:
1: {article}<span class="event_link">[event-link:value]</span>{/article}
2: {article}<span class="event_link">[event-link:value layout="false"]</span>{/article}
3: {article}<span class="event_link">[event-link:value links="false"]</span>{/article}
4: {article}<span class="event_link">[event-link:value layout="false" links="false"]</span>{/article}
5: {article}<span class="event_link">[event-link:text]</span>{/article}
6: {article}<span class="event_link">[event-link:text layout="false"]</span>{/article}
7: {article}<span class="event_link">[event-link:text links="false"]</span>{/article}
8: {article}<span class="event_link">[event-link:text layout="false" links="false"]</span>{/article}
Test 1 and 3 result in the following code:
<span class="event_link">{"text":"TALK SHOW Homepage","url":"https:\/\/www.talkshow.band\/","target":"new_tab"}</span>
All others:
<span class="event_link"><a id="acf_url_2950_9" href="https://www.talkshow.band/" class="acf_url" target="_blank" rel="noopener noreferrer">TALK SHOW Homepage</a></span>
Unfortunately, the desired output does not seem possible. What else can I do? Do you think the problem is with the ACF URL field and I should contact Tassos? Or can you have a look?
It would be great if Articles Anywhere and ACF were fully compatible. The combination of these two extensions would open up worlds of possibilities.