I am using an :after
pseudo selector to place some text after an element on my page. I would like for this text to be content managed using Advanced Custom Fields, but I am not able to get it to work. Here is my code:
<style>
.hc-copy:after {
content:"<?php the_field('hero_paragraph'); ?>";
display:block;
}
</style>
When the PHP is parsed, the content
property is just empty on the page. Is this possible?