__( 'Primary Navigation', 'placester' ),
) );
// This theme allows users to set a custom background
add_custom_background();
// Your changeable header business starts here
if ( ! defined( 'HEADER_TEXTCOLOR' ) )
define( 'HEADER_TEXTCOLOR', '' );
// Define default header image
if ( ! defined( 'HEADER_IMAGE' ) ) define( 'HEADER_IMAGE', '%s/images/sample-slide.png' );
define( 'HEADER_IMAGE_WIDTH', apply_filters( 'allure_header_image_width', 620 ) );
define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'allure_header_image_height', 323 ) );
// We'll be using post thumbnails for custom header images on posts and pages.
// We want them to be 940 pixels wide by 198 pixels tall.
// Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php.
set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
// Don't support text inside the header image.
if ( ! defined( 'NO_HEADER_TEXT' ) )
define( 'NO_HEADER_TEXT', true );
add_custom_image_header( '', 'placester_admin_header_style' );
}
// ==================================
// = Standard Functions / Utilities =
// ==================================
/**
* Switch theme
*/
include('backbone/functions/enqueue.php');
include("parts/enqueue.php");
// Thats all you need =)
include('backbone/init.php');
/**
* switch_theme.php makes the necessary updates to the users pages
* once the theme is activated
*/
require('parts/switch_theme.php');
function placester_footer_nav() {
?>
TRUE));
}
catch (PlaceSterNoApiKeyException $e) {
return;
}
$i = 1;
$flag = FALSE;
// print_r($featured_listings);
foreach ($featured_listings->properties as $listing) {
if ($i == $limit)
$flag = TRUE;
?>
bedrooms . ' bed, ' . $listing->bathrooms . ' bath for $' . $listing->price . ' available ' . $listing->available_on ?> bedrooms . ' bed, ' . $listing->bathrooms . ' bath for $' . $listing->price . ' available ' . $listing->available_on ?>