Posted: January 4, 2019 at 12:16 pm
I suspect the solution is exactly like the earlier topic, but looking for the code location of the loop to encompass for this page listing: https://iclega-attend.org/event-category/live/ and any other “event-category” that we dream up eventually. Thanks. |
|
One way to avoid having to mess around with the global So for example However, having said that, most themes would usually use the_loop for the above and so would normally setup the global The reason your post doesn’t output the ACF values there is because EE is set to use the short description/exceprt on the event lists, which strips out shortcodes. Go to Event Espresso -> Events -> Templates -> Event list pages -> Display Description Set that to full description and EE will output the ACF values. |
|
Great explanation. Noted and tested. Thanks. |
|
The search results page suffers a similar fate. Only the pipes show up, no values. I have put the id in the acf reference. |
|
That’s actually nothing to do with Event Espresso, your theme is outputting the post excerpt using the_exceprt(). the_exceprt() removes any shortcodes when auto generated from the content, this is from the codex:
So it’s basically the same answer as above only this time its content that EE doesn’t control. What you could do is copy your themes search.php file into your child theme and then change this line:
To this:
Which should output the full post content rather than the excerpt. |
|
This reply has been marked as private. | |
You’re most welcome 🙂 |
|
The support post ‘ACF shortcodes not rendering in Event Espresso category list page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.