Title: paulcham's Replies | WordPress.org

---

# paulcham

  [  ](https://wordpress.org/support/users/paulcham/)

 *   [Profile](https://wordpress.org/support/users/paulcham/)
 *   [Topics Started](https://wordpress.org/support/users/paulcham/topics/)
 *   [Replies Created](https://wordpress.org/support/users/paulcham/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/paulcham/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/paulcham/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/paulcham/engagements/)
 *   [Favorites](https://wordpress.org/support/users/paulcham/favorites/)

 Search replies:

## Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] [Plugin: Posts 2 Posts] Nested loop probem](https://wordpress.org/support/topic/plugin-posts-2-posts-nested-loop-probem/)
 *  Thread Starter [paulcham](https://wordpress.org/support/users/paulcham/)
 * (@paulcham)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-posts-2-posts-nested-loop-probem/#post-2766407)
 * Thank you! I couldn’t figure out how to set up that foreach loop. Much appreciated!
 * -Paul
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] [Plugin: Posts 2 Posts] Nested loop probem](https://wordpress.org/support/topic/plugin-posts-2-posts-nested-loop-probem/)
 *  Thread Starter [paulcham](https://wordpress.org/support/users/paulcham/)
 * (@paulcham)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-posts-2-posts-nested-loop-probem/#post-2766297)
 * Too much code pasted above – here’s the pastebin:
 * [http://pastebin.com/TBYQhfKH](http://pastebin.com/TBYQhfKH)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] [Plugin: WP e-Commerce] Products added to basket without selecting variations](https://wordpress.org/support/topic/plugin-wp-e-commerce-products-added-to-basket-without-selecting-variations/)
 *  [paulcham](https://wordpress.org/support/users/paulcham/)
 * (@paulcham)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-e-commerce-products-added-to-basket-without-selecting-variations/#post-2619497)
 * Yes, turns out I hadn’t properly enqueued my scripts. Rookie move (I know) but,
   now that they’re all squared away, everything works fine.
 * Useful link for those who aren’t enqueuing their scripts:
    [http://wpcandy.com/teaches/how-to-load-scripts-in-wordpress-themes](http://wpcandy.com/teaches/how-to-load-scripts-in-wordpress-themes)
 * -Paul
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP eCommerce] [Plugin: WP e-Commerce] Products added to basket without selecting variations](https://wordpress.org/support/topic/plugin-wp-e-commerce-products-added-to-basket-without-selecting-variations/)
 *  [paulcham](https://wordpress.org/support/users/paulcham/)
 * (@paulcham)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-e-commerce-products-added-to-basket-without-selecting-variations/#post-2619482)
 * I’ve been having the same problem. I tried turning off all my Javascript and 
   Plugins but it was still happening. Then I noticed a Javascript error on my page:
 * Error: jQuery(“form.product_form”).livequery is not a function
 * So I looked up livequery and found that it is a jQuery plugin and can be found
   here:
 * [https://github.com/brandonaaron/livequery/downloads](https://github.com/brandonaaron/livequery/downloads)
 * I dropped it into my site and everything is working now.
 * Hope this helps,
    Paul
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Help needed using Magic Fields 'Related Type'](https://wordpress.org/support/topic/help-needed-using-magic-fields-related-type/)
 *  [paulcham](https://wordpress.org/support/users/paulcham/)
 * (@paulcham)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/help-needed-using-magic-fields-related-type/#post-2060626)
 * [@matstillo](https://wordpress.org/support/users/matstillo/) – thanks for the
   code – that works for me for grabbing Magic Fields data from related type fields!
   Such a useful field type.
 * FYI, the foreach loop that I had above was working but not when I tried to echo
   any MF fields. Which is strange because this is how I echo duplicated groups 
   in MF1 and it works:
 *     ```
       <?php $events= get_group('Event'); // use the Custom Group name
            foreach($events as $event){ ?>
               <h1><?php echo $event['mf_field_name'][1]; ?></h1>
               <p><?php echo $event['mf_field_name'][1]; ?></p>
               <img src="<?php echo $event['mf_field_name'][1]['o']; ?>">
       <?php } ?>
       ```
   
 * I tried MF2 but I had a major problem with the apparent lack of Page Write Panels.
   I am accustomed to using Page Write Panels heavily and found that change to be
   a big problem that I didn’t have time to work around. The Custom Taxonomy tools
   were very nice, however I had to revert to MF1 for this project.
 * Thanks again!
 * -Paul
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Help needed using Magic Fields 'Related Type'](https://wordpress.org/support/topic/help-needed-using-magic-fields-related-type/)
 *  [paulcham](https://wordpress.org/support/users/paulcham/)
 * (@paulcham)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/help-needed-using-magic-fields-related-type/#post-2060623)
 * Oh, of course, I just got it 5 seconds after I posted a question (that happens
   a lot…)
 *     ```
       <?php $stories = get_field_duplicate('related_stories');
           foreach($stories as $story){ ?>
               <?php echo get_permalink($story); ?>
               <?php echo get_the_title($story); ?>
               <?php echo get_the_post_thumbnail($story, 'my-custom-thumbnail'); ?>
           <?php } ?>
       ```
   
 * This is working. I still can’t seem to dig into the post and retrieve Magic Fields
   data. Any ideas out there?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Help needed using Magic Fields 'Related Type'](https://wordpress.org/support/topic/help-needed-using-magic-fields-related-type/)
 *  [paulcham](https://wordpress.org/support/users/paulcham/)
 * (@paulcham)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/help-needed-using-magic-fields-related-type/#post-2060622)
 * [@knijia](https://wordpress.org/support/users/knijia/), did you ever get this
   figured out – how to display a duplicated related field?
 * Also, anyone know the way to retrieve Magic Fields data from the related post?
 * Thanks,
    Paul
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Hostmonster network setup help](https://wordpress.org/support/topic/hostmonster-network-setup-help/)
 *  [paulcham](https://wordpress.org/support/users/paulcham/)
 * (@paulcham)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/hostmonster-network-setup-help/#post-2006166)
 * [@skeggsjp](https://wordpress.org/support/users/skeggsjp/) – Thanks for the info.
   Fortunately, my multisite is a small, low traffic affair so I’m not too worried
   about shared hosting. And, also fortunately, I was just testing the multisite
   install on the client’s existing NetSol hosting so I don’t actually have to migrate
   anything. Which is great because I’ve heard a few horror stories!
 * Good to know about Backup Buddy though. Thanks!
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Hostmonster network setup help](https://wordpress.org/support/topic/hostmonster-network-setup-help/)
 *  [paulcham](https://wordpress.org/support/users/paulcham/)
 * (@paulcham)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/hostmonster-network-setup-help/#post-2006164)
 * Thanks for the info.
 * For the record, your WordPress multisite is working well on Hostmonster?
 * I have one on Network Solutions Shared (ugh) that isn’t working so well and I’m
   looking for a host to move it to.
 * -Paul

Viewing 9 replies - 1 through 9 (of 9 total)