WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
acf vs. event manager (3 posts)

  1. newcomdd_gmbh
    Member
    Posted 2 years ago #

    a tip for all user of event manager + acf:
    you can use all fields of acf as #_ATT{fieldname from acf} in the event_list of event manager in your template...

    a) make a field group
    b) make a field ex. Subheadline (fiedname: subheadline)
    c) use it in post type: event
    d) call it in template ex. #_ATT{subheadline}

    <?php echo EM_Events::output(array('order'=>ASC,'order'=>ASC,'format'=>

  2. <p>#_ATT{subheadline}</p>
  3. ')); ?>

    great!

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  • davidpike7
    Member
    Posted 2 years ago #

    Did you not find that when you save a post the content in the ACF fields gets overridden by the blank content in the event manager attribute field?

  • richplane
    Member
    Posted 2 years ago #

    Yes! That's exactly what we've found. The whole 'deprecated attributes' set of values are a real irritation. They clash horribly with ACFs.

    I hacked the EM code to hide them all (no inputs -> nothing posted!) but now have to remember to do this after all updates of EM. Which has wrong-footed me once already.

    See my post here:
    http://wordpress.org/support/topic/plugin-events-manager-strange-depreciated-attributes-when-using-custom-meta-boxes

    And hoping that newcomdd_gmbh is still following this thread, please log back in and put some code tags round your code!

  • Topic Closed

    This topic has been closed to new replies.

    About this Plugin

    About this Topic

    Tags