• Hello. I want to insert acf (link) field into my HTML code and display it in Elementor templates, for example
    <a href src="<?php the_field('post_audio'); ?>"><test</a>

    if I write the code in a template like single.php everything works
    but I want to insert this case into Elementor template. shaman and so and so, I can not display php. and woody snippet created
    <a href src="[wbcr_php_snippet id="79486"]">test</a>

    but it also does not help, the link to the post is displayed, and not to the field value.
    snippet without html code displays the correct link, but when inserted into html, the link from the snippet is not displayed`

    • This topic was modified 3 years, 2 months ago by sternman.
Viewing 1 replies (of 1 total)
  • Plugin Support Temyk

    (@webtemyk)

    Hello.

    I completely misunderstood your question. Are you intentionally specifying a link in the src attribute instead of href?

Viewing 1 replies (of 1 total)
  • The topic ‘Woody PHP snippet with HTML’ is closed to new replies.