Edit featured properties on home page
-
Hi
I have taken over the maintenance of this website:
https://jbspropertiescayman.com/
It shows 6 featured properties on the nomepage but at present it just picks the last 6 uploaded. Is there a way to pick which 6 properties I want to show there?
This is the code currently:
<section id=”main”>
<h1>FEATURED PROPERTIES</h1>
<div id=”properties”>
<?php
if(detect()==1) $ppp=6; else $ppp= 2;
$args=array(
//’property-category’ => ‘property’,
‘post_type’ => ‘property’,
‘posts_per_page’ => $ppp,
);
query_posts($args); while (have_posts()) : the_post(); ?>
<?php get_template_part(‘property’); ?>
<?php endwhile; ?></div>
</section>Any help would be gratefully received.
- The topic ‘Edit featured properties on home page’ is closed to new replies.