Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support EventPrime Support

    (@eventprimesupport)

    Hello @2020media,

    Thanks for reporting this issue to us!

    We would like to inform you that the issue has been identified, and the resolution will be deployed in our upcoming releases.

    If you have any further questions, please don’t hesitate to reach out to us.

    Thread Starter 2020media

    (@2020media)

    Would really appreciate an update to fix this – surely this would be spotted in testing before a release? It’s the main part of this plugin and the broken formatting is making my site look bad!

    Thread Starter 2020media

    (@2020media)

    Quick temporary fix for this for others.

    This file appears to be the reason for the problem

    /plugins/eventprime-event-calendar-management/includes/events/views/single-event/description.php includes/events/views/single-event/description.php

    Make a folder in your theme folder:

    /themes/your_theme/eventprime/events/single-event

    Add a file named description.php with this content:

    <div class="ep-box-row ep-my-2">
        <div class="ep-box-col-12 ep-text-secondary" id="ep_single_event_description">
            <?php $content = apply_filters( 'ep_event_description', $args->post->post_content );
            $content = wpautop( wp_kses_post ( $content ) );
            echo $content;?>
        </div>
    </div>

    The additional line

    $content = wpautop( wp_kses_post ( $content ) );

    tells wordpress to render line breaks and paragraphs from your description in html code. Ref: wpautop wp_kses_post

    This ‘fix’ will survive a new release by EventPrime, so when they do release an update that corrects this major issue, please remove this from your theme folder.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Latest release (3.4.1) breaks formatting’ is closed to new replies.