Support

Home Forums Event Espresso Premium Event description text

Event description text

Posted: September 5, 2013 at 6:13 am


Klaus M

September 5, 2013 at 6:13 am

Desperately searching the forum for a solution, sorry. I need to show the TEXT from my <?php the_content();>-ish form (the one from the EE events) in my template. Any idea? Thanks!


Tony

  • Support Staff

September 5, 2013 at 7:01 am

Hi Klaus,

You would need to develop a custom shortcode for that, there is no simpler method to call the event description currently.

The closest would be the [SINGLE_EVENT] shortcode.


Klaus M

September 5, 2013 at 7:03 am

Am i really the first one asking for this? Guess that would be a nice feature for future updates, hm? Well, any help for creating that shortcode?! I am not very familiar with this…

Thanks!


Tony

  • Support Staff

September 5, 2013 at 7:25 am

There may be a way to do what you need, but to give you your best options we need to know what you are trying to achieve.

Are you using the Create a Post feature at the bottom of the events page?


Klaus M

September 5, 2013 at 7:27 am

yes, i do. i just wanna show the EVENT TEXT i am having on the event page on the auto-created post.


Tony

  • Support Staff

September 5, 2013 at 8:13 am

That should be the case already.

When you Create the event and then Yes to create a post it essentially copies all the information from the Espresso Event into a post. If you add more the the Espresso Event later on, you need to go to the bottom of the event and change ‘Add/Update post for this event?’ to Yes and then Update the event.

This once again copies all the information over to the post for that event.

Is this not the case?


Klaus M

September 5, 2013 at 2:53 pm

yes, i am aware of that feature, but thats not what i am looking for as we use thecontent() for other purposes ;( no other way to achieve that?

thanks.


Josh

  • Support Staff

September 5, 2013 at 9:39 pm

Hi Klaus,

I can advise taking a look at the template in /templates/event_post.php and possibly copying over/adapting the code within that adds the $event_desc.


Klaus M

September 6, 2013 at 2:13 am

To make sure i do net mess up or change the code i copied the whole event_post.php in my template, but all i see is nothing ;( other EE data is show, like the date for example ;(

any idea?


Klaus M

September 6, 2013 at 2:23 am

Thanks! Your advice from https://eventespresso.com/topic/custom-fields/ helps here as well ๐Ÿ™‚ The fields do show up now ๐Ÿ™‚ RESOLVED

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