doc4design.com - Tutorial: Flutter Duplicate Fields
12. July 2009 · Author: Dale Crum
47 Comments

Tutorial: Flutter Duplicate Fields

Creating duplicate fields through Freshout’s WordPress plugin Flutter has been a little on the mysterious side up to this point. No documentation seems to exist for this feature with the exception of simply repeating a php get_post_meta tag for each Custom Field. The true beauty behind the duplicate fields lies within the ability to utilize a single php function to echo all fields as they are created on the fly.

An example:

I set up a Custom Write Panel Page titled “Upcoming Events” within this page is a group and the option for duplication is checked, let’s title this group “Event” and create a Custom Write Fields like so:

CUSTOM FIELD 1:
Name: event-title
Label: Event Title

CUSTOM FIELD 2:
Name: event-date
Label: Event Date

For example purposes let’s say I’m giving a speech in California on the 5th of July 2011. The first text field, “Event Title”, might be filled in as “IT Security World 2011″ and the second field might be a text field showing the date of “July 5th 2011″. Initially echoing theses fields is straightforward:

<?php echo get_post_meta($pos->ID, 'event-title', $single=true) ?>
<?php echo get_post_meta($pos->ID, 'event-date, $single=true) ?>

The above code works perfectly until the time comes to add in a second or third event. Keep in mind we are simplifying the situation and the above is assuming that you would not be archiving the events, but merely wanting to show the latest five or six at any given time. This is all well and good until you start clicking that duplicate button and you realize the second or third event doesn’t actually show because the new fields created must have their own individual names in order to exist, something such as “Event1″.

After looking through the Flutter documentation we find a few functions that seem as though they should deliver what we need. getFieldDuplicates ($fieldName, $groupIndex) and getFieldDuplicates ($fieldName, $groupIndex) unfortunately these only return true values and are not what we are really looking for. What we want is the ability to click the duplicate button and have a single function return the values from the first event group and the next event group and so on.

Not much help has been handed down through the Flutter forums and it seems if anyone does know how to work this they have been doing a great job of keeping it a secret up to this point. I found only one person willing to shed any kind of light on the matter and as grateful as I am this was still not enough. Finally through shear frustration I took it upon myself to solve the problem through php. Albert Yarusso was kind enough to assist me in this project. Below is the php function we compiled to display duplicated groups.

<?php $my_query = new WP_Query('page_id=1');
      while ($my_query->have_posts()) : $my_query->the_post();
      $do_not_duplicate = $post->ID; ?>

<?php $total = getGroupDuplicates('event-title');?>
<?php for($i = 1; $i < $total+1; $i++):?>
<?php echo "<div class='event-wrap'>";
      echo "<h2>" .get('event-title',$i,1). "</h2>";
      echo get('event-date',$i,1);
      echo "</div>"; ?>

<?php endfor;?>
<?php  endwhile; ?>

Line 1-3: <?php $my_query = new WP_Query('page_id=1');
To begin we need to create a WordPress query using our page_id number where the duplicate Custom Fields are located. This could just as easily be a post id number with duplicate fields. The first three lines should be understood as a basic concept from WordPress. If these are not understood please refer to WordPress codex on Loops.

Line 5: <?php $total = getGroupDuplicates('event-title');?>
Gathering a total number of duplicates. In this case these are duplicate groups and not duplicate Custom Fields. This is because we have set the group to duplicate and not the individual fields.

Line 6: <?php for($i = 1; $i < $total+1; $i++):?>
Start a count for each duplicate group in an effort to process them and add them incrementally.

Line 7: <?php echo "<div class='event-wrap'>";
Insert a simple php echo to add a bit of CSS styling for our events. This is only included to demonstrate  the ability to add in CSS styling. Any CSS styles are housed within the stylesheet.

Line 8: echo "<h2>" .get('event-title',$i,1). "</h2>";
Here we are inserting a CSS H2 style tag to the event title to give it a better look, then echo the event titles incrementally and end the H2 tag.

Line 9: echo get('event-date',$i,1);
Add the event date which again is done incrementally.

Line 10: echo "</div>"; ?>
It is then important to end the div tag which opened on line 7.

Line 12: <?php endfor;?>
Then end the “for” function.

Line 13: <?php endwhile; ?>
Lastly don’t forget to close up the WordPress query to finalize the loop.

Now when adding additional duplicate groups on the post or page the code recognizes that there is more than one group and subsequently echos them all. With a few tries you should have this up and running for any manner of duplicate groups or fields.

47 Comments

  1. Hi, thanks for this informative article. I noticed you haven’t touched on Flutter’s image manipulation options, which I discovered when working with Flutter groups. I wrote a post on it, check it out if you’re interested:

    http://www.freshtilledsoil.com/how-to-use-the-flutter-custom-fields-options-list-to-crop-and-manipulate-images/

    —Luke Sideris

  2. Wow, I’m so glad I found this post. I read about flutter several months ago, but just finally starting using it in a project until I realized there was almost 0 documentation on outputting duplicate fields. Some of the code in the comments have really helped. I appreciate the work you guys did to put this together.

  3. Dee,

    Glad we could help.

  4. Actually that did the trick for me. Thanks again for your help!

  5. removing the query doesn’t stop it from populating all of the data.

    Also the code i’m implementing is within the main if have post function.

    
     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    

    Here is the code i’m using currently that populating all of the data.

    
      <?php if($tour == "true" ) { ?>
            <div class="title-tour-small"></div>
          
            <div class="date-label">DATE</div>
            <div class="venue-label">VENUE</div>
            <div class="city-label">CITY</div>
            <div class="title-tour-div"></div>
          
                      
              <?php $total = getGroupDuplicates('event-date');?>
              <?php for($i = 1; $i < $total+1; $i++):?>
              
              
              <?php echo "<div class='tour-schedule'>";
                    echo "<div class='event-date'>" .get('event-date',$i,1). "</div>";
                    echo "<div class='event-venue'><a target='_blank' href=" .get('venue-url',$i,1). ">" .get('event-venue',$i,1). "</a></div>";
                    echo "<div class='event-city'>" .get('event-city',$i,1). "</div>";
                    if((get('event-url',$i,1)) !== ""){
                    echo "<div class='event-url'><a target='_blank' href=" .get('event-url',$i,1). ">more info</a></div>";
                    }else{}
                    echo "</div>"; ?>
              <div class="title-tour-div"></div>
              <?php endfor;?>
              
            <?php } else {} ?>
    
    

  6. Dee,

    Okay that clears it up a little. If this code is on single.php then you shouldn’t need to specify a category, post_id or page_id since the basic loop already knows what post is being accessed. The same applies to usage of the_content, we don’t need to specify a page or post to get the correct content. Try using:

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    I believe the if statement should be fine but I haven’t seen the full code so don’t quote me on that.

  7. Thanks edit in place did the trick.

    As far as with my query i couldn’t get the query to work no matter what page id i referenced so I’m referencing the query according to a selected category which would probably explain why it’s populating all of the duplicated fields within the whole entire category.

    The write panel i created with the duplicate fields has a page id = 3 but that doesn’t populate any data because although the write panel the duplicate fields are on has a page id =3 after creating a new post with the write panel it output a post with a different ID everytime.

    
    <?php $my_query = new WP_Query('category_name=tour');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate = $post->ID; ?>
    

    Also fyi this code lives in an if statement within my single.php file that checks if the category of tour is selected then it will run the duplicate fields code.

  8. Dee,

    As long as you are only looping the query with a single page id [ page_id=23 ] , as in the tutorial, you shouldn’t see but a single posts duplicate fields.

    <?php $my_query = new WP_Query('page_id=1');
          while ($my_query->have_posts()) : $my_query->the_post();
          $do_not_duplicate = $post->ID; ?>

    Can you post the loop you are currently using?

    The additional code you are seeing is not a bug in Flutter. “EIP” stands for “Edit in Place” which allows you to alter content live on the web while logged in to WordPress. We have had quite a bit of trouble with EIP and suggest disabling it by visiting Settings > Flutter [ Other Options > Edit-n-place > Edit posts instantly from the post page. ]

  9. Very informative tutorial!

    Let me describe what i’m using it for and also what i seem to be having an issue with.

    I’ve created a custom write panel(post) that has duplicate group “Tour” which has 5 custom fields.
    “tour-date”, “tour-city”, “tour-venue”, “venue-url”, and “tour-url”

    So when creating a new “Tour” post you can create a tour for a band or artist and show the upcoming dates,and tour info. But what i’m having an issue with now is when viewing a particular “Tour” post it seems to output all of the duplicate fields within every “Tour” post created instead of just outputting the duplicate fields within the selected tour post.

    Any insight would be greatly appreciated. Also is this bug? I noticed that what i’m logged into wordpress, flutter seems to create it’s own divs and sometimes breaks the code. for example. When i’m logged out the output will say something like.

    
    <div class="tour-date">Jan 20,2010</div>
    

    but when i’m logged in the output will look like this.

    
    <div class="tour-date">
          <div class=" EIP_textbox EIP_postid292 EIP_mid_1987">January 20, 2010</div>
    </div>
    

  10. Jonas,

    The Camping Events and Fishing Events should be kept in separate groups as there is no way to distinguish which event belongs where if they are all placed within a single Duplicate Group. Separate them like so:

    DUPLICATE GROUP 1
    - – - – - – - – - – - – - – - – - – -
    Group Name: Camping
    Custom Field: Event 1
    Custom Field: Event 2

    DUPLICATE GROUP 2
    - – - – - – - – - – - – - – - – - – -
    Group Name: Fishing
    Custom Field: Event 1
    Custom Field: Event 2

  11. So if camping events and fishing events are in the same group duplicate, how would you separate them out?

  12. Jonas,

    You could include the header <h1>Fishing Events</h1> prior to starting the duplicate fields.

    Example:

    <?php $my_query = new WP_Query('page_id=1');
          while ($my_query->have_posts()) : $my_query->the_post();
          $do_not_duplicate = $post->ID; ?>
    
    <h1>Fishing Events</h1>
    
    <?php $total = getGroupDuplicates('event-title');?>
    <?php for($i = 1; $i < $total+1; $i++):?>
    <?php echo "<div class='event-wrap'>";
          echo "<h2>" .get('event-title',$i,1). "</h2>";
          echo get('event-date',$i,1);
          echo "</div>"; ?>
    
    <?php endfor;?>
    <?php  endwhile; ?>

    Though really there is no method to display a Group Name that we have come across. If you need the title to disappear if there are no events your best bet would be to use a php if/then statement to determine if a group is currently being displayed then display the hard-coded Group Name.

  13. Hmmm, I’m sorry, I guess my post wasn’t so clear. The code that I used below, is actually how it should Display:

    so what I mean is they should display:

    
    <h1>Fishing Events</h1>
    
    <p>
    Event: The great Fishing extravaganza Event Date: June 7, 2010<br />
    Event: Fishing at the Great Lake Event Date: June10, 2010 <br />
    Event: Father, Son fish outting Event Date: June12, 2010 <br />
    </p>
    
    <h1>Camping Events</h1>
    <p>
    Event: Campout on Dreary Mountain Event Date: June 20, 2010 <br />
    Event: Campout on Lake Keowee Event Date: August 20, 2010<br />
    </p>
    

    Both Fishing Events and Camping Events are in a group called “events” as they will be displayed on the same page…. But even separating them out, how will you actually display the group name?

  14. Jonas,

    To get the desired results use Flutter’s Group method. Create a Group titled “Fishing Events” then within that group add Custom Fields for “Events”. Repeat this for each Event Group.

  15. Awesome tutorial. This is working great couple of questions.

    1. If I want many of these entries to go under a specific title or category, example (using your example):

    Fishing Events
    Event: The great Fishing extravaganza Event Date: June 7, 2010
    Event: Fishing at the Great Lake Event Date: June10, 2010
    Event: Father, Son fish outting Event Date: June12, 2010

    Camping Events
    Event: Campout on Dreary Mountain Event Date: June 20, 2010
    Event: Campout on Lake Keowee Event Date: August 20, 2010

    Hiking Events
    Event: Appalachain Trail Event Date: July 9, 2010
    Event: Hike the great wall of China Event Date: August 10, 2010
    Event: Nature Hike Event Date: Aug 19, 2010

    So here is data set, all duplicates withing a post or a page. The categories are “Fishing Events”, “Camping Events” and “Hiking Events”. How do I place the Appropriate entries withing the correct title or category?

    Hope this is clear.

  16. Patricia,

    Thank you for the explanation. To get the link included within the code try something like this:

    
    
    <?php $my_query = new WP_Query('page_id=1');
          while ($my_query->have_posts()) : $my_query->the_post();
          $do_not_duplicate = $post->ID; ?>
    
    <?php $total = getGroupDuplicates('Related-Links');?>
    <?php for($i = 1; $i < $total+1; $i++):?>
    <?php echo "<li>";
               echo "<a href='";
               echo get('link-name',$i,1);
               echo "'>";
               echo get('link-name',$i,1);
               echo "</a>";
               echo "</li>"; ?>
               
    <?php endfor;?>
    <?php endwhile;?>
    

    1. It is also important to note that page_id=1 is in reference to the tutorial usage and was included only as an example. Please be sure this is changed to match either the page or post id that contain the duplicate fields. If these are not understood please refer to WordPress codex on Loops. http://codex.wordpress.org/The_Loop

    2. Don’t forget the closing php tags as well <?php endfor;?><?php endwhile;?>

    3. Finally the field names and titles are case sensitive so double check “Related-Links” isn’t really “related-links”.

    Hopefully this will get you up and running, please let us know. Thank you.

  17. Patricia says:

    The first part of the question is simply to get the duplicate fields printing on the web page (with the code below I haven’t been successful)

    The second part of the question is: I have a grouped custom field called Related Links; there are two fields in the group called Link Name and Link URL. Rather than having an inexperienced user have to put “a href” tags by hand, I would like it if the link URL field would be applied to the Link-Name field, thereby making it an active link. This second part I have no idea how to do it, but first question is certainly the most important.

    Thanks in advance for answering so quickly!

  18. Patricia,

    The question is a little confusing, can you explain what you are trying to solve again?

  19. Patricia says:

    Super to have found your post – so thanks in advance.
    I’m still having some problems to get it up and working though, after going through and trying out several things. The first issue is to get the Group Custom Field displaying, which I haven’t yet got working. The second question, which is adding to the first would be to have one of the custom fields in the group become the URL link for the Link-Name-Title pulled from the proceeding field in the group.

    
    <div class="related">
                    <h4>Related Links</h4>
                    <ul>
                    <?php $my_query = new WP_Query('page_id=1');
          while ($my_query->have_posts()) : $my_query->the_post();
          $do_not_duplicate = $post->ID; ?>
    
    <?php $total = getGroupDuplicates('Related-Links');?>
    <?php for($i = 1; $i < $total+1; $i++):?>
    <?php echo "<li>";
          echo "<b>" .get('link-name',$i,1). "</b>";
          echo "</li>"; ?>
    
    <?php endfor;?>
    <?php  endwhile; ?>
    
          
          
          </ul>
    

  20. Hey Thanks for the reply! The originals are actually very large, so what I did was call the image resizing function twice. Once at 250 x 250 for the featured category image and a second time for the thumbnails next to it (You can see the true image size when you click on the thumbnails in a lightbox). However, calling it twice at different sizes causes major problems – it mixes the thumbnails w/ the 250 x 250s. My goal was to have the user only upload the original image vs. 3 different sizes, but that might be too much to have good load times, yeah?

  21. Travis,

    Are you certain the thumbnail function is working properly? It appears to loading images that are the exact same dimensions as the originals. Have you set the thumbnail dimensions through WordPress?

    One thing to note is that there is no documentation on the use of the thumbnail images and as far as we can tell this was never fully developed. The function you are currently using appears to be your best bet. You might also consider taking a look at our article on better thumbnail control through WordPress and avoid the use of Flutter’s image upload feature as it only duplicates what WordPress already does. http://www.doc4design.com/articles/wordpress-better-naming-of-thumbnails/

  22. Thanks for your great articles on Flutter!
    I was wondering if you could explain how to return the thumbnails of an image uploaded via flutter. The site that I’m working on has a large gallery grouped by categories and loads extremely slowly because I’m currently using an auto thumbnail function by Calisza http://calisza.wordpress.com/2009/09/24/howto-create-custom-thumbnails-from-flutter-image-fields/.

    I know that there is a function pt(); but it returns the just that path of the folder and not the url of the thumbnail. I assume I’m not using it correctly. If you’d like to see the site it’s http://www.kiddykitdesigns.com/gallery/ , Note: it loads slowly

    Thanks again, Travis

  23. fredrik says:

    Awesome! this is the missing manual for Flutter duplicate fields. I have been working with flutter for a while now and i have never gotton duplicate fields to work, thanks :)

  24. Lacy,

    I hope we have helped. For anyone else with this same issue be sure to use the Custom Field Name and not the Custom Group Name in getGroupDuplicates. We missed this small error so be on the safe side and double check if you are having difficulty.

  25. LOL – I”m thinking the same thing – I must be just missing something HUGE :) Here’s a sample file – it’s my single post template (single.php). It’s the CLASS LEADERS section that isn’t working.

    
    
    <?php
    /**
     * @package WordPress
     * @subpackage reunion
     */
    
    get_header();
    ?>
    
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        
        <h1>Class of <?php the_title(); ?></h1>
        
        <?php if( get_post_meta($post->ID, 'event_link', true) ) { ?>
        <a href="<?php echo get_post_meta($post->ID, 'event_link', $single=true) ?>">Register Now</a>
      <?php } ?>
        
     <!-- BULLETIN BOARD -->    
     <h2>Bulletin Board</h2>
     <ul>
     <li>Questions? Your class Reunion office contact is <a href="mailto:<?php echo get_post_meta($post->ID, 'reunion_staff_email', $single=true) ?>"><?php echo get_post_meta($post->ID, 'reunion_staff_name', $single=true) ?></a>, <?php echo get_post_meta($post->ID, 'reunion_staff_phone', $single=true) ?>.</li>
    
    <?php $total = getFieldDuplicates('bulletin_board', 1);?> 
    <?php for($i = 1; $i < $total+1; $i++):?> 
    <li><?php echo get ('bulletin_board',1,$i)?></li>
    <?php endfor;?> 
    
     </ul>
    
    <!-- Class Leaders-->
    <ul> 
    <?php $my_query = new WP_Query('page_id=1');
          while ($my_query->have_posts()) : $my_query->the_post();
          $do_not_duplicate = $post->ID; ?>
    
    <?php $total = getGroupDuplicates('reunion-leadership');?>
    <?php for($i = 1; $i < $total+1; $i++):?>
    <?php echo "<li>";
          echo "<b>" .get('leadertitle',$i,1). "</b>";
          echo get('leadername',$i,1);
          echo "</li>"; ?>
    
    <?php endfor;?>
    <?php  endwhile; ?>
    </ul> 
    
    <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    
    <?php edit_post_link('Edit this page.', '<p>', '</p>'); ?>
    
    <?php endwhile; else: ?>
    
    <?php endif; ?>
    
    <?php get_footer(); ?>
    
    

  26. Lacy,

    I’m not following what you mean. The grouped data fields must be filled out on either a page or post created with Flutter. Then using the WordPress loop that information is called to display on the live site. The duplicate fields can be displayed on both the single and the page template ( both page and single being files located within the theme, just to be clear ). Can you send one of the files you are working with so I can take a look? It may be something very simple that I’m missing here and it sounds like you have everything set up correctly through Flutter.

  27. So – that means – we can’t pull grouped data as part of the page template (or single post template)?!?!? We’d have to code an individual template PER POST / PAGE that would be including the data? That makes no sense …

    I did test this by updating my single post template reflecting the post_id of one entry that contains duplicate groups (id was 75) — and it still didn’t pull the fields.

  28. Lacy,

    Using the code example you have provided; the page with the duplicates on it has an id of “1″ correct? If the duplicate fields are located on a post then “page_id=1″ would need to be adjusted for the post they are on, for example: “p=202″. The code you are using appears correct which is why I think you may have the page/post id number incorrect. Visit either the Post Edit or Page Edit admin and hover your mouse over the title, then look in the browser footer at the link and check the number listed there to be certain they are correct.

    Check this and let me know if this is the source of the issue.

  29. Using flutter successfully with single fields and with duplicate single fields. But grouped duplicates … just cannot get it working.

    Using this code:

    
    <ul> 
    <?php $my_query = new WP_Query('page_id=1');
          while ($my_query->have_posts()) : $my_query->the_post();
          $do_not_duplicate = $post->ID; ?>
    
    <?php $total = getGroupDuplicates('class-leaders');?>
    <?php for($i = 1; $i < $total+1; $i++):?>
    <?php echo "<li>";
          echo "<b>" .get('leadertitle',$i,1). "</b>";
          echo get('leadername',$i,1);
          echo "</li>"; ?>
    
    <?php endfor;?>
    <?php  endwhile; ?>
    </ul> 
    

    My duplicate group is called “class-leaders” … for testing I’m only pulling two of the fields: leadertitle and leadername. This code is within the loop. Nothing outputs.

    I’m using duplicate groups on multiple pages … so i need to pull the current posts post_id… where you have page_id=1 … surely that needs to be dynamically pulling whatever the current posts id is. Right?

  30. Thanks for the advice, it helped.

    Also i needed to change

    <?php for($i = 1; $i > $total+1; $i++):?>

    to:

    <?php for($i = 1; $i < $total+1; $i++):?>

    Cheers.

  31. Sparky,

    I believe the issue is the underscore in “support_name” as we have run into issues with this in the past. Try using a dash “support-name” instead and please let us know if this solves the issue.

    Thanks

  32. Is there an issue with the getGroupDuplicates and wordpress 2.8.4? I have used this code in the past a few times without issue. My code is below, just in case i have missed something.

    
    <?php $total = getGroupDuplicates('support_name');?>
      <?php for($i = 1; $i > $total+1; $i++):?>
      <?php echo "<div class='support'>";
          echo "<h2>" .get('support_name',$i,1). "</h2>";
          echo get('support_web',$i,1);
          echo "</div>"; ?>
      <?php endfor;?>
    

    Thanks for the help.

  33. Jeromy,

    Thank you for sharing the code with everyone.

  34. Got it:

    
    <?php
    $total = getFieldDuplicates('fieldName',1);
    for($i = 1; $i < $total+1; $i++){
    echo "<span>" .get('fieldName',1,$i). "</span>";
    }?>
    

  35. This code worked great:

    
    <?php
    $total = getFieldDuplicates('nameOfYourField',1);
    for($i = 1; $i < $total+1; $i++){
    echo get('nameOfYourField',1,$i);
    }?>
    

    One question – how do I individually style each field as it’s displayed? I want to add at least a comma after each field or maybe wrap them each in a span tag

  36. How can the code be adjusted to show the most recent duplicate group ON TOP? So for this example, the most recent event listed on top and the rest in order of newest to oldest?

    I implemented it, and it works, but newly added duplicates are being displayed at the bottom of the list of the duplicates.

    I’m not a PHP developer. Please post code to cut/paste.

    THANKS!

  37. if you want to use the getFieldDuplicate ( to duplicate a field and not a group )

    
    <?php
    $total = getFieldDuplicates('nameOfYourField',1);
    for($i = 1; $i < $total+1; $i++){
    echo get('nameOfYourField',1,$i);
    }?>
    

  38. Simon,

    Your code did not print correctly. Please be sure to wrap it within the “code” or “pre” tags in order for it to display properly. Just in case you didn’t already, please include the initial loop code as well and I will take a look.

  39. simon says:

    Wonder if you can help me, I’m trying to get your tutorial to work, but its just not outputting anything, flutter outputs all the fields fine on their own, but when I try and use the code above it wont display anything.

    Its on a page template that I’m trying to get it working. I’m quite new to wordpress and flutter so far you site is the best recource I could find on flutter, so thank’s for your hard work.

    ID, 'PageTitle', $single=true) ?>
    ID, 'ShopText', $single=true) ?>
    have_posts()) : $my_query->the_post();
          $do_not_duplicate = $post->ID;  ?>
         
    <?php for($i = 1; $i 
    <?php echo "";
          echo "" .get('PageTitle',$i,1). "";
          echo get('ShopText',$i,1);
          echo ""; ?>

    Loop is over

  40. Thank you very much for this tutorial!! Very useful!!

  41. Thank you so much. I really appreciate you posting this for everyone, it was very helpful. It’s such a great system and being able to do this is its biggest strength in my opinion.

  42. How would i do duplicate fields if i only wanted to show fields that do not have a check box checked? Thank you for this post. It has really helped me out a lot.

  43. ClickyMouse says:

    Hi!
    This tutorial was very helpful for me, it was awesome.
    The only problem that I have is that I made a Group with 2 flutter fields (‘paso_texto’ & ‘paso_imagen’), but when i duplicate it five times, it doesn’t save steps (‘paso’ is step in Spanish) # four and five; it only saves the first three steps…

    Am I doing something wrong? Or it’s a known limitation of Flutter?

    Thanks!
    (And sorry for my english… :P )

  44. Marko Jansen says:

    Very helpful tutorial, thanks.

  45. Monika says:

    HI I would like to say: thanks a lot:-) I’m searching google down and above -everybody says: flutter is the best, but to find some help is a hard thing ;)

    (and yes my english is more less than my knowledge about flutter ;) )

    Monika from Austria

  46. The primary code to focus on is:

    <?php $total = getGroupDuplicates('event-title');?>
    <?php for($i = 1; $i < $total+1; $i++):?>
    <?php echo "<div class='event-wrap'>";
          echo "<h2>" .get('event-title',$i,1). "</h2>";
          echo get('event-date',$i,1);
          echo "</div>"; ?>
    
    <?php endfor;?>

    This code should be placed within the loop. If you could link to the sample page I will be happy to take a look.

  47. Hi,
    Thanks for this explanation.
    I’m testing Flutter right now and I’m not very good at coding. I’m having troubles with where to copy/paste your code

    I created a Ressource page on a test blog.
    I pasted your code in the page : “Edit page >> Ressources” (I deactivated the WYSIWG) and then renamed the fields so it matches my own ones

    But when I’m updating the page, I get strange codes but no datas.

    Am I pasting the code in the wrong place ?

Leave A Comment

Please wrap any code within the <code> tag to display properly

WordPress Database Backup: ...

The WordPress Plugin: WordPress Database Backup by Austin Matzko is one of the more intuitive backup plugins currently available and with no stern warnings to scare off the faint of...

PictureBook

While doing our usual run of site updates and code adjustments we ran into a small issue, how to display WordPress bookmarks with both text and images. Utilizing the "Links" tab ( WordPress...

BookMaster

BookMaster is our answer to what we feel is an odd issue with the WordPress wp_list_bookmarks tag. For those that have exercised the use of wp_list_bookmarks you are well aware that...

Limit-Post Add-On

Limit-Post is one of the better WordPress post content limiters we have come across both in terms of usability and size. Developed by labitacora.net Limit-Post provides excellent control...

AtariAge Dashboard RSS Feed

AtariAge Dashboard Feed is a plugin based on the excellent Berri Technorati Reactions on Dashboard plugin by Alberto Varela. Albert Varela's plugin has been modified to display the...