As seen at http://www.rockcityrecord.com/events/category/events/list/ the excerpt for the show is pulling the visual composer shortcodes as the excerpt. Is there any way to avoid this. I would rather it show no description/excerpt than this. I have posted the response below from the Events Calendar Pro support:
Hi – I’m sorry you’re hitting difficulties. By default the events list displays an excerpt (which may be generated automatically) and this would not normally include any shortcodes. However, I wouldn’t expect valid shortcodes to display at all in this situation: that makes me think that, although what you shared looks like a nest of shortcodes, it is actually something bespoke that only your theme/visual composer plugin understands. Can you confirm which theme or plugin you are using that implements this? In the default template used within list view to display an individual event we are, ultimately, using nothing more exotic than WordPress’s the_excerpt() function – can you confirm with the vendor of your theme/plugin if there is some better approach?
Hi,
I’m not sure how you can easily get the shortcodes out from the description as the content of your events is represented by those shortcodes used to build the event page, so my guess is that you would need something like a regular expression and a filter to strip all the shortcodes from the excerpt leaving the content, but in your case I can’t see any content so I think the best way would be not to use a description at all and find a way to remove it, removing the shotcodes also.
You can search trough plugin’s settings for an option to not show the description or you could use css to hide the description or you can also edit the plugins files and remove the description code.
You can use css to hide it like this: http://screencast.com/t/l9229anbb
.tribe-events-list-event-description {
display: none;
}
Hope this helps!
Thanks
-
This reply was modified 11 years by
Lucian.
That does help. Is there similar css for the month view as well?
hi,
I’m not sure I understand, do you refer to this view: http://screencast.com/t/AZSpXWbMlPqK ?
It looks good to me, what css do you need?
Please let me know!
Thanks
Lucian,
Sorry I did not explain this well. When you hover over an event it brings up an excerpt box. For events that have descriptions, it shows the shortcodes used to create the event.
Hi,
If you refer to this excerpt: http://screencast.com/t/Qzm8YC1A5B8S as this is caused by a js script error in plugin’s main.js file, you can check this yourself just check your browser console.
You should deactivate a few plugins and check if this is still happening, if this is still there you should address this on plugin support page.
You can see that the excerpt looks fine here: http://screencast.com/t/dGj1NqdVfLPF
Thanks