WordPress.org

Support

Support » Plugins and Hacks » Category, location, and event pages not formatted like WordPress posts and pages

Category, location, and event pages not formatted like WordPress posts and pages

  • 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    Plugin Author Marcus

    @netweblogic

    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.

    @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

    Plugin Author Marcus

    @netweblogic

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category, location, and event pages not formatted like WordPress posts and pages’ is closed to new replies.