Forums

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

  1. alvarix
    Member
    Posted 5 months 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 5 months ago #

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

  3. hunk
    Member
    Posted 5 months 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

Reply

You must log in to post.

About this Plugin

About this Topic