Your Key to Luxury Homes & Smart Investments

__(‘Primary Menu’, ‘realestate-theme’)
));
}
add_action(‘after_setup_theme’, ‘realestate_register_menus’);

// Register Custom Post Type for Properties
function create_property_post_type() {
register_post_type(‘property’,
array(
‘labels’ => array(
‘name’ => __(‘Properties’, ‘realestate-theme’),
‘singular_name’ => __(‘Property’, ‘realestate-theme’),
),
‘public’ => true,
‘has_archive’ => true,
‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’, ‘custom-fields’),
‘rewrite’ => array(‘slug’ => ‘properties’),
)
);
}
add_action(‘init’, ‘create_property_post_type’);

// Include Header
get_header(); ?>

Welcome to Our Real Estate Listings

Find your dream home today.

‘property’, ‘posts_per_page’ => 6);
$loop = new WP_Query($args);
while ($loop->have_posts()) : $loop->the_post(); ?>