• Resolved slash75

    (@slash75)


    Is it possible to prevent categories from displaying on an event page?
    I have disabled this under Event Settings but it still shows the word “Category” on the page.

    Also, at the bottom of the event page it shows the following:
    PREVIOUS ARTICLE | NEXT ARTICLE

    Underneath that there is a link to the event page.

    Is it possible to rename this to PREVIOUS EVENT?
    Or remove this section all together?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    EM User here too 🙂

    The Previous / Next link is the wp_navigation, which is coded in your theme files. Probably single.php or post.php as this is normally only used on posts and not on pages 😉 You will need to delete that code if you don’t want it shown, or change your events to pages. (Events > Settings > Pages > Event Pages.
    https://codex.wordpress.org/Function_Reference/previous_post_link

    To remove the “Category” in your event mark-up, you need to delete the placeholder in Events > Settings > Formatting > Single Event. 😉

    EDIT:
    If you change the code from “ARTICLE” to “EVENT”, it will also change for your regular posts. You can copy the post.php (or single.php, depending on your theme) and rename the copy to single-event.php. If you edit that copy, your posts will remain untouched.

    Thread Starter slash75

    (@slash75)

    Thanks!

    I was able to delete the placeholder in Events > Settings > Formatting > Single Event.

    After going through my theme settings again I found an option to turn off Post Navigation which removed the Previous / Next links.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Event Pages’ is closed to new replies.