WordPress.org

Make WordPress Themes


Ignore:
Location:
clean-yeti-basic
Files:
11 deleted
41 edited

Legend:

Unmodified
Added
Removed
  • clean-yeti-basic/2.0.2/functions.php

    r50516 r50516  
    173173} 
    174174 
     175function copyright_change($output) { 
     176    $output = '© 2013, 2014-2016 My Copyright'; 
     177    return $output; 
     178} 
     179add_filter('cleanyetibasic_copyright', 'copyright_change', 1); 
    175180?> 
  • clean-yeti-basic/2.0.2/library/extensions/comments-extensions.php

    r50516 r50516  
    240240        'must_log_in'          => '<p id="login-req">' .  sprintf( __('You must be %1$slogged in%2$s to post a comment.', 'cleanyetibasic'), sprintf('<a href="%s" title ="%s">', esc_attr( wp_login_url( apply_filters( 'the_permalink', get_permalink() ) ) ), esc_attr__( 'Log in', 'cleanyetibasic' ) ), '</a>' ). '</p>', 
    241241 
    242         'logged_in_as'         => '<fieldset><legend><span class="loggedin">' . sprintf( __('Logged in as %s', 'cleanyetibasic' ), sprintf( ' <a href="%1$s" title="%2$s">%3$s</a>', admin_url( 'profile.php' ), sprintf( esc_attr__('Logged in as %s', 'cleanyetibasic'), $user_identity ) , $user_identity ) ) .'</span> <span class="logout">' . sprintf('<a href="%s" title="%s">%s</a>' , esc_attr( wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ), esc_attr__('Log out of this account', 'cleanyetibasic' ) , __('Log out?', 'cleanyetibasic' ) ) . '</span></legend>', 
     242        'logged_in_as'         => '<fieldset><legend><span class="loggedin">' . sprintf( __('Logged in as %s', 'cleanyetibasic' ), sprintf( ' <a href="%1$s" title="%2$s">%3$s</a>', admin_url( 'profile.php' ), sprintf( esc_attr__('Logged in as %s', 'cleanyetibasic'), $user_identity ) , $user_identity ) ) .'</span> <span class="logout">(' . sprintf('<a href="%s" title="%s">%s</a>' , esc_attr( wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ), esc_attr__('Log out of this account', 'cleanyetibasic' ) , __('Log out', 'cleanyetibasic' ) ) . ')</span></legend>', 
    243243         
    244244        'comment_notes_after'  => '<div id="form-allowed-tags" class="form-section"><p><span>' . sprintf( _x('You may use these %1$sHTML%2$s tags and attributes', '%$1s and %$2s are <abbr> tags', 'cleanyetibasic'), '<abbr title="HyperText Markup Language">', '</abbr>' ) . '</span> <code>' . allowed_tags() . '</code></p></div></fieldset>', 
  • clean-yeti-basic/2.0.2/library/extensions/footer-extensions.php

    r50516 r50516  
    8585add_action('cleanyetibasic_footer', 'cleanyetibasic_subsidiaries', 10); 
    8686 
     87/* 
     88* Copyright code, courtesy of Chip Bennett 
     89* http://wordpress.stackexchange.com/questions/14492/how-do-i-create-a-dynamically-updated-copyright-statement 
     90*/ 
     91function cleanyetibasic_copyright() { 
     92    global $wpdb; 
     93    $copyright_dates = $wpdb->get_results(" 
     94        SELECT 
     95            YEAR(min(post_date_gmt)) AS firstdate, 
     96            YEAR(max(post_date_gmt)) AS lastdate 
     97        FROM 
     98            $wpdb->posts 
     99        WHERE 
     100            post_status = 'publish' 
     101    "); 
     102    $output = ''; 
     103    if($copyright_dates) { 
     104        $copyright = "&copy; " . $copyright_dates[0]->firstdate; 
     105            if($copyright_dates[0]->firstdate != $copyright_dates[0]->lastdate) { 
     106                $copyright .= '-' . $copyright_dates[0]->lastdate; 
     107            } 
     108        $output = $copyright; 
     109        $output .= ' ' . get_bloginfo( 'name' ); 
     110    } 
     111    return apply_filters( 'cleanyetibasic_copyright', $output); 
     112} 
    87113 
    88114function cleanyetibasic_footer_menu_display() { 
     
    90116<div class="row"> 
    91117    <div class="large-4 columns"> 
    92         <p class="copyright">&copy; <?php echo bloginfo( 'name' ); ?> <?php echo date('Y'); ?></p> 
     118        <p class="copyright"><?php echo cleanyetibasic_copyright(); ?></p> 
    93119   </div> 
    94120    <div class="large-8 columns"> 
  • clean-yeti-basic/2.0.2/library/extensions/sidebar-extensions.php

    r50516 r50516  
    2323     
    2424    if ($show) 
    25         echo '<div class="large-4 columns">' . "\n\n"; 
    2625        get_sidebar() . "\n\n"; 
    27         echo '</div>'; 
    2826     
    2927    return; 
    3028} // end cleanyetibasic_sidebar 
    3129 
     30/** 
     31 * Opening & closing element for sidebar 
     32 * 
     33 * Width may be changed by editing large-4 to large-* 
     34 * If changed, filter for cleanyetibasic_container must be applied 
     35 * Filters: cleanyetibasic_sidebar_open, cleanyetibasic_sidebar_close 
     36 */ 
     37  
     38function cleanyetibasic_sidebar_open() { 
     39    $open = '<div class="large-4 columns">'; 
     40    echo apply_filters('cleanyetibasic_sidebar_open', $open); 
     41} 
     42add_action( 'cleanyetibasic_abovemainasides', 'cleanyetibasic_sidebar_open', 1); 
     43 
     44function cleanyetibasic_sidebar_close() { 
     45    $close = '</div>'; 
     46    echo apply_filters('cleanyetibasic_sidebar_close', $close); 
     47} 
     48add_action( 'cleanyetibasic_belowmainasides', 'cleanyetibasic_sidebar_close', 99); 
    3249 
    3350/*  
  • clean-yeti-basic/2.0.2/library/extensions/widgets-extensions.php

    r50516 r50516  
    205205add_filter('cleanyetibasic_widgetized_areas', 'cleanyetibasic_sort_widgetized_areas', 100); 
    206206 
     207/** 
     208 * Opening element for container 
     209 * 
     210 * Width may be changed by editing large-8 to large-* 
     211 * If changed, filter for cleanyetibasic_sidebar_open must be applied 
     212 * Filter: cleanyetibasic_container 
     213 */ 
     214 
    207215function cleanyetibasic_container() { 
    208216    global $wp_customize; 
    209217    if ( is_page_template( 'template-page-fullwidth.php' )) : 
    210 ?> 
    211         <div id="container" class="large-12 columns"> 
    212 <?php 
     218        $open = '<div id="container" class="large-12 columns">'; 
    213219    elseif (is_active_sidebar('primary-aside') || is_active_sidebar('secondary-aside') || ( method_exists ( $wp_customize,'is_preview' ) && $wp_customize->is_preview()  )): 
    214 ?> 
    215         <div id="container" class="large-8 columns"> 
    216             <?php 
    217                 else: 
    218             ?> 
    219         <div id="container" class="large-12 columns"> 
    220             <?php 
    221                 endif;   
     220        $open = '<div id="container" class="large-8 columns">'; 
     221    else: 
     222        $open = '<div id="container" class="large-12 columns">'; 
     223    endif; 
     224    echo apply_filters( 'cleanyetibasic_container', $open ); 
    222225} 
    223226add_action( 'cleanyetibasic_abovecontent', 'cleanyetibasic_container', 1 ); 
     227 
    224228/** 
    225229 * Displays the Primary Aside 
  • clean-yeti-basic/2.0.2/library/postformats/format-standard.php

    r50516 r50516  
    1717                        <div class="entry-content large-12 columns"> 
    1818                     
    19                         <?php 
    20                             // insert featured image 
    21                             if (is_single()) { 
    22                                 cleanyetibasic_insert_featured_image(); 
    23                             }          
    24  
    25                             cleanyetibasic_content(); 
    26                         ?> 
     19                        <?php cleanyetibasic_content(); ?> 
    2720 
    2821                        </div><!-- .entry-content --> 
  • clean-yeti-basic/2.0.2/style.css

    r50516 r50516  
    1 /* 
     1/* 
    22THEME NAME: Clean Yeti Basic 
    33THEME URI: http://cleanyetibasic.serenethemes.com 
    4 DESCRIPTION: The ultimate in responsive themes, Clean Yeti is a highly extensible, WordPress Theme based on Zurb's Foundation with a grid-based layout. Perfect for any blog and viewable on any device from mobile to desktop. 
    5 VERSION: 2.0.1 
     4DESCRIPTION: The ultimate in responsive themes, Clean Yeti Basic is a highly extensible, WordPress Theme based on Zurb's Foundation with a grid-based layout. Perfect for any blog and viewable on any device from mobile to desktop. 
     5VERSION: 2.0.2 
    66TAGS: blue, black, white, right-sidebar, responsive-layout, custom-menu, featured-images, full-width-template, microformats, post-formats, threaded-comments 
    77AUTHOR: Serene Themes 
Note: See TracChangeset for help on using the changeset viewer.