コード例 #1
0
ファイル: offline.php プロジェクト: repo-storage/base-jump
        <?php 
//if(mod_mobile::detect()->isPhone()) echo "Phone";
?>
        <div class="social">
            <a href="<?php 
the_author_meta('twitter', cwp_themeadmin());
?>
" target="_blank">
                <span class="social-icons font-larger">l</span></a>
            <a href="<?php 
the_author_meta('facebook', cwp_themeadmin());
?>
" target="_blank">
                <span class="social-icons font-larger">f</span></a>
            <a href="<?php 
the_author_meta('google_plus', cwp_themeadmin());
?>
" target="_blank">
                <span class="social-icons font-larger">g</span></a>
            <!-- class content -->
        </div>
        <!-- class content -->
        <div class="">
            <h3><a href="https://github.com/shawnsandy/AL-MANAGER" target="_blank" >AL.MANAGER on Github</a><br />
                <span class="label">Beta Release</span></h3>

            <!-- class content -->
        </div>
        <!-- ###### -->

コード例 #2
0
ファイル: header.php プロジェクト: repo-storage/base-jump
the_author_meta('google_plus', cwp_themeadmin());
?>
">
                        <img src="<?php 
echo get_template_directory_uri();
?>
/images/google.png" /></a>
                    <a href="<?php 
the_author_meta('linkedin', cwp_themeadmin());
?>
                       "><img src="<?php 
echo get_template_directory_uri();
?>
/images/linkedin.png" /></a>
                    <a href="http://feeds.feedburner.com/<?php 
the_author_meta('feedburner_page', cwp_themeadmin());
?>
" rel="">
                        <img src="<?php 
echo get_template_directory_uri();
?>
/images/rss.png" /></a>
                    <!-- class content -->
                </div>
                <!-- ####column-end#### -->
            </div>
            <!-- class content -->

        </div>

        <div  class="row show-on-desktops" >
コード例 #3
0
ファイル: CWP_CORE.php プロジェクト: repo-storage/core-wp
    /**
     *
     * @param type $network social network value - default twitter
     * @param type $url_value link text or image value -default 1
     * @param type $class_attr link class attributes - default 'social-icons font-large'
     */
    public static function social_links($network = 'twitter', $url_value = 'l', $class_attr = 'social-icons font-large')
    {
        ob_start();
        ?>
                     <a href="<?php 
        the_author_meta($network, cwp_themeadmin());
        ?>
">
                         <span class="<?php 
        echo $class_attr;
        ?>
"><?php 
        echo $url_value;
        ?>
</span>

                     </a>
        <?php 
        echo $link = ob_get_clean();
    }
コード例 #4
0
ファイル: tbs-footer.php プロジェクト: repo-storage/base-jump
                <div class="span3 info">
                    <?php 
if (!dynamic_sidebar('info-4')) {
    ?>

                    <h3><?php 
    _e('Contact', 'base_jump');
    ?>
</h3>
                        <ul class="vcard">
                            <li class="fn">
                                   <?php 
    echo get_the_author_meta('first_name', cwp_themeadmin());
    ?>
        <?php 
    echo get_the_author_meta('last_name', cwp_themeadmin());
    ?>
</li>
                                <li class="nickname">Yeti</li>
                                <li class="org">Foundation, Inc.</li>
                                <li class="tel"><a href="tel:408-867-5309">408-867-5309</a></li>
                                <li><a class="url" href="http://foundation.zurb.com/">http://foundation.zurb.com/</a></li>
                            </ul>
                    <?php 
}
?>
                </div>


        </div>
        <div class="row">
コード例 #5
0
 */
function cwp_theme_settings($option = '')
{
    $option = cwp::theme_options($option) ? cwp::theme_options($option) : 1;
    return $option;
}
/**
 *
 * @param type $option theme options value
 */
function cwp_themeadmin($option = 'themeadmin')
{
    $option = cwp::theme_options($option) ? cwp::theme_options($option) : 1;
    return $option;
}
$the_theme_admin = cwp_themeadmin('themeadmin');
// Disable WordPress version reporting as a basic protection against attacks
function remove_generators()
{
    return '';
}
//add_filter('the_generator', 'remove_generators');
/*
 * add layout tpl
 */
if (!function_exists('_bj_layout')) {
    add_filter('template_include', array('cwp_layout', 'tpl_include'));
}
/**
 * *****************************Theme setup************************************
 */