Support

Home Forums Event Espresso Premium Display Descriptions Length

Display Descriptions Length

Posted: July 30, 2015 at 4:04 pm

Viewing 6 reply threads


Dallas REIG

July 30, 2015 at 4:04 pm

Hello. I am setting up my event list page but cannot seem to get the event description to output as I want it to.

According to the settings if we have Event Description set as excerpt it will do as follow:
Selecting “excerpt” will display the text you entered into the “Excerpt” textarea on the event admin page, OR, any text in the main text editor above the “<!–more–>” tag.

I do not have any excerpt text but I do have a <!–more–> tag which will partially work. If I put the tag high up in the description it will stop at the tag, but if I put it lower then it stops working and just stops wherever it wants. I tried to do some research (I am not a php expert by any means) and found this function:

function espresso_event_content_or_excerpt( $num_words = 55, $more = NULL, $echo = TRUE )

This appears to be stopping the description at 55 words as a hard stop but this is not what I am needing and the help section mentions nothing about the 55 word hard stop, only that it will output the excerpt or anything up the more tag.

How can we have it do as the help desc states and output anything up to the more tag regardless of how many words there are?

Thanks in advance.


Dallas REIG

July 30, 2015 at 4:12 pm

Also my html tags are getting stripped on the event list page but not in the single event page.

How do I stop my tags from getting stripped?

The tags that were included before my <!–more–> were <h3> and <p> so not sure why they would get stripped.


Lorenzo Orlando Caum

  • Support Staff

July 30, 2015 at 5:34 pm

Hi Maceo,

Could you go to Event Espresso –> Events –> Template. Then adjust the display description settings to show the full description and save changes:

http://cl.ly/image/2q0z1b3o1K23


Lorenzo


Dallas REIG

July 30, 2015 at 5:44 pm

thanks, that works for both of my posts above, although the help topic is misleading, 🙂


Lorenzo Orlando Caum

  • Support Staff

July 30, 2015 at 5:49 pm

Hi Maceo, could you share additional feedback?

Is the information or the options available confusing?

Thanks


Lorenzo


Dallas REIG

July 30, 2015 at 6:10 pm

That’s what I listed in my original post. The help topic states for the excerpt option:
Selecting “excerpt” will display the text you entered into the “Excerpt” textarea on the event admin page, OR, any text in the main text editor above the “<!–more–>” tag.

For the Full Description option the help topic states:
Selecting “full description” will display ALL of the text content you entered into the main text editor on the event admin page.

So the misleading part is that based on help, you should use the excerpt option if you want to use the <!–more–> tag. The full description option help mentioning nothing about the <!–more–> tag usage to limit output.


Dean

July 31, 2015 at 7:29 am

Thanks for the feedback! I’ll add a ticket to see if we can reword that help content to make it clearer.

Viewing 6 reply threads

The support post ‘Display Descriptions Length’ 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