コード例 #1
0
ファイル: functions.php プロジェクト: TheRojam/raindrops
 function raindrops_add_class($id = 'yui-u first', $echo = false)
 {
     _deprecated_function(__FUNCTION__, '1.272', 'raindrops_dinamic_class()');
     if (false == $echo) {
         return raindrops_dinamic_class($id = 'yui-u first', $echo = false);
     } else {
         echo raindrops_dinamic_class($id = 'yui-u first', $echo = false);
     }
 }
コード例 #2
0
ファイル: date.php プロジェクト: TheRojam/raindrops
?>
<div id="yui-main" class="<?php 
raindrops_dinamic_class('yui-main', true);
?>
">
    <div class="<?php 
raindrops_dinamic_class('yui-b', true);
?>
">
        <div class="<?php 
echo raindrops_yui_class_modify();
?>
" id="container">
            <!-- content -->
            <div class="<?php 
raindrops_dinamic_class('yui-u first', true);
?>
" <?php 
raindrops_doctype_elements('', 'role="main"');
?>
>
<?php 
raindrops_prepend_loop();
?>

                <h2 id="archives-title" class="page-title">
                    <?php 
if (is_year()) {
    $one_year = query_posts("posts_per_page=-1&year={$ye}");
    $output = raindrops_get_year($one_year, $ye);
    wp_reset_query();
コード例 #3
0
ファイル: bbpress.php プロジェクト: TheRojam/raindrops
/**
 * This Template for bbpress
 *
 */
do_action('raindrops_' . basename(__FILE__));
get_header($raindrops_document_type);
do_action('raindrops_pre_' . basename(__FILE__));
$raindrops_current_column = raindrops_column_controller();
if ($raindrops_current_column !== false) {
    add_filter("raindrops_theme_settings__raindrops_indv_css", "raindrops_color_type_custom");
}
raindrops_debug_navitation(__FILE__);
?>
<div id="yui-main" class="<?php 
raindrops_dinamic_class('yui-main', true);
?>
">
    <div id="container">
		<?php 
get_template_part('widget', 'sticky');
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
				<div class="entry page">
					<div id="post-<?php 
        the_ID();
        ?>
" <?php 
        raindrops_post_class();