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-development.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( 'development' ); ?> <?php if( get_field('test_getting_there') ): ?> <!--example--> <h2>test getting there</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'test_getting_there', true ) ; ?></span> <?php endif; ?> <!--POFerries --> <?php if ( is_single(array (599, 928, 8182, 1587, '', ) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(7); ?> <!-- specifies which ad appears --> <hr> <?php endif; ?> <!-- ends which post it appears on --> <!--SNCF --> <?php if ( is_single(array ('8612', '', ) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(6); ?> <!-- specifies which ad appears --> <hr> <?php endif; ?> <!-- ends which post it appears on --> <!--Monarch Airlines --> <?php if ( is_single(array (8182, 597, 625) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(4); ?> <!-- specifies which ad appears --> <hr> <?php endif; ?> <!-- ends which post it appears on --> <!--Jet2 --> <?php if ( is_single(array (595, 631,) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(8); ?> <!-- specifies which ad appears --> <hr> <?php endif; ?> <!-- ends which post it appears on --> <?php if( get_field('test_where_to_stay') ): ?> <h2>test where to stay</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'test_where_to_stay', true ) ; ?></span> <?php endif; ?> <?php if( get_field('test_things_to_do') ): ?> <h2>Useful Information</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'test_things_to_do', true ) ; ?></span> <?php endif; ?> <!--Ski Lifts --> <?php if ( is_single(array (8182, 1587, 623, 614, 627, 597, 595, '',) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(25); ?> <!-- specifies which ad appears --> <hr> <?php endif; ?> <!-- ends which post it appears on --> <!--Spafinder --> <?php if ( is_single( '1595' ) ) : ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(18); ?> <!-- specifies which ad appears --> <hr> <?php endif; ?> <!-- ends which post it appears on --> <!-- Ski Features --> <!-- Ski Features Where to stay begins--> <?php if( get_field('skifeatures_wheretostay') ): ?> <h2>Where To Stay</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'skifeatures_wheretostay', true ) ; ?></span> <?php endif; ?> <!-- Ski Features Where to stay ends--> <!-- Equipment required begins --> <?php if( get_field('equipment') ): ?> <h2>Equipment Required</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'equipment', true ) ; ?></span> <?php endif; ?> <!-- ends equipment req'd --> <!-- Ski Features Info begins--> <?php if( get_field('skifeatures_info') ): ?> <h2>Useful Information</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'skifeatures_info', true ) ; ?></span> <?php endif; ?> <!-- Ski Features Info ends--> <!-- Ski Features Useful Addresses begins--> <?php if( get_field('usefuladdresses') ): ?> <h2>Useful Addresses</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'usefuladdresses', true ) ; ?></span> <?php endif; ?> <!-- Ski Features Useful Addresses ends--> <!--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