Example #1
0
function generate_css()
{
    ?>
    <style>
        .keyvisual.index{
            background: url("<?php 
    echo get_top_image();
    ?>
") no-repeat scroll center center / 100% auto;
        }
    </style>
    <?php 
}
Example #2
0
">Home</a></li>
                                <li><a href="<?php 
echo bloginfo('url');
?>
/company/">About Evolable Asia</a></li>
                                <li><a href="<?php 
echo bloginfo('url');
?>
/company/reason">選ばれる理由</a></li>
                                <li>
                                    <a href="<?php 
echo bloginfo('url');
?>
">
                                        <img class="img-responsives" src="<?php 
echo get_top_image();
?>
">
                                    </a>
                                </li>
                                <li><a href="<?php 
echo bloginfo('url');
?>
/service">サービス</a></li>
                                <li><a href="<?php 
echo bloginfo('url');
?>
/news">ニュース</a></li>
                                <li><a href="<?php 
echo get_site_url(2);
?>