1) Script Title: Facebox
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...cebox/demo.htm
3) Describe problem:
Iam using the following code to get a custom field results of wordpress if user click a button.
I have 4 posts in this page. If i click first result button this is display correct result. If i click the next others, all click is displaying the first post of custom field.Code:<a href="#mobile" rel="facebox"> <img src="<?php bloginfo('template_directory'); ?>/images/mobile.png" /> </a> <div id="mobile" style="display:none;"> <?php echo get_post_meta($post->ID, "key12", true); ?> </div>
How to clear the custom field result cache of first post of wordpress and show custom field result of second post when click second post's button?.



Reply With Quote
Bookmarks