Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $spl = explode('/', $_SERVER['REQUEST_URI']);
- if($spl[1]=='adventures' && strlen($spl[3])>2)
- {
- $id = get_the_ID();
- $precio = get_post_meta($id, 'precio', true);
- $duracion = get_post_meta($id, 'duration', true);
- $adv = $spl[3];
- echo '<div id="booking_box_sm"><a href="#" onclick="bookingpopup(\''.$adv.'\');return false;">Make Enquiry</a></div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement