Home Forums Event Espresso Premium Category Description adding unwanted tags

Category Description adding unwanted tags

Posted: October 9, 2012 at 7:30 pm

Viewing 4 reply threads

Simone Armani

October 9, 2012 at 7:30 pm

Good morning,
We are having an issue with the category description, outputting unwanted tags around other html objects. For example we have used a table and this is what outputs on the page..(shortened) it happens regardless if we have the WordPress function “wpautop” on or off, and it is only happening to the category description. Event description, pages, blog etc do not have the same issue – so i am stumped.

Simone Armani

October 9, 2012 at 7:33 pm

Have no idea how to show the code… please visit: and check source.

  • This reply was modified 11 years, 9 months ago by Simone Armani.

Seth Shoultes

  • Support Staff

October 9, 2012 at 8:49 pm

Hi Simone,

Looks like your theme is adding those tags. Probably overriding the or creating it’s wpautop function.

Also, the theme is loading two different versions of Javascript (screenshot: The first one is being improperly loaded by your theme, and the second is being loaded properly by WordPress. This will cause a lot of issues with other plugins, including ours.

Might want to talk to the theme developer about these issues.

Seth Shoultes

  • Support Staff

October 9, 2012 at 8:58 pm

Another thing I noticed while looking at your site. It looks like your Event Espresso template files in the wp-content/uploads/espresso/ are out of date (screenshot: Look at this page:

Simone Armani

October 10, 2012 at 8:04 am

Hi Seth,

Thanks for the reply. I’m almost 100% certain it’s not a theme issue, as we switched it back to twenty eleven, and we got the same result. We managed to fix the issue by removing the wpautop from the below code in the event_list.php template file.$category_desc = isset($wpdb->last_result[0]->category_desc) ? html_entity_decode(wpautop($wpdb->last_result[0]->category_desc)) : '';

Thanks for the heads up on the other issues, we are still in development mode with this baby.


Viewing 4 reply threads

The support post ‘Category Description adding unwanted tags’ 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