• Resolved rothster

    (@rothster)


    please take a look at October and you will see the issue

    In month view it is converting a dash (-) to it’s HTML entitly (&#8211)

    I need the dashes as I use the event titles in many places. The only place it appears incorrectly is in the month view. Can you tell me how to correct?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Marho

    (@matumu)

    Hello @rothster

    Thanks for reaching out.

    I suspect this is because the calendar views display excerpts of event details rather than the full content and for WordPress, excerpts do not execute shortcodes. Although dash isn’t a shortcode and thus shouldn’t be affected, I still think this is the case.

    Just to test this theory and see if I’m correct, you can add this code into your functions.php and see if it takes care of the issue:

    //Enable Shortcodes in WordPress Excerpts.
    add_filter( ‘get_the_excerpt’, ‘my_shortcode_parser’ );
    function my_shortcode_parser( $excerpt ) {
    return do_shortcode($excerpt);
    }

    Thread Starter rothster

    (@rothster)

    Unfortunately that did not work

    It’s still display &#8211 instead of the dash

    Marho

    (@matumu)

    Hi again @rothster

    Thanks for getting back to me. Looks like the source of this issue is deeper that I thought

    Can you please run through the steps in this conflict testing guide to see if a plugin/theme conflict is the source of this: https://theeventscalendar.com/knowledgebase/k/testing-for-conflicts/

    Let me know what you find.

    Best regards,

    Marho

    There’s been no movement on this ticket for more than a week, so I’m going to mark it as resolved.

    If you still need assistance with this, please open a new ticket and we’ll be happy to help.

    Cheers,
    Eugene.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Month view – HTML entities’ is closed to new replies.