"Ticket Description" newlines not preserved when event is viewed.

Home Forums Ticket Products Event Tickets Plus "Ticket Description" newlines not preserved when event is viewed.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #130421
    sdupre
    Participant

    Ticket Description: (in admin creating the ticket)
    Time: 7:00 PM to 9:00 PM
    Ticket Description:
    4 Main Street
    Springfield, OR

    — on the actual event viewed— (newlines not preserved)
    7:00PM to 9:00PM 4 Main Street Springfield, OR

    #131205
    Barry
    Member

    That’s strange – sorry you’re hitting difficulties. I wonder if it may even be theme related? I don’t really think this is anything to do with EDD Tickets itself, though, unless I’m misunderstanding.

    Can you link me to a live example?

    #131306
    sdupre
    Participant

    This reply is private.

    #131309
    sdupre
    Participant

    This reply is private.

    #131348
    sdupre
    Participant

    This reply is private.

    #132547
    Barry
    Member

    Hi Stephen – for that second issue it would be great if you could post a new thread 🙂

    Regarding the formatting of the event description, please check out our Themer’s Guide for an overview of setting up template overrides. With that done, make a custom copy of the eddtickets/tickets.php template and find this line:

    echo $ticket->description;

    Try changing it to:

    echo apply_filters( 'the_content', $ticket->description );

    Does that help here?

    #532749
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘"Ticket Description" newlines not preserved when event is viewed.’ is closed to new replies.