Dashboard
PHP:
8.0.30
OS:
Linux
User:
hoozgot
/
/
home
/
hoozgot
/
www
/
mountainpassions
/
winter
/
wp-content
/
themes
/
peakie-2015
📤 Upload
📝 New File
📁 New Folder
Close
Editing: sidebar-mountain-living.php
<!-- sidebar --> <div id="sidebar-right"> <div class="sidebar-top-div"> <h3 class="sidebar-title">Practical Information</h3> </div> <div class="sidebar-content"> <?php dynamic_sidebar( 'mountain-living' ); ?> <?php if( get_field('livfeatures_info') ): ?> <h2>Information</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'livfeatures_info', true ) ; ?></span> <?php endif; ?> <!-- Ends Mountain Living Useful Info --> <!-- Ads for blank inprofile3col practical info --> <!-- desc --> <?php if ( is_single(array ( '', ) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(); ?> <!-- specifies which ad appears --> <?php endif; ?> <!-- ends which post it appears on --> <!--Google Adsense --> <?php if ( is_active_sidebar( 'resorts-1' ) ) : ?> <!-- specifies widget ad --> <?php dynamic_sidebar( 'resorts-1' ); ?> <?php endif; ?> <!-- ends Google widget ad --> <!-- Winter Travel Ads group --> <?php if ( is_single(array ( '', ) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisements</p> <?php echo adrotate_group(1); ?> <?php endif; ?> <!-- ends which post it appears on --> <!--example--> <?php $image = get_field('ski_review_link_300'); if ( is_single()) { ?> <a href="http://www.mountainpassions.com/winter/?p=8283&preview=true" target="blank" title="Valmorel Ski Resort Review"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /></a> <?php } elseif ( is_single() ) { ?> <a href="http://www.mountainpassions.com/winter/?p=545&preview=true" target="blank" title="Sainte-Foy Ski Resort Review"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /></a> <?php } elseif ( is_single() ) { ?> <img src="" /> <?php } elseif ( is_page() ) { ?> <img src="" /> <?php } else { ?> <img src="" /> <?php } ?> </div> <div class="sidebar-bottom-div"></div> </div> <!-- /sidebar -->
Save
Cancel