Esempio n. 1
0
<?php

use Roots\Sage\Titles;
?>

<?php 
$images = get_custom_background_image();
?>

<style type="text/css" id="custom-background-css-override">
	@media only screen and (min-width: 992px) {
    	body { background-image: url('<?php 
echo $images['bg_image_url'];
?>
'); }
    }
</style>

<div class="inner-content">

	<div class="row">

		<div class="col-md-5 hidden-sm">

			<div class="page-title">
				<img id="inner-content-image" class="img-responsive" src="<?php 
echo $images['inner_image_url'];
?>
">
				<div class="orange-callout">Search Results</div>
			</div>
<?php

while (have_posts()) {
    the_post();
    $images = get_custom_background_image($post->ID);
    ?>

<style type="text/css" id="custom-background-css-override">
	@media only screen and (min-width: 992px) {
    	body { background-image: url('<?php 
    echo $images['bg_image_url'];
    ?>
'); }
    }
</style>

<div class="inner-content">

	<div class="row">

		<div class="col-md-5">

			<div class="page-title">

				<img id="inner-content-image" class="img-responsive" src="<?php 
    echo $images['inner_image_url'];
    ?>
">
				<div class="orange-callout">
					Association Calendar
				</div>