Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Auto tags in events page | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Auto tags in events page

Auto tags in events page

Posted: December 28, 2013 at 6:12 am

Viewing 1 reply thread


Klaus M

December 28, 2013 at 6:12 am

those <p> tags that are inserted after saving an event in “/admin.php?page=events&action=edit&event_id=X” is driving me crazy.

<code>remove_filter( &#039;the_content&#039;, &#039;wpautop&#039; );
remove_filter( &#039;the_excerpt&#039;, &#039;wpautop&#039; );</code>

did not solve the problem. tips from here did not either ;( any idea how i can prevent the DESCRIPTION form from inserting these <p> tags?

thanks!


Dean

  • Support Staff

December 30, 2013 at 5:11 am

Hi,

As EE events are not currently true Customn Post Types, those filters wont work.

One way is to edit the registration_page_display.php file.

On line 46 approx you will see

<pre class=”brush: php; gutter: true; first-line: 1; highlight: []; html-script: false”><?php echo espresso_format_content($event_desc); //Code to show the actual description. The WordPress function "wpautop" adds formatting to your description. ?>

The function there uses wp_autop to format the content. If you want to see just the raw text with no auto formatting, you can change it to

<pre class=”brush: php; gutter: true; first-line: 1; highlight: []; html-script: false”><?php echo $event_desc; ?>

Viewing 1 reply thread

The support post ‘Auto tags in events page’ 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 - Staging Server