• I am using Magic Fields to display custom groups on one of the pages and I have the following code:

    <?php
       $JobPhotos = getGroupOrder('jobphoto_title');
       foreach($JobPhotos as $JobPhoto){
          echo get_image('jobphoto_photo',$JobPhoto)."<br />";
          echo get('jobphoto_title',$JobPhoto)."<br />";
          echo get('jobphoto_description',$JobPhoto)."<br />";
       }
    ?>

    Everything works great, but I would like to be able to embed these fields into HTML tags if possible eg. wrap the title in <h2>. Is that doable using this plugin?

  • The topic ‘Magic Fields Custom Group Formatting’ is closed to new replies.