Exemple #1
0
function wallow_get_variants()
{
    if (wallow_get_opt('wallow_theme_set') && wallow_get_opt('wallow_theme_set') == 1) {
        // check if use set or custom combinations
        $args['st'] = wallow_get_opt('wallow_theme_genlook');
        $args['si'] = wallow_get_opt('wallow_theme_sidebar');
        $args['me'] = wallow_get_opt('wallow_theme_pages');
        $args['po'] = wallow_get_opt('wallow_theme_popup');
        $args['qu'] = wallow_get_opt('wallow_theme_quickbar');
        $args['av'] = wallow_get_opt('wallow_theme_avatar');
    } else {
        // output a default theme set
        $theme_set = wallow_get_opt('wallow_theme_set') ? wallow_get_opt('wallow_theme_set') : 'fire';
        $args['st'] = $theme_set;
        $args['si'] = $theme_set;
        $args['me'] = $theme_set;
        $args['po'] = $theme_set;
        $args['qu'] = $theme_set;
        $args['av'] = $theme_set;
    }
    //$args = array();
    $style_path = add_query_arg($args, get_template_directory_uri() . '/css/load-styles.php');
    wp_enqueue_style('wallow_variants-style', $style_path, false, wallow_get_info('version'), 'screen');
}
Exemple #2
0
 function stylesheet()
 {
     if (is_admin()) {
         return;
     }
     wp_enqueue_style('tbm-mobile-style', get_template_directory_uri() . '/mobile/style-mobile.css', false, wallow_get_info('version'), 'screen');
 }
Exemple #3
0
 function wallow_admin_header_style()
 {
     wp_enqueue_style('wlw-admin-header-style', get_template_directory_uri() . '/css/admin-custom_header.css', array(), wallow_get_info('version'), 'screen');
 }
Exemple #4
0
echo date("Y");
?>
  <strong><?php 
bloginfo('name');
?>
</strong> <?php 
_e('All rights reserved', 'wallow');
?>
				<?php 
wallow_hook_change_view();
?>
				<?php 
if (wallow_get_opt('wallow_tbcred')) {
    ?>
 - Powered by <a href="http://wordpress.org"><strong>WordPress</strong></a> and <a title="v<?php 
    echo esc_attr(wallow_get_info('version'));
    ?>
" href="http://www.twobeers.net/"><strong>Wallow</strong></a><?php 
}
?>
 - <?php 
_e('Have fun!', 'wallow');
?>
			</div>

			<!-- <?php 
echo get_num_queries();
?>
 queries. <?php 
timer_stop(1);
?>