Exemple #1
0
    if (!$twitter_account) {
        echo " not";
    }
    ?>
">twitter</p>
	<?php 
    if ($twitter_account) {
        ?>
		</a>
	<?php 
    }
}
?>

<?php 
if (is_fb_follow()) {
    ?>
	<?php 
    if ($facebook_url) {
        ?>
		<a href="<?php 
        echo $facebook_url;
        ?>
" rel="nofollow" target="_blank">
	<?php 
    }
    ?>
	<p class="lsf follow-icon fb<?php 
    if (!$facebook_url) {
        echo " not";
    }
Exemple #2
0
function customize_css()
{
    ?>
	<style>
	.main-color-background,
	.content h2{background-color: <?php 
    echo get_main_color();
    ?>
;}
	.main-color-font{color: <?php 
    echo get_main_color();
    ?>
;}
	.site-title, .site-title a, .site-desc, .content h2, .more-link, .min-more-link, .go-comment-arrow{color: <?php 
    echo get_title_color();
    ?>
;}
	.content h3{border-bottom: 3px solid <?php 
    echo get_main_color();
    ?>
;}
	.content h4{border-left: 8px solid <?php 
    echo get_main_color();
    ?>
;}
	.content h5{border-left: 3px solid <?php 
    echo get_main_color();
    ?>
}
	.share, .comments-header{border-bottom: 2px solid <?php 
    echo get_main_color();
    ?>
;}
	.sub-color-background{background-color: <?php 
    echo get_sub_color();
    ?>
;}

	.no-thumbnail p:hover,
	.post-title a:hover,
	.bread ul li a:hover,
	.site-title a:hover,
	.kanren-post-name a:hover,
	.same-tag a:hover,
	.same-category a:hover,
	.side .box a:hover,
	.footer a:hover{color: <?php 
    echo get_link_hover_color();
    ?>
;}

	.nav-inner ul li a:hover,
	.cat-link a:hover,
	.more-link:hover,
	.min-more-link:hover,
	.pagenavi .current,
	.pagenavi a:hover,
	.com-nav a:hover,
	.go-comment-arrow:hover,
	.search-submit:hover,
	.move-button:hover{background-color: <?php 
    echo get_link_hover_color();
    ?>
;}
	.no-thumbnail{height: <?php 
    echo get_thumbnail_height();
    ?>
;}
	.thumb-box{max-height: <?php 
    echo get_thumbnail_height();
    ?>
;}
	<?php 
    if (get_option("is_shadow")) {
        echo ".main-color-font, .content h2{text-shadow: 1px 1px 1px #333;}";
    }
    $count_followButtons = 1;
    if (is_twitter_follow()) {
        $count_followButtons += 1;
    }
    if (is_fb_follow()) {
        $count_followButtons += 1;
    }
    if (is_g_follow()) {
        $count_followButtons += 1;
    }
    if (is_line_follow()) {
        $count_followButtons += 1;
    }
    $width_followButton = floor(100 / $count_followButtons);
    ?>
	.follow-icon{width: <?php 
    echo $width_followButton;
    ?>
%;}
	</style>
<?php 
}