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: sidebar-scenic-touring.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( 'scenic-touring' ); ?> <!-- Origins of the route begins --> <?php if( get_field('routehistory')): ?> <h2>Origins of the Route</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'routehistory', true ); ?></span> <?php endif; ?><!-- Ends Origins of the route--> <!-- 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; ?><!-- ends Useful addresses --> <!-- Starts Place to visit --> <?php if( get_field('placestovisit') ): ?> <h2>Places to Visit</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'placestovisit', true ) ; ?></span> <?php endif; ?> <!-- ends Places to visit --> <!--Where to Stay --> <?php if( get_field('wheretostay') ): ?> <h2>Where to stay</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'wheretostay', true ) ; ?></span> <?php endif; ?><!-- ends Where to stay --> <!-- Starts where to eat --> <?php if( get_field('foodanddrink') ): ?> <h2>Food and Drink</h2> <span class="content"> <?php echo get_post_meta( $post->ID, 'foodanddrink', true ) ; ?></span> <?php endif; ?> <!-- ends Where to eat --> <!--Simply Hike --> <?php if ( is_single(array ('121',) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(19); ?> <!-- specifies which ad appears --> <hr> <?php endif; ?> <!-- ends which post it appears on --> <!--Outdoor Gear --> <?php if ( is_single(array ('121', ) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(10); ?><!-- specifies which ad appears --> <hr> <?php endif; ?> <!-- ends which post it appears on --> <!--Holiday Autos --> <?php if ( is_single(array ('121','649','651','653','872','655' ) ) ): ?> <!-- specifies which post ad appears on --> <p>Advertisement</p> <?php echo adrotate_ad(11); ?> <!-- specifies which ad appears --> <hr> <?php endif; ?> <!-- ends which post it appears on --> <!-- Google ad --> <?php if ( !is_single(array ('653','655',) ) ): ?> <!-- specifies which post ad does NOT appear on --> <?php echo adrotate_ad(3); ?> <hr> <?php endif; ?> <!--example--> <?php $image = get_field('ski_review_link_300'); if ( is_single()) { ?> <a href=""><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /></a> <?php } elseif ( is_single() ) { ?> <a href=""><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