Return to Snippet

Revision: 28719
at July 13, 2010 06:33 by screamwork


Initial Code
<?php if (have_posts()) :
    while (have_posts()) : the_post();
         $customField = get_post_custom_values("img");
       	 if (isset($customField[0])) {
              //Custom field is set, display post info
              the_title();
              the_excerpt();
         }
    endwhile;
endif;
?>

Initial URL

                                

Initial Description

                                

Initial Title
post with specific Custom Field

Initial Tags

                                

Initial Language
PHP