WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Events Manager conflict with Advanced Custom Fields ACF (4 posts)

  1. Aaron
    Member
    Posted 1 year ago #

    Hey guys -

    Having an issue with Events Manager and Advanced Custom Fields.

    I have an options page (ACF) setup with four WYSIWYG fields for the footer content. Events Manager seems to be hijacking the ACF calls in the footer and placing the calendar or events listing in each area where that option is called.

    The ACF call is <?php the_field('option_name','options'); ?>. If I remove the 'options' which is what links it to the options page, it does not pull in the events listing. Not sure which plugin is the culprit. Any help is appreciated.

    Thanks!

    http://wordpress.org/extend/plugins/events-manager/

  2. Aaron
    Member
    Posted 1 year ago #

    Here is the link to see what is happening:
    http://dev.cwvillage.org/the-village-lifestyle/activities/calendar/

  3. Aaron
    Member
    Posted 1 year ago #

    scratch that... my colleague helped me out. I have to disable "run the_content filter" for the WYSIWYG option. What seems to be happening is Event Manager is forcing it's events into any and all "the_content" filters that are on the page that you set the "events" page to be.

    Hope that makes sense. I am going to try and point the actual "events" page somewhere else but still use the "CONTENTS" code in the main content area to still pull in the events. Hopefully this works.

    Thank you internets for listening to me babble.

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    np, fyi, the_content must be run inside the loop, hence the repeated content :

    http://codex.wordpress.org/Function_Reference/the_content

    see line 1, good chance it's the other plugin doing this

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic