Support

Home Forums Event Espresso Premium Trying to clear author name and date from event listing, & can I edit event page

Trying to clear author name and date from event listing, & can I edit event page

Posted: February 2, 2020 at 6:21 am


Gabrielli

February 2, 2020 at 6:21 am

Hello,

I am trying to hide the author and date information that comes up on my event listing page at the top under the event title. I did research the forums for this issue and found the way to do this is to use the CSS code:

.espresso_events .post-info {
display: none;
}

I’m a novice website builder and am not sure where to put that code? I am using DIVI builder and have put code before into a new module the event listing page. Which brings up a second question for me…

How do I actually edit the event listing page? With EE3 I was able to use a single event shortcode to add the full listing, and then edit that page. However, here I can only add shortcode for the ticket selector to a page that I’d like to edit, not the whole event listing.

So there’s 2 questions please, 1 about hiding the author and date, and 1 about how to edit a single event page?

Thank you!

Rob


Tony

  • Support Staff

February 3, 2020 at 4:11 am

Hi Rob,

With EE4 your events are custom post types (in EE3 they were not, there was a feature to ‘duplicate’ and event into a post but that’s not really the same thing) which essentially means that in EE4 your theme controls a lot of the output (almost all of it in fact).

So having said that:

I am trying to hide the author and date information that comes up on my event listing page at the top under the event title. I did research the forums for this issue and found the way to do this is to use the CSS code:

EE doesn’t actually output those details, your theme does.

The problem with that is each theme uses its own CSS classes so the above may not work for you.

Can you link me to an event I can view to confirm, please?

How do I actually edit the event listing page? With EE3 I was able to use a single event shortcode to add the full listing

My apologies but this mentions the event listing page and then the single event page so I’m not sure which one you are trying to edit?

Both are not as simple to edit as they were in EE3 because of how the events are custom post types. We have some options within EE that allow you to change what is output and the order they are output but it depends on what it is you want to change.

So can you provide more specifics on this, please?

(Reading the above it may sound like switching to use custom post types restricts you more and in some cases it does, however, we had a lot of feedback from users that wanted EE3 events to be custom post types and that’s one of the reasons we used them in EE4. The main reason to do is so that EE4 events are now consistent with the rest of your site, EE4 events are posts and should be output like posts)


Gabrielli

February 11, 2020 at 8:38 pm

Hi Tony,

Sorry for my very delayed response to your message. Another project took over priority, and I also didn’t understand much of what you were sharing with me. I’ve now had time to research what a Custom Post Type is! Which is good because it seems like a primary WP piece. I now get more what you are saying in this response. Thanks for that!

I have shared this info with an actual web developer who is going to help me out with this styling and theme changes. I’ll let you know if I run into any more challenges. And yes, I get why you were confused a bit by my question. I was saying ‘event listing’ and also ‘single event page.’ I was meaning just editing the single event page.

Thanks again and I’ll let you know if a question arises! Best,

Rob


Tony

  • Support Staff

February 12, 2020 at 2:49 am

No problem 🙂

Please do let us know if you run into any problems.


Gabrielli

February 15, 2020 at 6:57 pm

Hello again!

I have done much learning and understand much more what you said above. I see how the events index, single event page, and registration page are custom post types. It seems that you cannot edit the EE4 pages with the DIVI builder, which is what the site I work on uses. The exception here appears to be if you use the shortcode [ESPRESSO_EVENTS] on a separate page and you can do some DIVI editing there.

With that being the case, we believe the best way to do this is to edit the templates so that all new events propagate into the listings with the same style.

If that all that seems right, my question is about the Event List, which I believe is also called the ‘archive’ or ‘index.’ That seems to have limited information that comes up for each listing. There is more info and button links that are on the page with the [ESPRESSO_EVENTS] shortcode. Therefore, it makes sense to me to use a page with the [ESPRESSO_EVENTS] shortcode and modify the styling for that and use that as our main event listing page/index that people begin at.

Would it work to use that page as our Event List? Hopefully this makes sense. I can also send screenshots if that helps.

Thank you,

Rob


Tony

  • Support Staff

February 17, 2020 at 7:10 am

I see how the events index, single event page, and registration page are custom post types.

That’s not actually correct.

The EE events are a custom post type (espresso_events)

The ‘event index’ (I assuming /events/) is the archive of the EE event posts.

The registration page, is a standard page with the [ESPRESSO_CHECKOUT] shortcode set on it. (You can edit the ‘Registration Checkout’ page to change some elements, but not the checkout itself).

It seems that you cannot edit the EE4 pages with the DIVI builder, which is what the site I work on uses.

Correct, EE4 does not support ANY page builders, including (but not limited to) Divi builder.

The exception here appears to be if you use the shortcode [ESPRESSO_EVENTS] on a separate page and you can do some DIVI editing there.

That’s a standard page with the [ESPRESSO_EVENTS] shortcode, you’ll have the same level of control there with Divi as you do with the registration checkout page.

If that all that seems right, my question is about the Event List, which I believe is also called the ‘archive’ or ‘index.’ That seems to have limited information that comes up for each listing.

The events archive uses your themes archive template, thats usually archive.php but may not be (it depends what the theme is doing).

I don’t use Divi but iirc if you want additional details to be displayed on the archive you’ll need to enable Divi’s blog mode:

Dashboard -> Divi -> Theme options -> General -> Blog mode/Blog Style -> Enable.

I don’t know if that will alter the output of other areas of your site so if you enable it, double check the rest of your site looks as it should.

There is more info and button links that are on the page with the [ESPRESSO_EVENTS] shortcode.

Basically, that shortcode calls each individual EE template file to build the event list, the archive uses your theme’s template.

Therefore, it makes sense to me to use a page with the [ESPRESSO_EVENTS] shortcode and modify the styling for that and use that as our main event listing page/index that people begin at.

Would it work to use that page as our Event List?

It will work but anywhere that EE links back to the event list would by default go to the archive, so you’ll need to add some snippets to your site to direct that to the new page.

Its nothing complicated, but depends on the feature you use as to which snippet(s) you’ll need.


Gabrielli

February 18, 2020 at 11:26 am

Thank you Tony! So helpful! I think we’re about there.

First off, I Enabled the “Blog Style” button in DIVI theme options and that completely put all of additional details on that page, the same details I was seeing with the shortcode [ESPRESSO EVENTS].

So I believe we’re ready to move forward, but want to just double-check. For doing the custom style design to the page that lists our events, it seems that it makes the most sense to custom style the Events Archive page (/events/)? Rather than just a standard page with the [ESPRESSO EVENTS] shortcode?

And, we would do this by customizing the template?

Thanks again!

Rob


Josh

  • Support Staff

February 19, 2020 at 9:31 am

Hi Rob,

I think you’ll have more control over the overall layout of the page that has the [ESPRESSO_EVENTS] shortcode because that uses a page template. If you’re only doing styling with CSS then you could do either without actually making changes to the templates.


Gabrielli

February 21, 2020 at 5:19 am

Hi Josh, thanks for that info! It made sense to the web developer I’m working with, so I think we’re ready to give it a go. Thanks again to you and Tony for the prompt responses. Best, Rob


Tony

  • Support Staff

February 21, 2020 at 5:24 am

You’re most welcome, any further questions just let us know.

The support post ‘Trying to clear author name and date from event listing, & can I edit event 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 Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 1 month, 2 weeks ago ago

Topic Tags

Notifications

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