WordPress.org

Forums

Magic Fields 2
Fatal error: Call to undefined function get_field_duplicate() (3 posts)

  1. alvarix
    Member
    Posted 3 years ago #

    <?php $mytitle = get_field_duplicate('bio_title'); // use the Custom Field name
         foreach($mytitle as $title){
         echo  $title;
    } ?>

    this is for a magic field setup on a post page.

    http://wordpress.org/extend/plugins/magic-fields-2/

  2. alvarix
    Member
    Posted 3 years ago #

    Id like to add, that on the same page, with non-recurring fields, get() works fine.

  3. hunk
    Member
    Plugin Author

    Posted 3 years ago #

    in MF2 get_field_duplicate no exist, you can use get_field http://wiki.magicfields.org/doku.php?id=front-end_functions_v20#get_field

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Magic Fields 2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic