[ Plugin: WP-Property ] My custom loop doesn't seem to work properly.
-
Hi,
i just recently upgraded my plugin to premium. after which, my custom loop doesn’t work anymore.
I used to show properties on my index.php with this code:<?php $args=array(
‘post_type’ => ‘property’,
‘post_status’=>’publish’,
‘meta_value’=>’building’,
‘property_type’ =>’Building’,
‘posts_per_page’ => 2
);
$post_count=1;
query_posts($args);while (have_posts()) : the_post(); ?>
<div class=”content_inner_post”><?php the_post_thumbnail(‘tiny_thumb’);?>
<div class=”format_text”>
<?php the_content(‘click here’);?>
</div>
</div><?php $post_count++;
endwhile; ?><?php wp_reset_query();?>
But after I upgraded my plugin, it doesn’t work anymore. It still does pull out some of the content but it doesn’t show the post_thumbnail as well as the link does no longer point to the single property page. I don’t know what to do anymore after a bunch of experiments. The previous
- The topic ‘[ Plugin: WP-Property ] My custom loop doesn't seem to work properly.’ is closed to new replies.