Advertisement
Guest User

Untitled

a guest
Mar 20th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. <p><?php
  2. global $wp_query;
  3. $postid = $wp_query->post->ID;
  4. echo get_post_meta($postid, 'excerpt', true);
  5. wp_reset_query();
  6. ?></p>
  7. <img src="<?php echo c2c_get_custom('InsertFullImg', ''); ?>" alt="" width="270px"/>
  8.  
  9. <p><a href="<?php
  10. global $wp_query;
  11. $postid = $wp_query->post->ID;
  12. echo get_post_meta($postid, 'TourURL', true);
  13. wp_reset_query();
  14. ?>" 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>
  15.  
  16. <p><img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/dollar1.png"><?php
  17. global $wp_query;
  18. $postid = $wp_query->post->ID;
  19. echo get_post_meta($postid, 'Price', true);
  20. wp_reset_query();
  21. ?></p>
  22.  
  23. <h5>Key Information</h5>
  24. <P><img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/bullett2.png" ><?php
  25. global $wp_query;
  26. $postid = $wp_query->post->ID;
  27. echo get_the_term_list( $post->ID, 'toursstarting', 'Starting from ', ', ', ' ' );
  28. wp_reset_query();
  29. ?><br />
  30. <img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/bullett2.png" ><?php
  31. global $wp_query;
  32. $postid = $wp_query->post->ID;
  33. echo get_the_term_list( $post->ID, 'tourdays', 'Every ', ', ', ' ' );
  34. wp_reset_query();
  35. ?><br />
  36. <img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/bullett2.png" ><?php
  37. global $wp_query;
  38. $postid = $wp_query->post->ID;
  39. echo get_the_term_list( $post->ID, 'toursitesinclude', 'Visits ', ', ', ' ' );
  40. wp_reset_query();
  41. ?></br>
  42. <img src="http://www.telavivboutiquehotels.com/wp-content/uploads/2013/01/bullett2.png" ><?php
  43. global $wp_query;
  44. $postid = $wp_query->post->ID;
  45. echo get_the_term_list( $post->ID, 'tourlength', 'Length: ', ', ', ' ' );
  46. wp_reset_query();
  47. ?></p>
  48. <br />
  49. <img src="http://www.touristisrael.com/wp-content/uploads/WhyTI.png">
  50. <br /><br />
  51. <h5>Book</h5>
  52.  
  53. <p>
  54. <a href="<?php
  55. global $wp_query;
  56. $postid = $wp_query->post->ID;
  57. echo get_post_meta($postid, 'TourURL', true);
  58. wp_reset_query();
  59. ?>" target="_blank "><img src="http://www.touristisrael.com/wp-content/uploads/BlueBookNow.png"></a></p>
  60.  
  61. <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>
  62.  
  63. <strong><?php
  64. global $wp_query;
  65. $postid = $wp_query->post->ID;
  66. echo get_the_term_list( $post->ID, 'tourlocation', 'See more ', ', ', ' ' );
  67. wp_reset_query();
  68. ?></strong>
  69.  
  70. <?php
  71. global $wp_query;
  72. $postid = $wp_query->post->ID;
  73. if ( ! empty( get_post_meta($postid, 'TourURL', true) ) ) echo '<P>Show Link</P>';
  74. else echo '<P>No Link</P>';
  75. wp_reset_query();
  76. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement