Support

Home Forums Event Espresso Premium Event Category shortcode breaking page formatting

Event Category shortcode breaking page formatting

Posted: September 3, 2014 at 12:47 pm

Viewing 5 reply threads


Valor Training Group

September 3, 2014 at 12:47 pm

I am using the Persuasion theme from mysitemyway.com and am using the “squeezepage” template. My formatting look great right up until I add an event espresso shortcode, then it strips away my paragraph formatting. Why would that happen?

Here’s a link to one of the pages.

http://safeworship.net/behavioral-profiling-training/


Lorenzo Orlando Caum

  • Support Staff

September 3, 2014 at 3:12 pm

What is broken on this page?

http://safeworship.net/behavioral-profiling-training/


Lorenzo


Valor Training Group

September 3, 2014 at 4:07 pm

The first part of the page is formatted as multiple paragraphs but the minute I put the EE shortcode for the registration in compacts to one paragraph.


Lorenzo Orlando Caum

  • Support Staff

September 3, 2014 at 4:50 pm

Could you go ahead and add it to the page? Please be sure that no html is wrapped around the shortcode (e.g. p tags, strong tags).


Lorenzo


Valor Training Group

September 3, 2014 at 5:46 pm

It has been in there. I just went in and added <p> around each individual paragraph which seems to have accomplished my goal. But I didn’t need the p tags until I added the EE shortcode.


Dean

September 4, 2014 at 1:49 am

Hi,

There are some errors on this page (javascript and some random text at the bottom of the page /* ]]> */ ).

Barring those, it might be that the theme/template is modifying how content is filtered, which is a common thing to do but unfortunately is is also a very common thing to get wrong.

Without being able to see the theme itself (code wise) it’s hard to pinpoint but you could check the functions.php to see if there is any code that looks similar (but not always exactly) to the following:

remove_filter( ‘the_content’, ‘wpautop’ );
add_filter( ‘the_content’, ‘wpautop’ , 99 );

Viewing 5 reply threads

The support post ‘Event Category shortcode breaking page formatting’ 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