js): ?> settings['appearance']['device_width']): ?> settings['appearance']['title_format']): case 'page-name': ?> <?php wp_title($this->settings['appearance']['title_separator'], true, 'right'); ?> <?php bloginfo('name'); ?> <?php bloginfo('name'); ?> <?php wp_title($this->settings['appearance']['title_separator']); ?>
settings['appearance']['background_image']): ?>
js): ?>
'; $loader = apply_filters('age_gate_loading_icon', $loader); echo $loader; ?>
display_logo(); $logo = apply_filters('age_gate_logo', $logo, $this->appearance->logo); echo $logo; ?> display_messages(); $messages = apply_filters('age_gate_messaging', $messages, $this->messages, $this->age); echo $messages; ?> user_age && $this->user_age < $this->age && !$errors && !isset($_COOKIE['age_gate_failed']) && !$this->js): ?>

messages->errors->failed); ?>

restrictions->input_type === 'buttons'): ?> js && !$this->restrictions->rechallenge): ?>
restrictions->rechallenge || !$this->restrictions->rechallenge && !isset($_COOKIE['age_gate_failed'])): ?> _check_filtered(apply_filters('pre_age_gate_custom_fields', $extra)); echo $extra; ?> restrictions->input_type}.php" ?> restrictions->remember): ?>

_check_filtered(apply_filters('post_age_gate_custom_fields', $extra)); echo $extra; ?> restrictions->input_type !== 'buttons'): ?> js && !$errors): ?>

messages->errors->failed); ?>

messages->additional) { echo '
'; echo do_shortcode(wpautop(html_entity_decode(stripslashes($this->messages->additional)))); echo "
"; } // base 64 encode the age just to be a little obsure // not really a security thing, just to stop people easily changing // it in devtools echo form_hidden('age_gate[age]', base64_encode(base64_encode($this->age))); echo form_hidden('action', 'age_gate_submit'); echo str_replace('id="age_gate[nonce]"', '', wp_nonce_field( 'age_gate_form', 'age_gate[nonce]', true, false) ); if(self::$language && self::$language->current['language_code'] !== self::$language->default['language_code']){ echo form_hidden('lang', self::$language->current['language_code']); } if ($this->restrictions->input_type === 'buttons') { echo form_hidden('confirm_action', 0); } ?>
js): ?>