Support

Home Forums Event Espresso Premium Single Event listing

Single Event listing

Posted: May 26, 2016 at 11:58 am

Viewing 3 reply threads


Luca Center

May 26, 2016 at 11:58 am

Hello, am having trouble with another page, this time with /events
this pages is looking at the “archive.php”

what “.php” do i need to create? on my theme folder

https://www.lucacenter.com/events/


Josh

  • Support Staff

May 26, 2016 at 12:55 pm

You don’t need to create any new files if all that’s required is you change what’s wrong with archive.php.

Otherwise, you can make a copy of archive.php, then rename the copy to be
archive-espresso_events.php.

Then you add the following to your theme’s functions.php file:

add_filter('FHEE__EED_Event_Archive__template_include__allow_custom_selected_template', '__return_true' );

Then you can make your edits to your new template.


Luca Center

June 4, 2016 at 11:52 am

Hello! I did what you told me, and still have the blog template overwriting the single theme events

links:

events page

https://www.lucacenter.com/events

single event page

https://www.lucacenter.com/el-futuro-del-iva/

and got another question, about Ticket Capability Requirement

i have “manage_options” on WP User Capability required for purchasing this ticket textbox. do i need to do anything else, so only log on people can see that ticket? because right now only “editors/admis” can see the tickets and not subscribers


Tony

  • Support Staff

June 6, 2016 at 7:26 am

/events/ is an archive of the EE posts, so it uses archive.php

A single event is a single event post, so it uses your single.php template (or whichever equivalent used for single posts)

If you want single events to use a different output you’ll need to create a single-espresso_events.php template file based on which template you prefer. It depends on your theme setup, but maybe a copy of page.php?

i have “manage_options” on WP User Capability required for purchasing this ticket textbox. do i need to do anything else, so only log on people can see that ticket? because right now only “editors/admis” can see the tickets and not subscribers

manage_options is a capability that is generally only assigned to the Administrator role, for logged in users you can use the ‘read’ capability.

Viewing 3 reply threads

The support post ‘Single Event listing’ 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