When you say the theme is based on TwentySeventeen, is it a child theme of twentyseventeen you are using or a custom theme based on it?
Unless I’m missing something obvious here the output would not be from \template-parts\page\content-page.php if you are viewing an EE event single post, it would be from single.php and likely use the_post_navigation() (which then uses the functions targeted by the above snippet).
I tested the snippet you posted with the default twentyseventeen theme and it works for me when, you can see it when using something like Debug bar to view the queries on the page.
Yes, I am using a child theme of twentyseventeen. Thank you for the comments regarding which PHP file was actually being used. I will set that page up in my child theme and try it out.
Viewing 2 reply threads
The support post ‘Previous and Next order in a "TwentySeventeen" based theme’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.