checking version number by static $var made in functions.php now instead of getting it from style.css allieviating some processing
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
92d79fa43a
commit
6bb85f9287
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
$comicpress_version = '2.8.0.9';
|
||||
|
||||
// Remove the wptexturizer from changing the quotes and squotes.
|
||||
// remove_filter('the_title', 'wptexturize');
|
||||
// remove_filter('the_content', 'wptexturize');
|
||||
|
@ -734,20 +736,6 @@ function storyline_category_list() {
|
|||
echo $listcats;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This is function comicpress_current_theme_version
|
||||
*
|
||||
* @return mixed return straight current theme version #
|
||||
*
|
||||
*/
|
||||
function comicpress_current_theme_version() {
|
||||
$themes = get_themes();
|
||||
$current_theme = get_current_theme();
|
||||
return $themes[$current_theme]['Version'];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This is function comicpress_is_active_sidebar
|
||||
*
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name') ?> Atom Feed" href="<?php bloginfo('atom_url') ?>" />
|
||||
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
|
||||
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/scroll.js"></script>
|
||||
<meta name="ComicPress" content="<?php echo comicpress_current_theme_version(); ?>" />
|
||||
<meta name="ComicPress" content="<?php global $comicpress_version; echo $comicpress_version; ?>" />
|
||||
<!--[if lte IE 7]>
|
||||
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/ie6submenus.js"></script>
|
||||
<![endif]-->
|
||||
|
|
Loading…
Reference in New Issue