Esempio n. 1
0
        $favicon_html = "<link rel='icon' type='image/" . $file['ext'] . "' href='{$favicon_src}' />";
    }
    if ($favicon_html) {
        echo $favicon_html;
    }
}
?>
		<?php 
bp_head();
?>
		
		<?php 
wp_head();
?>
		<?php 
$scripts = bpmagic_get_option('header_scripts');
if (!empty($scripts)) {
    echo $scripts;
}
?>
  

		<?php 
//load IE specific css/js
?>
  
        
		<!--[if lt IE 9]>

			<script src="<?php 
echo get_template_directory_uri();
Esempio n. 2
0
			</div>

		</div> 
	<?php 
}
?>
 

	<?php 
do_action('bp_in_footer');
?>

    <div id="credits" role="contentinfo">
        <div class="inner">
			<?php 
do_action('bpmagic_credits');
?>
			<?php 
echo bpmagic_get_option('copyright_text');
?>
        </div>       
    </div> 
</footer><!-- #footer -->

<?php 
do_action('bp_after_footer');
wp_footer();
?>

</body>
</html>
Esempio n. 3
0
<section id="content">
    <h1 class="pagetitle"><?php 
echo single_post_title();
?>
</h1> 
    <div class="padder">

		<?php 
do_action('bp_before_blog_home');
?>
		<?php 
do_action('template_notices');
?>

		<?php 
if (function_exists('show_skitter') && bpmagic_get_option('show_slider_on_blog_home_page')) {
    ?>
			<div id="slideshow">
				<?php 
    show_skitter();
    ?>
			</div>
		<?php 
}
?>

        <div class="clearfix" id="blog-latest">
			<?php 
global $wp_query;
$args = array('post_type' => 'post', 'paged' => get_query_var('paged'));
query_posts($args);
Esempio n. 4
0
 /**
  * Add favicon icon for site
  */
 public function faviconicon()
 {
     $favicon_icon = bpmagic_get_option("favicon_icon");
     echo "<link rel='Shortcut Icon' type='image/x-icon' href='{$favicon_icon}'/>";
 }
Esempio n. 5
0
<style type="text/css">
<?php 
$bg_image = bpmagic_get_option('site_background_image');
$bg_image_repeat = bpmagic_get_option('site_background_repeat');
$bg_color = bpmagic_get_option('site_background_color');
if (!empty($bg_image)) {
    ?>
body{
    background-image: url(<?php 
    echo $bg_image;
    ?>
);
    <?php 
    if (!empty($bg_image_repeat)) {
        ?>
        background-repeat:<?php 
        echo $bg_image_repeat;
        ?>
;
    <?php 
    }
    ?>
}

<?php 
}
if (!empty($bg_color)) {
    ?>

body{
    background-color:<?php 
Esempio n. 6
0
			<?php 
    do_action('bp_after_blog_home');
    ?>

		<?php 
    wp_reset_query();
    ?>
		
	<?php 
}
//show,hide posts on home page
?>

	<?php 
if (is_active_sidebar('home-bottom-widget-area') && bpmagic_get_option('show_home_bottom_widget_area')) {
    ?>
		<div id="home-bottom-widget-area" class="widget-area clearfix">
			<?php 
    dynamic_sidebar('home-bottom-widget-area');
    ?>
		</div><!-- #first .widget-area -->
	<?php 
}
?>
         
    </div><!-- .padder -->
</section><!-- #content -->

<?php 
get_sidebar();