Esempio n. 1
0
        ?>
		</a>
	<?php 
    }
}
?>

<a href="http://feedly.com/i/subscription/feed/<?php 
bloginfo('rss2_url');
?>
" rel="nofollow" target="_blank">
<p class="lsf follow-icon feedly">feed</p>
</a>

<?php 
if (is_line_follow()) {
    ?>
	<?php 
    if ($line_id) {
        ?>
		<a href="http://line.me/ti/p/%40<?php 
        echo $line_id;
        ?>
" rel="nofollow" target="_blank">
	<?php 
    }
    ?>
	<p class="lsf follow-icon line<?php 
    if (!$line_id) {
        echo " not";
    }
Esempio n. 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 
}