Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p><?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- echo get_post_meta($postid, 'excerpt', true);
- wp_reset_query();
- ?></p>
- <img src="<?php echo c2c_get_custom('InsertFullImg', ''); ?>" alt="" width="270px"/>
- <p><a href="<?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- echo get_post_meta($postid, 'TourURL', true);
- wp_reset_query();
- ?>" target="_blank " onClick="_gaq.push(['_trackEvent', 'Booking.com Link', 'Booking.com', 'Book Now Top',, false]);"><img src="http://www.touristisrael.com/wp-content/uploads/BlueBookNow.png"></a></p>
- <p><img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/dollar1.png"><?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- echo get_post_meta($postid, 'Price', true);
- wp_reset_query();
- ?></p>
- <h5>Key Information</h5>
- <P><img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/bullett2.png" ><?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- echo get_the_term_list( $post->ID, 'toursstarting', 'Starting from ', ', ', ' ' );
- wp_reset_query();
- ?><br />
- <img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/bullett2.png" ><?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- echo get_the_term_list( $post->ID, 'tourdays', 'Every ', ', ', ' ' );
- wp_reset_query();
- ?><br />
- <img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/bullett2.png" ><?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- echo get_the_term_list( $post->ID, 'toursitesinclude', 'Visits ', ', ', ' ' );
- wp_reset_query();
- ?></br>
- <img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/bullett2.png" ><?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- echo get_the_term_list( $post->ID, 'tourlength', 'Length: ', ', ', ' ' );
- wp_reset_query();
- ?></p>
- <br />
- <img src="http://www.touristisrael.com/wp-content/uploads/WhyTI.png">
- <br /><br />
- <h5>Book</h5>
- <p>
- <a href="<?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- echo get_post_meta($postid, 'TourURL', true);
- wp_reset_query();
- ?>" target="_blank "><img src="http://www.touristisrael.com/wp-content/uploads/BlueBookNow.png"></a></p>
- <p><a href="http://touristisrael.wufoo.com/forms/q7x2x3/" target="_blank"><img title="Questions"src="http://www.touristisrael.com/wp-content/uploads/Questions.png" alt="Questions?" /></a></p>
- <strong><?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- echo get_the_term_list( $post->ID, 'tourlocation', 'See more ', ', ', ' ' );
- wp_reset_query();
- ?></strong>
- <?php
- global $wp_query;
- $postid = $wp_query->post->ID;
- if ( ! empty( get_post_meta($postid, 'TourURL', true) ) ) echo '<P>Show Link</P>';
- else echo '<P>No Link</P>';
- wp_reset_query();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement