0, ), $atts, 'popup_anything'); $atts['id'] = isset( $atts['id'] ) ? trim( $atts['id'] ) : false; extract( $atts ); // Taking some variable $prefix = POPUPAOC_META_PREFIX; $enable = popupaoc_get_option( 'enable' ); // Return id popup is disabled from plugin settings if( ! $enable ) { return $content; } // Taking some variable $post_status = popupaoc_get_post_status( $id ); $post_type = get_post_type( $id ); /* Timer ID is not there * Timer post status is not publish * Timer post type is not match */ if( empty( $id ) || $post_status != 'publish' || $post_type != POPUPAOC_POST_TYPE ) { return $content; } // Taking some variables $paoc_popup_data = ( ! empty( $paoc_popup_data ) && is_array( $paoc_popup_data ) ) ? $paoc_popup_data : array(); ob_start(); // Taking some variable $unique = popupaoc_get_unique(); $popup_appear = get_post_meta( $id, $prefix.'popup_appear', true ); $behaviour = popupaoc_get_meta( $id, $prefix.'behaviour' ); // Assigning it into global var $paoc_popup_data[ $id ]['popup_id'] = $id; // If `Popup Appear` is `Simple Link` if( $popup_appear == 'simple_link' ) { $link_text = isset( $behaviour['link_text'] ) ? $behaviour['link_text'] : __('Click Me!!!', 'popup-anything-on-click'); } // If `Popup Appear` is `Image Click` if( $popup_appear == 'image' ) { $image_url = isset( $behaviour['image_url'] ) ? $behaviour['image_url'] : ''; $popup_img_id = isset( $behaviour['popup_img_id'] ) ? $behaviour['popup_img_id'] : 0; $show_img_title = ! empty( $behaviour['image_title'] ) ? 1 : 0; $show_img_caption = ! empty( $behaviour['image_caption'] ) ? 1 : 0; $image_title = ''; $image_caption = ''; $image_alt = ''; // Get Image `Title` & `Caption` if( ! empty( $popup_img_id ) ) { $image_data = get_post( $popup_img_id ); $image_title = $image_data->post_title; $image_caption = $image_data->post_excerpt; $image_alt = get_post_meta( $popup_img_id, '_wp_attachment_image_alt', true); } } // If `Popup Appear` is `Button Click` if( $popup_appear == 'button' ) { $btn_text = isset( $behaviour['btn_text'] ) ? $behaviour['btn_text'] : __('Click Here!!!', 'popup-anything-on-click'); $button_class = isset( $behaviour['btn_class'] ) ? $behaviour['btn_class'] : ''; } $design_file_path = POPUPAOC_DIR . '/templates/content.php'; $design_file_path = ( file_exists( $design_file_path ) ) ? $design_file_path : ''; // Include design html file if( $design_file_path ) { include( $design_file_path ); } $content .= ob_get_clean(); return $content;}// Popup Shortcodeadd_shortcode('popup_anything', 'popupaoc_popup_shortcode');
Clients & Sectors
Highways
- A14 Widening; Costain
- M1-A5 Woodside Link; Balfour Beatty Civil Engineering
- A45 Daventry by-pass; Balfour Beatty Civil Engineering
- A43 bypass; CR Civil Engineering
- Hastings by-pass; CJ Pryor (Contracts) Limited
- West Cambridge Development access roads; CJ Pryor (Contracts) Limited
- Refurbish Trumpington Road/Rail Bridge Cambridge; Jackson Rail
- M1 widening Junction 21-21A; George Corduroy & Co
Power
- Bradwell Power Station; W Hare Group
- SSEC Briar Chemical Plant , Wembley Park, ASN Linwood, Craig Allechie Power Plant
Rail
- Watford Bletchley Alliance; Westinghouse
- Westcoast P-way Renewals; Jarvis
- Westcoast Train communication systems; Marconi Jarvis JV
- West Coast Mainline track maintenance; GTRM
- Replacement of North Pole and Mitre Road Bridges; Jackson Rail
- London Bridge Station refurbishment
- Crossrail; Ilford Yard C828, C718, C717 Wallasea Island, C600s System Wide Central Team for TFL Abellio
- Network Rail IP Southern for Kent, Wessex and Sussex Route accounts
Transportation
- Nottingham Tram NET-2; Vinci (UK) Limited
- Victoria Station Comms Upgrade; Atkins
- Bank Station Upgrade; Atkins
- London Overground Station Capacity Programme; Morgan Sindall
- Gospel Oak to Barking; Capita/Network Rail
- Ealing and Upminster Station upgrades; Galldris
- East London Line Extension; Balfour Beatty Carillion JV
- Jubilee Line Extension Project; George Corduroy
Construction
- Paddington Station Re-roofing; Morgan Sindall Colas JV MAFA Project
- Network Rail Property Framework Agreement; May Gurney
- Tottenham Hotspur Stadium Construction
- Brighton Football Stadium Build
- Floating Cub Restaurant
- Olympic Park raising structures:
- American Basketball Temporary Pavilion
- Coca Cola Beat Box
- EDF Pavilion
- Copper Box