Support

Home Forums Event Espresso Premium Event post template

Event post template

Posted: January 25, 2013 at 8:24 am

Viewing 7 reply threads


Marc Diepeveen

January 25, 2013 at 8:24 am

Hi there.
I have the event posts setup and working.
When I click on a link in the event post list, I get to the post itself but it then only shows the title and the description of the post. Somehow it doesn’t use the event_post.php template I think. Am I missing something?


Josh

  • Support Staff

January 25, 2013 at 4:13 pm

Hi Marc,

That’s hard to say from the information I have. Is the custom post types feature enabled in Event Espresso>Template settings? If so, you’ll need to select “Post” as the post type (not Espresso Event) when creating a post. The “Post” post type with use the event_post.php template.


Marc Diepeveen

January 28, 2013 at 1:00 am

Hi Josh, that seems to work, it now uses the template. What template does the Espresso Event post type use though? It would be a lot easier if I could use that type.


Josh

  • Support Staff

January 29, 2013 at 8:31 am

Hi Marc,

There are sample templates in the /post-type-samples folder of the Event Espresso plugin that you can copy over to your theme that use the Event Espresso Post type. Here’s a direct link to the documentation we’ve prepared that outlines the steps to set these up:

https://eventespresso.com/wiki/template-settings/#cpts


victorybeer

February 12, 2013 at 9:15 pm

I can’t get this to work to save my life. I consider myself pretty adept at WordPress customizations, and this process for creating posts is completely confusing to me. Per Josh’s post above if I set the CPT to “Post” and not “Espresso Event,” nothing shows up in the Dashboard under “Event Posts,” and indeed, the page Josh linked to in his last post indicated that you DO in fact have to select “Espresso Event.”

When I successfully create an event and CPT, the CPT doesn’t carry over the venue information, and the Events Landing Page doesn’t pass the featured image in the event listing, and the link generates a 404 every time I click it even though I have it set to go to the post and not the registration page (and yes, I checked to make sure I have no pages with a slug of events…which was inconvenient since I had to change my events landing page slug to “calendar”…why can’t they be the same?). I’ve regenerated permalinks dozens of times. This just doesn’t seem to work.

All I want is the ability to list events in a manner such as blog entries (featured image thumbnail, title, some truncated description info) with a link to the full event details. Is this even possible with this plugin?


Josh

  • Support Staff

February 13, 2013 at 1:37 pm

Hi there,

If all you want is the ability to list events in a manner such as blog entries, then the “Post” post type option is recommended. The “Espresso Event” post type option doesn’t list events as blog entries.

To answer your question about the CPT “events” page slug:

why can’t they be the same?

They can, but it would require changing the post slug that hardcoded as “events” in the custom post type Event Espresso functions.

I highly recommend using the “Post” post type for what you’re trying to do though. The blog post template can be customized by copying over event_post.php template from event-espresso/templates to /wp-content/uploads/espresso/templates and making the customizations there.


victorybeer

February 13, 2013 at 7:36 pm

When I created a Post using the “Post” type, nothing was created in either my Blog entries or the “Events Posts” section of the Dashboard. I did it over and over again and the only way I got something to show up was to create an Espresso Event.


Josh

  • Support Staff

February 14, 2013 at 7:51 am

Hi there,

The Post type posts will show up under “Posts”. Not event posts. It sounds like you may need to make sure you have things configured to create posts.

The first thing I’d recommend is go to Event Espresso>Template Settings and set the “Use custom post types feature” option to No. Then save the options.

Then you can go to create a new or edit an existing event and scroll to the bottom box where it says “Create a Post” . There you’ll select Yes where it asks: “Add/Update post for this event?”. You can assign the post to a category here too.

After that, you can update or save the event.

Then you can go to Posts> All posts and your new will be listed there with the other Posts.

Viewing 7 reply threads

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