WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Category, location, and event pages not formatted like WordPress posts and pages (5 posts)

  1. David Potter
    Member
    Posted 2 years ago #

    I've followed the same rules for adding content to categories and locations that I have for content on a WordPress page or post, but it isn't getting the same treatment, even though tinyMCE shows it as if it does. Is there a shortcode for specifying (e.g.) #_CATEGORYNOTES in a way that will cause the text to be passed through the WordPress text formatter?

    Specifically, what I'm seeing is multiple lines of text being combined together. TinyMCE takes out any formatting I might add whenever I switch to the visual editor, so I'd like for these content shortcodes to be formatted like WordPress formats posts and pages.

    Thanks,
    David

  2. agelonwl
    Member
    Posted 2 years ago #

    You can use shortcode and try this one http://wp-events-plugin.com/documentation/event-search-attributes/ you can use the format attribute to supply placeholders

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    You could probably do that by running #_EVENTNOTES through the EM_Event::output() function again using em_event_placeholders filter, but you gotta watch out for an infinite loop.

  4. David Potter
    Member
    Posted 2 years ago #

    @agelonwl: Sorry for the newb question, but how do I use attributes on a shortcode specified on the Settings page? Or are these attributes not available there? Is there an example somewhere of using attributes?

    @Marcus: How do I run the shortcode through the EM_Event::output() when specifying them on the Settings page? Or is there another way I need to do that? Can you give me an example of how to do that?

    Thanks,
    David

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    If you have a look at http://wp-events-plugin.com/tutorials/ it'll show you how to override placeholders.

    You'd need some WP/PHP knowledge to do this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic