Duplicate Posts
-
Hi
I have the following in my template and for some reason i have duplicate post showing and some posts not showing at all. Does anyone have any ideas what i have done wrong?
$cat = get_query_var('cat'); $category = get_category ($cat); echo do_shortcode('[ajax_load_more posts_per_page="6" button_label="Loading more cottages" orderby="rand" category="'.$category->slug.'"]');
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Duplicate Posts’ is closed to new replies.