Support

Home Forums Event Espresso Premium Multiple Prices Not Appearing in Description

Multiple Prices Not Appearing in Description

Posted: September 12, 2013 at 9:29 am


cgreenberg

September 12, 2013 at 9:29 am

WP Version: 3.6
Event Espresso Version: 3.1.35.L
Fresh New Installation

I have created custom email reg forms.

On testing, they appear in the mailbox with tons and tons of white space prior to the actual message. You have to scroll down quite a bit in order to see the message.


Seth Shoultes

  • Support Staff

September 12, 2013 at 3:07 pm

Is there lots of white space in the custom email when viewing it in the editor? If not, then it’s possible your theme is applying it’s own filtering of the WP ‘the_content’ filter.


cgreenberg

September 13, 2013 at 10:30 am

No there isn’t.


Seth Shoultes

  • Support Staff

September 13, 2013 at 11:41 am

Sounds like the theme or another plugin is adding extra paragraphs to the content.

You can try adding the following code to your theme’s function.php file:

if ( !is_admin() && function_exists( 'espresso_raw_formatter' ) ){
	remove_filter('the_content', 'wpautop');
	remove_filter('the_content', 'wptexturize');
	add_filter('the_content', 'espresso_raw_formatter', 99);
}

Please let me know if that helps.

  • This reply was modified 10 years, 7 months ago by  Seth Shoultes.
  • This reply was modified 10 years, 7 months ago by  Seth Shoultes.


cgreenberg

September 16, 2013 at 11:52 am

I can’t add that code because then it throws off other things within the site.


Dean

September 17, 2013 at 4:30 am

Hi,

The code Seth suggested will revert WordPress to its default post content formatting, which the theme seems to be modifying.

This modification is the root cause of the issue. If you cannot resolve it that way, then you *might* be able to use some CSS to at least reduce the whitespace.

I checked your site that is on file with us, but I couldn’t see any issues – have you resolved it? If not can you provide a link to an affected event/page?

The support post ‘Multiple Prices Not Appearing in Description’ 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