Posted: 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! |
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. |
|
|
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! |
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? |
|
|
yes, i do. i just wanna show the EVENT TEXT i am having on the event page on the auto-created post. |
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? |
|
|
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. |
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. |
|
|
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? |
|
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.