Support

Home Forums Multiple Event Registration Add-on Now showing on Archive page.

Now showing on Archive page.

Posted: March 11, 2019 at 6:34 pm


Michael

March 11, 2019 at 6:34 pm

Hi, I would like the multiple event plugin to display on my archives page. I selected “Yes” in the template section, but nothing shows. Am I missing anything?

Thanks!


Michael

March 11, 2019 at 6:48 pm

I just wanted to follow up, I would like to mimic this set up on your video:

-Archives page

-Title
-Selector

Etc.

https://www.evernote.com/l/APf5TbyfhyRD5Z_ZgK_6x28LrF0ZCiMxE7c


Josh

  • Support Staff

March 12, 2019 at 7:43 am

Hi,

May I ask what exactly did you set to “Yes” in the template section? If I understand your question, the settings you’ll change to “Yes” in Event Espresso > Templates are “Display Ticket Selector” and “Use Custom Display Order”. Then you’ll arrange the items under Display Order.


Michael

March 12, 2019 at 11:32 am

Hello, sorry for not being clear. Yes, I have selected Yes for Display Ticket Selector and I arranged them:

https://www.evernote.com/l/APcflW12PxJO3a6uVQ4YpuChFzz78PVCkJw

But the ticket selector doesn’t show:

https://www.evernote.com/l/APeDTst0fgxIRbpFHop18xb5L3BElqhusZ0

Is there a template tag I can use to display it?

Thanks!


Josh

  • Support Staff

March 12, 2019 at 12:08 pm

There is a template tag, but it’s strange you’d need to use one there. May I ask did you need to use a template tag there to display the dates that are included there?
If so, then you could also include:

<?php global $post;
espresso_ticket_selector( $post ); 
?>

in the custom template to display the ticket selector for each event.

Alternatively you could add a page to the site, and place the [ESPRESSO_EVENTS] shortcode in a shortcode block on the page (or in using the classic editor, just add the shortcode to the content field. The shortcode will use the event list settings in Event Espresso > Events > Templates.


Michael

March 12, 2019 at 12:16 pm

The template tag worked. Thank you so much. To answer your question, yes, I had to add the template tag to my archives page. I duplicated my archives page (My custom theme is based on _S) and renamed it archive-espresso_events.php

There seems to be another issues that cropped up. When I select Add to event Cart, the Lightbox pops up but I get overlay and I cannot click on anything. There seems to be a conflict with a plugin, I will have to investigate further.

Also, is there a filter to remove the word Event from this plugin? View Event Cart, Add To Event Cart, etc? My client is offering classes and the word vent doesn’t fit.

I am not sure about your forum rules, if you need me to create a new topic please let me know.

Thank you!


Josh

  • Support Staff

March 12, 2019 at 12:53 pm

Oh OK. So having an archive-espresso_events.php template is actually what prevents the filtered content from being included. The idea for that is if you’re building with an archive-espresso_events.php template, you probably want to use template tags instead of having the content filtered in automatically. The content will filter in automatically if the name of the template is archive.php, index.php, and so on.

With regards to filters for changing the text of each of the buttons, those are listed in the Multi Event Registration wiki:

https://eventespresso.com/wiki/ee4-multiple-event-registration-add-on/#customizations


Michael

March 12, 2019 at 1:08 pm

Thank you so much, I prefer to use template tags for control. I couldn’t find one for the plugin (MER) on the docs page. I hope I didn’t overlook it.

Thanks for your help!


Tony

  • Support Staff

March 13, 2019 at 3:26 am

MER hooks into the ticket selector and changes the text, it then basically sits between the ticket selector and checkout with a ‘cart’.

This means there isn’t a template tag for MER, but may I ask what you would like such a template tag to do?

The support post ‘Now showing on Archive 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.

Support forum for the Multiple Event Registration add-on.
Documentation for Multiple Event Registration Add-on
http://eventespresso.com/wiki/multiple-event-registration-add-on/

Status: closed

Updated by  Tony 2 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!