WordPress.org

Make WordPress Themes


Ignore:
Location:
wpf-authority/1.0.5
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • wpf-authority/1.0.5/changelogs.txt

    r82985 r82985  
     11.0.5--- 
     2 
     3-- Added support for custom-header feature 
     4-- Removed header image uploader from theme option 
     5 
    161.0.4--- 
    27 
  • wpf-authority/1.0.5/functions.php

    r82985 r82985  
    8787    add_theme_support( 'custom-background', array( 'default-color' => '#F0F0F0') );  
    8888     
     89     
     90    /* 
     91     * Custom Header image support 
     92     */  
     93      
     94    $header_img_args = array( 
     95        'width'                  => 1300, 
     96        'height'                 => 300, 
     97        'flex-height'            => false, 
     98        'flex-width'             => true, 
     99        'uploads'                => true, 
     100        'random-default'         => true, 
     101        'header-text'            => false, 
     102    ); 
     103    add_theme_support( 'custom-header', $header_img_args );      
    89104     
    90105     
  • wpf-authority/1.0.5/inc/customizer.php

    r82985 r82985  
    6262 
    6363$wp_customize->add_section( 'wpf_authority_banner_section' , array( 
    64     'title'      => __( 'Header Banner', 'wpf-authority' ), 
     64    'title'      => __( 'Banner Title', 'wpf-authority' ), 
    6565    'panel' => 'wpf_authority_theme_option', 
    6666) ); 
     
    8282 
    8383 
    84 // banner uploader 
    85  
    86 $wp_customize->add_setting( 'wpf_authority_banner_uploader_src' , array( 
    87     'default'     => '', 
    88     'sanitize_callback' => 'esc_url_raw', 
    89 ) ); 
    90  
    91  
    92 $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'wpf_authority_banner_uploader_src', array( 
    93     'label'        => __( 'Upload Your Banner. Best size for banner is Width: 1300px, Height: 300px. Banner area will be disabled if no image found.', 'wpf-authority' ), 
    94     'section'    => 'wpf_authority_banner_section', 
    95     'settings'   => 'wpf_authority_banner_uploader_src', 
    96 ) ) ); 
    97  
    98  
    9984///////////////////////// 
    10085// Theme Color section 
     
    236221    ?> 
    237222         <style type="text/css"> 
    238              #imgbanner{ background-image: url("<?php echo get_theme_mod('wpf_authority_banner_uploader_src'); ?>") !important;} 
     223             #imgbanner{ background-image: url("<?php echo esc_url( get_header_image() ); ?>") !important;} 
    239224         </style> 
    240225    <?php 
  • wpf-authority/1.0.5/languages/wpf_authority.pot

    r82985 r82985  
    22msgstr "" 
    33"Project-Id-Version: wpf authority\n" 
    4 "POT-Creation-Date: 2015-06-23 00:50+0600\n" 
    5 "PO-Revision-Date: 2015-06-23 00:50+0600\n" 
     4"POT-Creation-Date: 2015-06-23 01:40+0600\n" 
     5"PO-Revision-Date: 2015-06-23 01:40+0600\n" 
    66"Last-Translator: \n" 
    77"Language-Team: \n" 
     
    8888msgstr "" 
    8989 
    90 #: ../functions.php:138 
     90#: ../functions.php:153 
    9191msgid "Primary Menu" 
    9292msgstr "" 
    9393 
    94 #: ../functions.php:147 
     94#: ../functions.php:162 
    9595msgid "Home" 
    9696msgstr "" 
    9797 
    98 #: ../functions.php:168 
     98#: ../functions.php:183 
    9999msgid "Home Sidebar" 
    100100msgstr "" 
    101101 
    102 #: ../functions.php:170 
     102#: ../functions.php:185 
    103103msgid "Add widgets here to appear in your home sidebar" 
    104104msgstr "" 
    105105 
    106 #: ../functions.php:178 
     106#: ../functions.php:193 
    107107msgid "Archive Sidebar" 
    108108msgstr "" 
    109109 
    110 #: ../functions.php:180 
     110#: ../functions.php:195 
    111111msgid "Add widgets here to appear in your Archive sidebar" 
    112112msgstr "" 
    113113 
    114 #: ../functions.php:189 
     114#: ../functions.php:204 
    115115msgid "Post Sidebar" 
    116116msgstr "" 
    117117 
    118 #: ../functions.php:191 
     118#: ../functions.php:206 
    119119msgid "Add widgets here to appear in your post sidebar" 
    120120msgstr "" 
    121121 
    122 #: ../functions.php:199 
     122#: ../functions.php:214 
    123123msgid "Page Sidebar" 
    124124msgstr "" 
    125125 
    126 #: ../functions.php:201 
     126#: ../functions.php:216 
    127127msgid "Add widgets here to appear in your page sidebar" 
    128128msgstr "" 
    129129 
    130 #: ../functions.php:209 
     130#: ../functions.php:224 
    131131msgid "Footer Widgets" 
    132132msgstr "" 
    133133 
    134 #: ../functions.php:211 
     134#: ../functions.php:226 
    135135msgid "Add widgets here to appear in your footer area" 
    136136msgstr "" 
     
    163163 
    164164#: ../inc/customizer.php:64 
    165 msgid "Header Banner" 
     165msgid "Banner Title" 
    166166msgstr "" 
    167167 
     
    170170msgstr "" 
    171171 
    172 #: ../inc/customizer.php:93 
    173 msgid "" 
    174 "Upload Your Banner. Best size for banner is Width: 1300px, Height: 300px. " 
    175 "Banner area will be disabled if no image found." 
    176 msgstr "" 
    177  
    178 #: ../inc/customizer.php:104 
     172#: ../inc/customizer.php:89 
    179173msgid "Theme Color" 
    180174msgstr "" 
    181175 
    182 #: ../inc/customizer.php:116 
     176#: ../inc/customizer.php:101 
    183177msgid "Select Theme Color" 
    184178msgstr "" 
    185179 
     180#: ../inc/customizer.php:114 
     181msgid "Footer Setting" 
     182msgstr "" 
     183 
    186184#: ../inc/customizer.php:129 
    187 msgid "Footer Setting" 
    188 msgstr "" 
    189  
    190 #: ../inc/customizer.php:144 
    191185msgid "Put your footer text here." 
    192186msgstr "" 
    193187 
    194 #: ../inc/customizer.php:162 
     188#: ../inc/customizer.php:147 
    195189msgid "Facebook url" 
    196190msgstr "" 
    197191 
    198 #: ../inc/customizer.php:175 
     192#: ../inc/customizer.php:160 
    199193msgid "Twitter url" 
    200194msgstr "" 
    201195 
    202 #: ../inc/customizer.php:189 
     196#: ../inc/customizer.php:174 
    203197msgid "Google+ url" 
    204198msgstr "" 
    205199 
    206 #: ../inc/customizer.php:203 
     200#: ../inc/customizer.php:188 
    207201msgid "Youtube url" 
    208202msgstr "" 
    209203 
    210 #: ../inc/customizer.php:217 
     204#: ../inc/customizer.php:202 
    211205msgid "LinkedIn url" 
    212206msgstr "" 
  • wpf-authority/1.0.5/style.css

    r82985 r82985  
    77Domain Path: /languages 
    88Description: WpF Authority is a well designed bootstrap based wordpress blogging theme developed by WpFreeware which through you will be able to create professional looking websites. It comes with left/right/fullwidth templates, live customizer option panel to setting all the requirements. This theme completely responsive, created with translation ready, widget ready & much more. Theme Details: http://www.wpfreeware.com/wpf-authority-free-simple-wordpress-theme-for-blogs/ 
    9 Version: 1.0.4 
     9Version: 1.0.5 
    1010License: GNU General Public License v3.0 or later 
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html 
    12 Tags: full-width-template, one-column, custom-colors, theme-options, threaded-comments, sticky-post, custom-background, custom-menu, editor-style, featured-images, gray, light, responsive-layout, right-sidebar, left-sidebar, rtl-language-support, translation-ready, two-columns, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, white, yellow, dark, light 
     12Tags: full-width-template, one-column, custom-header, custom-colors, theme-options, threaded-comments, sticky-post, custom-background, custom-menu, editor-style, featured-images, gray, light, responsive-layout, right-sidebar, left-sidebar, rtl-language-support, translation-ready, two-columns, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, white, yellow, dark, light 
    1313 
    1414*/ 
  • wpf-authority/1.0.5/templates/banner.php

    r82985 r82985  
    11  <!-- start banner area --> 
    22   
    3 <?php  if(get_theme_mod( 'wpf_authority_banner_uploader_src')) : ?> 
     3<?php  if( get_header_image() ) : ?> 
    44 
    55  <section id="imgbanner">   
Note: See TracChangeset for help on using the changeset viewer.