paulcham
Forum Replies Created
-
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Nested loop probemThank you! I couldn’t figure out how to set up that foreach loop. Much appreciated!
-Paul
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Nested loop probemToo much code pasted above – here’s the pastebin:
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-Paul
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
I dropped it into my site and everything is working now.
Hope this helps,
PaulForum: Plugins
In reply to: Help needed using Magic Fields 'Related Type'@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
In reply to: Help needed using Magic Fields 'Related Type'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
In reply to: Help needed using Magic Fields 'Related Type'@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,
PaulForum: Networking WordPress
In reply to: Hostmonster network setup help@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
In reply to: Hostmonster network setup helpThanks 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