php // CUSTOM YEAR SHORTCODE function year_shortcode() { $fromYear = 2009; $thisYear = (int)date('Y'); return $fromYear . (($fromYear != $thisYear) ? '-' . $thisYear : ''); } add_shortcode('year', 'year_shortcode'); //Remove All Meta Generators ini_set('output_buffering', 'on'); // turns on output_buffering function remove_meta_generators($html) { $pattern = '//i'; $html = preg_replace($pattern, '', $html); return $html; } function clean_meta_generators($html) { ob_start('remove_meta_generators'); } add_action('get_header', 'clean_meta_generators', 100); add_action('wp_footer', function(){ ob_end_flush(); }, 100); // hide the meta tag generator from head and rss function disable_version() { return ''; } add_filter('the_generator','disable_version'); remove_action('wp_head', 'wp_generator'); ?> Gazduire Web & Design Atlas

Gazduire Web & Design Atlas

Ne cerem scuze pentru inconvenienta.
Site-ul nostru se afla in mentenanta.
Multumim pentru intelegere.

Sorry, we're doing some maintenance...