Support » Fixing WordPress » Edit featured properties on home page

  • Resolved webtexweb



    I have taken over the maintenance of this website:

    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”>
    <div id=”properties”>
    if(detect()==1) $ppp=6; else $ppp= 2;
    //’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; ?>


    Any help would be gratefully received.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Edit featured properties on home page’ is closed to new replies.