• Resolved olppa

    (@olppa)


    Hi,

    I have added an advanced custom field to my events but for some reason the paragraphs on the custom field text are missing.

    The original formatting on the custom fields wysiwyg has all the paragraph tags but then they are stripped once events manager outputs the custom field to the event.

    I read the advanced custom fields support forums and the advanced custom fields wysiwyg-editor should be working correctly so the problems is probably that events manager is displaying the field incorrectly.

    See attached images of the problem:

    WordPress events manager and advanced custom fields problem

    Does someone know how to fix this issue?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Are you see the correct HTML output on the live pages?

    Thread Starter olppa

    (@olppa)

    Hi Caimin,

    If you mean by HTML output the source code of the live pages then no, the live page source code shows that the paragraph markers have been stripped from the custom field code.

    The wysiwyg editor has all the right formatting and paragraph “< p >” tags but once it is outputted by Events manager the only formatting tags that stay are the “< /strong >” tags.

    The server is using php 5.3.3. but I don’t if that is the culprit.

    • This reply was modified 8 years, 4 months ago by olppa.
    • This reply was modified 8 years, 4 months ago by olppa.

    Which version of Events Manager are you using?

    Thread Starter olppa

    (@olppa)

    I’m using version 5.8.1.1 (the newest I think).

    How are you adding the custom fields output the single event page?

    Hi,
    Hey, where you able to successfully Add ACF custom fields to an Event in front end.
    I know this is an old post.But just incase if you could help with my situation.

    I added a custom field to my event-editor.php.Got the ACF fields to appear but the data is not getting saved in my backend.The ACF field has data in there even when I create a new event.Any help would be really appreciated.
    this is what I did.
    in my functions.php i added the following code

    add_action( 'init', 'acf_head_add' );
    
    function acf_head_add(){
        acf_form_head();
    }

    In my event-editor.php I added the following code where i need my ACF field to appear

    <?php acf_form(array(
       'post_id'	=> $post_id,
       'field_groups' => array(1463),
       'form' => false,
       'return' => '' ,
    )); ?>

    Thanks
    Diona

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Advanced custom fields html formatting stripped’ is closed to new replies.