Support

Home Forums Event Espresso Premium Shortcode to generate events like on category page

Shortcode to generate events like on category page

Posted: December 5, 2019 at 9:20 am

Viewing 1 reply thread


webexperten

December 5, 2019 at 9:20 am

Hello-

we like the layout of the events on the archive page, e.g. http://wordpress.p529026.webspaceconfig.de/seminare/ in our case.

But we would like to include this layout on a page. We could not find a way to achieve this -I only found shortcodes for lists or grids, but none to output this result.

Can you please help me out here?

Thanks, Marcel

ps: Even the category shortcode [ESPRESSO_EVENTS category_slug=suchtpraevention] gives a list (http://wordpress.p529026.webspaceconfig.de/fortbildungen-uebersicht/), altough the category gives the correct layout (http://wordpress.p529026.webspaceconfig.de/event-category/suchtpraevention/)


Tony

  • Support Staff

December 5, 2019 at 10:46 am

Hi Marcel,

The output on the archive is from your theme (likely an archive.php template file but it depends on what the theme does) and EE simply hooks into the_content and injects the event details to output, so we don’t have a shortcode that will match that output.

It would be possible to create if you copy what the theme does on that template and create a shortcode from it if you are comfortable with PHP and theme template files?

Viewing 1 reply thread

The support post ‘Shortcode to generate events like on category 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.

Event Espresso