Support

Home Forums Event Espresso Premium Edit Button Gone

Edit Button Gone

Posted: March 25, 2023 at 7:30 am

Viewing 6 reply threads


Amy

March 25, 2023 at 7:30 am

Is the categories and Edit Button showing up an the event page standard? With switching themes, these options are gone. See photos

Edit Button Visible

Edit Button Missing


Amy

March 25, 2023 at 7:42 am

I checked with Buddy Boss and they had no idea what I was talking about. I’m pretty sure this is just standard with WordPress, right?


Amy

March 26, 2023 at 8:41 am

I figured this one out. 😀 Thanks!


Amy

March 26, 2023 at 11:51 am

For others looking at this ticket, add this code to your single-espresso-event.php file that you add to your child theme.

<?php edit_post_link(__(‘Edit Event’)); ?>

You can change ‘Edit Event’ to whatever you want as long as you keep the ‘ on each side.

NOTE: If you’re not customizing your event page using the single-espresso-event.php file, there is other code you can add at a higher level.


Tony

  • Support Staff

March 27, 2023 at 6:15 am

Hi Amy,

II see you’ve found the solution already but just to note the above links are indeed from your theme.

I’m pretty sure this is just standard with WordPress, right?

The above function is a WordPress core function your theme would call to add the links to the output.

(It can also be done through a plugin via a hook, but generally, it’s don’t through the theme).


Amy

March 27, 2023 at 6:23 am

I had it thru a plugin in first but once I got the Single Event Page working, the Edit Button disappeared again. So I had to bring it in there.


Tony

  • Support Staff

March 27, 2023 at 6:26 am

Yep, it’ll depend on what that plugin was hooking into to output the links.

When you changed themes the hook likely changed… or was part of the original theme and isn’t in the current one so the code didn’t run.

Viewing 6 reply threads

The support post ‘Edit Button Gone’ 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