WordPress.org

Make WordPress Themes

Changes from buzzo/1.0.3 at r85637 to buzzo/1.0.4 at r85637


Ignore:
Location:
buzzo
Files:
2 deleted
23 edited

Legend:

Unmodified
Added
Removed
  • buzzo/1.0.4/footer.php

    r85637 r85637  
    2121            <div class="container"> 
    2222                <?php 
    23                 $copyright_default = sprintf( '&copy; [year]. Made with love by <a href="%s">Awethemes</a>', esc_url( 'http://awethemes.com' ) ); 
     23                $copyright_default = sprintf( __( '&copy; [year]. Made with love by <a href="%s">Awethemes</a>', 'buzzo' ), esc_url( 'http://awethemes.com' ) ); 
    2424                $copyright = get_theme_mod( 'buzzo_copyright', $copyright_default ); 
    2525                $copyright = str_replace( '[year]', date( 'Y' ), $copyright ); 
  • buzzo/1.0.4/functions.php

    r85637 r85637  
    7979         */ 
    8080        add_theme_support( 'post-formats', array( 
    81             'aside', 
    82             'image', 
    8381            'video', 
    84             'audio', 
    85             'quote', 
    86             'link', 
    87             'gallery', 
    88             'chat', 
    8982        ) ); 
    9083 
     
    113106 */ 
    114107function buzzo_content_width() { 
    115     $GLOBALS['content_width'] = apply_filters( 'buzzo_content_width', 1280 ); 
     108    $GLOBALS['content_width'] = apply_filters( 'buzzo_content_width', 616 ); 
    116109} 
    117110add_action( 'after_setup_theme', 'buzzo_content_width', 0 ); 
     111 
     112/** 
     113 * Set up the WordPress core custom header feature. 
     114 * 
     115 * @uses buzzo_header_image_style() 
     116 */ 
     117function buzzo_custom_header_setup() { 
     118    add_theme_support( 'custom-header', apply_filters( 'buzzo_custom_header_args', array( 
     119        'default-image'          => get_template_directory_uri() . '/images/page-banner.jpg', 
     120        'default-text-color'     => 'ffffff', 
     121        'height'                 => 400, 
     122        'flex-width'             => true, 
     123        'wp-head-callback'       => 'buzzo_header_image_style', 
     124    ) ) ); 
     125} 
     126add_action( 'after_setup_theme', 'buzzo_custom_header_setup' ); 
    118127 
    119128/** 
     
    213222    wp_register_script( 'buzzo-slider', get_template_directory_uri() . '/js/slider.js', array( 'slick' ), '1.0.0', true ); 
    214223 
    215     /* wp_register_script( 'jquery-accessible-mega-menu', get_template_directory_uri() . '/js/jquery-accessibleMegaMenu.js', array( 'jquery' ), '0.1', true ); */ 
    216  
    217     wp_register_script( 'buzzo-navigation', get_template_directory_uri() . '/js/navigation.js', array( 'jquery'/*, 'jquery-accessible-mega-menu'*/ ), '1.0.0', true ); 
     224    wp_register_script( 'buzzo-navigation', get_template_directory_uri() . '/js/navigation.js', array( 'jquery' ), '1.0.0', true ); 
    218225 
    219226    wp_register_script( 'buzzo-stretch-section', get_template_directory_uri() . '/js/stretch-section.js', array(), '1.0.0', true ); 
  • buzzo/1.0.4/inc/custom-header.php

    r85637 r85637  
    1515 * @package Buzzo 
    1616 */ 
    17  
    18 /** 
    19  * Set up the WordPress core custom header feature. 
    20  * 
    21  * @uses buzzo_header_image_style() 
    22  */ 
    23 function buzzo_custom_header_setup() { 
    24     add_theme_support( 'custom-header', apply_filters( 'buzzo_custom_header_args', array( 
    25         'default-image'          => get_template_directory_uri() . '/images/page-banner.jpg', 
    26         'default-text-color'     => 'ffffff', 
    27         'height'                 => 400, 
    28         'flex-width'             => true, 
    29         'wp-head-callback'       => 'buzzo_header_image_style', 
    30     ) ) ); 
    31 } 
    32 add_action( 'after_setup_theme', 'buzzo_custom_header_setup' ); 
    3317 
    3418if ( ! function_exists( 'buzzo_header_image' ) ) { 
     
    5741        /* 
    5842         * If no custom options for text are set, let's bail. 
    59          * get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: HEADER_TEXTCOLOR. 
     43         * get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: ffffff. 
    6044         */ 
    61         if ( HEADER_TEXTCOLOR === $header_text_color ) { 
     45        if ( 'ffffff' === $header_text_color ) { 
    6246            return; 
    6347        } 
  • buzzo/1.0.4/inc/social.php

    r85637 r85637  
    4343            ) ); 
    4444        } 
    45  
    46         /* 
    47         $wp_customize->add_section( 'buzzo_social_sharing', array( 
    48             'title'    => __( 'Social sharing', 'buzzo' ), 
    49             'priority' => 85, 
    50         ) ); 
    51  
    52         $wp_customize->add_setting( 'buzzo_social_sharing_sc', array( 
    53             'default'              => '', 
    54             'transport'            => 'refresh', 
    55             'sanitize_callback'    => 'sanitize_text_field', 
    56         ) ); 
    57         $wp_customize->add_control( 'buzzo_social_sharing_sc', array( 
    58             'label'       => __( 'Post sharing shortcode', 'buzzo' ), 
    59             'section'     => 'buzzo_social_sharing', 
    60             'type'        => 'text', 
    61             'description' => __( 'Allow filling 3rd plugin shortcode to display post sharing.', 'buzzo' ), 
    62         ) ); 
    63         */ 
    6445    } 
    6546} 
  • buzzo/1.0.4/inc/template-tags.php

    r85637 r85637  
    226226 */ 
    227227function buzzo_excerpt_more() { 
    228     return _x( ' ...', 'more text', 'buzzo' ); 
     228    return _x( ' &hellip;', 'more text', 'buzzo' ); 
    229229} 
    230230add_filter( 'excerpt_more', 'buzzo_excerpt_more' ); 
  • buzzo/1.0.4/readme.txt

    r85637 r85637  
    3030== Changelog == 
    3131 
     32= 1.0.4 - June, 15 2017 = 
     33* Fix review issues 
     34 
    3235= 1.0.3 - May, 06 2017 = 
    3336* Fix review issues 
  • buzzo/1.0.4/style.css

    r85637 r85637  
    55Author URI: http://awethemes.com 
    66Description: Buzzo is a simple, responsive, gorgeous theme that will put your content without distraction. The theme does offer visual appeal by including large enticing featured images and bold headlines, which make it easy for your readers to browse lots of material. 
    7 Version: 1.0.3 
     7Version: 1.0.4 
    88License: GNU General Public License 
    99License URI: http://www.gnu.org/licenses/gpl.html 
Note: See TracChangeset for help on using the changeset viewer.