Dashboard
PHP:
8.0.30
OS:
Linux
User:
hoozgot
/
/
home
/
hoozgot
/
www
/
mountainpassions
/
summer
/
wp-content
/
themes
/
peakie-2016
📤 Upload
📝 New File
📁 New Folder
Close
Editing: single-property-news.php
<!-- article parent category News & Offers, category property news --> <!-- Single post with sidebar --> <?php if (in_category('property-news')) { ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <section id="news-offers-banner" class="extended-wrapper"> <div class="feature-img-wrapper"> <div class="feature-img"> <?php $image = get_field('banner_image'); if( !empty($image) ): ?> <img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /> <?php endif; ?> </div> </div> </section> <div class="dev-news-container"> <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb(' <p id="breadcrumbs">','</p> '); } ?> <div class="feature-title"> <h1><?php the_title(); ?> </h1> <h2> <?php $value = get_field( "feature_sub_title" ); if( $value ) { echo $value; } else { echo ''; } ?></h2> </div> <p class="date"><?php the_date(); ?></p> <?php the_content(); // Dynamic Content ?> </article> <?php get_sidebar ('primary'); ?> <?php }// end if in property news ?> <!-- Ends property articles -->
Save
Cancel