WordPress.org

Make WordPress Themes


Ignore:
Location:
colorskin/1.0.2
Files:
1 added
16 edited

Legend:

Unmodified
Added
Removed
  • colorskin/1.0.2/functions.php

    r84198 r84198  
    234234 * Load Jetpack compatibility file. 
    235235 */ 
    236 require get_template_directory() . '/inc/jetpack.php'; 
     236if ( ! class_exists( 'wp_jetpack' )) { 
     237    require get_template_directory() . '/inc/jetpack.php'; 
     238} 
  • colorskin/1.0.2/header.php

    r84198 r84198  
    6969                    <div class="header-text-title"> 
    7070                        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 
    71                         <p class="site-description"><?php bloginfo( 'description', 'display' ); ?></p><!-- #site-description --> 
     71                        <?php 
     72                            $description = get_bloginfo( 'description', 'display' ); 
     73                            if ( $description || is_customize_preview() ) : ?> 
     74                            <p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p><!-- #site-description --> 
     75                        <?php endif; ?> 
    7276                    </div> 
    7377                     
     
    7983                    <div class="header-text-title"> 
    8084                        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 
    81                         <p class="site-description"><?php bloginfo( 'description', 'display' ); ?></p><!-- #site-description --> 
     85                        <?php 
     86                            $description = get_bloginfo( 'description', 'display' ); 
     87                            if ( $description || is_customize_preview() ) : ?> 
     88                            <p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p><!-- #site-description --> 
     89                        <?php endif; ?> 
    8290                    </div> 
    8391                <?php endif; ?> 
  • colorskin/1.0.2/inc/custom-header.php

    r84198 r84198  
    2828        'admin-preview-callback'    => 'colorskin_admin_header_image', 
    2929    ) ) ); 
     30     
    3031} 
    3132add_action( 'after_setup_theme', 'colorskin_custom_header_setup' ); 
     
    4041    $header_text_color = get_header_textcolor(); 
    4142 
    42     // If no custom options for text are set, let's bail 
    43     // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value 
    44     if ( HEADER_TEXTCOLOR == $header_text_color ) { 
     43    /* 
     44     * If no custom options for text are set, let's bail. 
     45     * get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: add_theme_support( 'custom-header' ). 
     46     */ 
     47    if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) { 
    4548        return; 
    4649    } 
  • colorskin/1.0.2/inc/extras.php

    r84198 r84198  
    33 * Custom functions that act independently of the theme templates 
    44 * 
    5  * Eventually, some of the functionality here could be replaced by core features 
     5 * Eventually, some of the functionality here could be replaced by core features. 
    66 * 
    77 * @package Colorskin 
     
    2424add_filter( 'body_class', 'colorskin_body_classes' ); 
    2525 
    26 if ( version_compare( $GLOBALS['wp_version'], '4.1', '<' ) ) : 
    27     /** 
    28      * Filters wp_title to print a neat <title> tag based on what is being viewed. 
    29      * 
    30      * @param string $title Default title text for current view. 
    31      * @param string $sep Optional separator. 
    32      * @return string The filtered title. 
    33      */ 
    34     function colorskin_wp_title( $title, $sep ) { 
    35         if ( is_feed() ) { 
    36             return $title; 
    37         } 
    38          
    39         global $page, $paged; 
    40          
    41         // Add the blog name 
    42         $title .= get_bloginfo( 'name', 'display' ); 
    43          
    44         // Add the blog description 
    45         $description = get_bloginfo( 'description', 'display' ); 
    46         if ( $description || is_customize_preview() ) { 
    47             $title .= " $sep $description"; 
    48         } 
    49          
    50         // Add a page number if necessary: 
    51         if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 
    52             $title .= " $sep " . sprintf( esc_html_e( 'Page %s', 'colorskin' ), max( $paged, $page ) ); 
    53         } 
    54          
    55         return $title; 
     26/** 
     27 * Add a pingback url auto-discovery header for singularly identifiable articles. 
     28 */ 
     29function colorskin_pingback_header() { 
     30    if ( is_singular() && pings_open() ) { 
     31        echo '<link rel="pingback" href="', esc_url( get_bloginfo( 'pingback_url' ) ), '">'; 
    5632    } 
    57     add_filter( 'wp_title', 'colorskin_wp_title', 10, 2 ); 
    58      
    59     /** 
    60      * Title shim for sites older than WordPress 4.1. 
    61      * 
    62      * @link https://make.wordpress.org/core/2014/10/29/title-tags-in-4-1/ 
    63      * @todo Remove this function when WordPress 4.3 is released. 
    64      */ 
    65     function colorskin_render_title() { 
    66         ?> 
    67         <title><?php wp_title( '|', true, 'right' ); ?></title> 
    68         <?php 
    69     } 
    70     add_action( 'wp_head', 'colorskin_render_title' ); 
    71 endif; 
     33} 
     34add_action( 'wp_head', 'colorskin_pingback_header' ); 
  • colorskin/1.0.2/inc/template-tags.php

    r84198 r84198  
    105105     
    106106    $posted_on = sprintf( 
    107         _x( '%s', 'post date', 'colorskin' ), 
     107        esc_html_x( '%s', 'post date', 'colorskin' ), 
    108108        '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>' 
    109109    ); 
    110110     
    111111    $byline = sprintf( 
    112         _x( '%s', 'post author', 'colorskin' ), 
     112        esc_html_x( '%s', 'post author', 'colorskin' ), 
    113113        '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>' 
    114114    ); 
     
    141141         
    142142        if ( $categories_list && colorskin_categorized_blog() ) { 
    143             printf( '<span class="cat-links"><i class="fa fa-folder-open" aria-hidden="true"></i> ' . __( '%1$s', 'colorskin' ) . '</span>', $categories_list ); 
     143            printf( '<span class="cat-links"><i class="fa fa-folder-open" aria-hidden="true"></i> ' . esc_html__( '%1$s', 'colorskin' ) . '</span>', $categories_list ); 
    144144        } 
    145145         
    146146        if ( $tags_list && is_single() ) { 
    147             printf( '<span class="tags-links"><i class="fa fa-tags" aria-hidden="true"></i> ' . __( ' %1$s', 'colorskin' ) . '</span>', $tags_list ); 
     147            printf( '<span class="tags-links"><i class="fa fa-tags" aria-hidden="true"></i> ' . esc_html__( ' %1$s', 'colorskin' ) . '</span>', $tags_list ); 
    148148        } 
    149149         
  • colorskin/1.0.2/js/jquery.slicknav.min.js

    r84198 r84198  
    11/*! 
    2     SlickNav Responsive Mobile Menu v1.0.1 
    3     (c) 2014 Josh Cope 
    4    licensed under MIT 
    5 */ 
    6 ;(function(e,t,n){function o(t,n){this.element=t;this.settings=e.extend({},r,n);this._defaults=r;this._name=i;this.init()}var r={label:"MENU",duplicate:true,duration:200,easingOpen:"swing",easingClose:"swing",closedSymbol:"&#9658;",openedSymbol:"&#9660;",prependTo:"body",parentTag:"a",closeOnClick:false,allowParentLinks:false,nestedParentLinks:true,showChildren:false,init:function(){},open:function(){},close:function(){}},i="slicknav",s="slicknav";o.prototype.init=function(){var n=this,r=e(this.element),i=this.settings,o,u;if(i.duplicate){n.mobileNav=r.clone();n.mobileNav.removeAttr("id");n.mobileNav.find("*").each(function(t,n){e(n).removeAttr("id")})}else{n.mobileNav=r}o=s+"_icon";if(i.label===""){o+=" "+s+"_no-text"}if(i.parentTag=="a"){i.parentTag='a href="#"'}n.mobileNav.attr("class",s+"_nav");u=e('<div class="'+s+'_menu"></div>');n.btn=e(["<"+i.parentTag+' aria-haspopup="true" tabindex="0" class="'+s+"_btn "+s+'_collapsed">','<span class="'+s+'_menutxt">'+i.label+"</span>",'<span class="'+o+'">','<span class="'+s+'_icon-bar"></span>','<span class="'+s+'_icon-bar"></span>','<span class="'+s+'_icon-bar"></span>',"</span>","</"+i.parentTag+">"].join(""));e(u).append(n.btn);e(i.prependTo).prepend(u);u.append(n.mobileNav);var a=n.mobileNav.find("li");e(a).each(function(){var t=e(this),r={};r.children=t.children("ul").attr("role","menu");t.data("menu",r);if(r.children.length>0){var o=t.contents(),u=false;nodes=[];e(o).each(function(){if(!e(this).is("ul")){nodes.push(this)}else{return false}if(e(this).is("a")){u=true}});var a=e("<"+i.parentTag+' role="menuitem" aria-haspopup="true" tabindex="-1" class="'+s+'_item"/>');if(!i.allowParentLinks||i.nestedParentLinks||!u){var f=e(nodes).wrapAll(a).parent();f.addClass(s+"_row")}else e(nodes).wrapAll('<span class="'+s+"_parent-link "+s+'_row"/>').parent();t.addClass(s+"_collapsed");t.addClass(s+"_parent");var l=e('<span class="'+s+'_arrow">'+i.closedSymbol+"</span>");if(i.allowParentLinks&&!i.nestedParentLinks&&u)l=l.wrap(a).parent();e(nodes).last().after(l)}else if(t.children().length===0){t.addClass(s+"_txtnode")}t.children("a").attr("role","menuitem").click(function(t){if(i.closeOnClick&&!e(t.target).parent().closest("li").hasClass(s+"_parent")){e(n.btn).click()}});if(i.closeOnClick&&i.allowParentLinks){t.children("a").children("a").click(function(t){e(n.btn).click()});t.find("."+s+"_parent-link a:not(."+s+"_item)").click(function(t){e(n.btn).click()})}});e(a).each(function(){var t=e(this).data("menu");if(!i.showChildren){n._visibilityToggle(t.children,null,false,null,true)}});n._visibilityToggle(n.mobileNav,null,false,"init",true);n.mobileNav.attr("role","menu");e(t).mousedown(function(){n._outlines(false)});e(t).keyup(function(){n._outlines(true)});e(n.btn).click(function(e){e.preventDefault();n._menuToggle()});n.mobileNav.on("click","."+s+"_item",function(t){t.preventDefault();n._itemClick(e(this))});e(n.btn).keydown(function(e){var t=e||event;if(t.keyCode==13){e.preventDefault();n._menuToggle()}});n.mobileNav.on("keydown","."+s+"_item",function(t){var r=t||event;if(r.keyCode==13){t.preventDefault();n._itemClick(e(t.target))}});if(i.allowParentLinks&&i.nestedParentLinks){e("."+s+"_item a").click(function(e){e.stopImmediatePropagation()})}};o.prototype._menuToggle=function(e){var t=this;var n=t.btn;var r=t.mobileNav;if(n.hasClass(s+"_collapsed")){n.removeClass(s+"_collapsed");n.addClass(s+"_open")}else{n.removeClass(s+"_open");n.addClass(s+"_collapsed")}n.addClass(s+"_animating");t._visibilityToggle(r,n.parent(),true,n)};o.prototype._itemClick=function(e){var t=this;var n=t.settings;var r=e.data("menu");if(!r){r={};r.arrow=e.children("."+s+"_arrow");r.ul=e.next("ul");r.parent=e.parent();if(r.parent.hasClass(s+"_parent-link")){r.parent=e.parent().parent();r.ul=e.parent().next("ul")}e.data("menu",r)}if(r.parent.hasClass(s+"_collapsed")){r.arrow.html(n.openedSymbol);r.parent.removeClass(s+"_collapsed");r.parent.addClass(s+"_open");r.parent.addClass(s+"_animating");t._visibilityToggle(r.ul,r.parent,true,e)}else{r.arrow.html(n.closedSymbol);r.parent.addClass(s+"_collapsed");r.parent.removeClass(s+"_open");r.parent.addClass(s+"_animating");t._visibilityToggle(r.ul,r.parent,true,e)}};o.prototype._visibilityToggle=function(t,n,r,i,o){var u=this;var a=u.settings;var f=u._getActionItems(t);var l=0;if(r){l=a.duration}if(t.hasClass(s+"_hidden")){t.removeClass(s+"_hidden");t.slideDown(l,a.easingOpen,function(){e(i).removeClass(s+"_animating");e(n).removeClass(s+"_animating");if(!o){a.open(i)}});t.attr("aria-hidden","false");f.attr("tabindex","0");u._setVisAttr(t,false)}else{t.addClass(s+"_hidden");t.slideUp(l,this.settings.easingClose,function(){t.attr("aria-hidden","true");f.attr("tabindex","-1");u._setVisAttr(t,true);t.hide();e(i).removeClass(s+"_animating");e(n).removeClass(s+"_animating");if(!o){a.close(i)}else if(i=="init"){a.init()}})}};o.prototype._setVisAttr=function(t,n){var r=this;var i=t.children("li").children("ul").not("."+s+"_hidden");if(!n){i.each(function(){var t=e(this);t.attr("aria-hidden","false");var i=r._getActionItems(t);i.attr("tabindex","0");r._setVisAttr(t,n)})}else{i.each(function(){var t=e(this);t.attr("aria-hidden","true");var i=r._getActionItems(t);i.attr("tabindex","-1");r._setVisAttr(t,n)})}};o.prototype._getActionItems=function(e){var t=e.data("menu");if(!t){t={};var n=e.children("li");var r=n.find("a");t.links=r.add(n.find("."+s+"_item"));e.data("menu",t)}return t.links};o.prototype._outlines=function(t){if(!t){e("."+s+"_item, ."+s+"_btn").css("outline","none")}else{e("."+s+"_item, ."+s+"_btn").css("outline","")}};o.prototype.toggle=function(){var e=this;e._menuToggle()};o.prototype.open=function(){var e=this;if(e.btn.hasClass(s+"_collapsed")){e._menuToggle()}};o.prototype.close=function(){var e=this;if(e.btn.hasClass(s+"_open")){e._menuToggle()}};e.fn[i]=function(t){var n=arguments;if(t===undefined||typeof t==="object"){return this.each(function(){if(!e.data(this,"plugin_"+i)){e.data(this,"plugin_"+i,new o(this,t))}})}else if(typeof t==="string"&&t[0]!=="_"&&t!=="init"){var r;this.each(function(){var s=e.data(this,"plugin_"+i);if(s instanceof o&&typeof s[t]==="function"){r=s[t].apply(s,Array.prototype.slice.call(n,1))}});return r!==undefined?r:this}}})(jQuery,document,window) 
     2 * SlickNav Responsive Mobile Menu v1.0.10 
     3 * (c) 2016 Josh Cope 
     4 * licensed under MIT 
     5 */ 
     6!function(e,t,n){function a(t,n){this.element=t,this.settings=e.extend({},i,n),this.settings.duplicate||n.hasOwnProperty("removeIds")||(this.settings.removeIds=!1),this._defaults=i,this._name=s,this.init()}var i={label:"MENU",duplicate:!0,duration:200,easingOpen:"swing",easingClose:"swing",closedSymbol:"&#9658;",openedSymbol:"&#9660;",prependTo:"body",appendTo:"",parentTag:"a",closeOnClick:!1,allowParentLinks:!1,nestedParentLinks:!0,showChildren:!1,removeIds:!0,removeClasses:!1,removeStyles:!1,brand:"",animations:"jquery",init:function(){},beforeOpen:function(){},beforeClose:function(){},afterOpen:function(){},afterClose:function(){}},s="slicknav",o="slicknav",l={DOWN:40,ENTER:13,ESCAPE:27,LEFT:37,RIGHT:39,SPACE:32,TAB:9,UP:38};a.prototype.init=function(){var n,a,i=this,s=e(this.element),r=this.settings;if(r.duplicate?i.mobileNav=s.clone():i.mobileNav=s,r.removeIds&&(i.mobileNav.removeAttr("id"),i.mobileNav.find("*").each(function(t,n){e(n).removeAttr("id")})),r.removeClasses&&(i.mobileNav.removeAttr("class"),i.mobileNav.find("*").each(function(t,n){e(n).removeAttr("class")})),r.removeStyles&&(i.mobileNav.removeAttr("style"),i.mobileNav.find("*").each(function(t,n){e(n).removeAttr("style")})),n=o+"_icon",""===r.label&&(n+=" "+o+"_no-text"),"a"==r.parentTag&&(r.parentTag='a href="#"'),i.mobileNav.attr("class",o+"_nav"),a=e('<div class="'+o+'_menu"></div>'),""!==r.brand){var c=e('<div class="'+o+'_brand">'+r.brand+"</div>");e(a).append(c)}i.btn=e(["<"+r.parentTag+' aria-haspopup="true" role="button" tabindex="0" class="'+o+"_btn "+o+'_collapsed">','<span class="'+o+'_menutxt">'+r.label+"</span>",'<span class="'+n+'">','<span class="'+o+'_icon-bar"></span>','<span class="'+o+'_icon-bar"></span>','<span class="'+o+'_icon-bar"></span>',"</span>","</"+r.parentTag+">"].join("")),e(a).append(i.btn),""!==r.appendTo?e(r.appendTo).append(a):e(r.prependTo).prepend(a),a.append(i.mobileNav);var p=i.mobileNav.find("li");e(p).each(function(){var t=e(this),n={};if(n.children=t.children("ul").attr("role","menu"),t.data("menu",n),n.children.length>0){var a=t.contents(),s=!1,l=[];e(a).each(function(){return e(this).is("ul")?!1:(l.push(this),void(e(this).is("a")&&(s=!0)))});var c=e("<"+r.parentTag+' role="menuitem" aria-haspopup="true" tabindex="-1" class="'+o+'_item"/>');if(r.allowParentLinks&&!r.nestedParentLinks&&s)e(l).wrapAll('<span class="'+o+"_parent-link "+o+'_row"/>').parent();else{var p=e(l).wrapAll(c).parent();p.addClass(o+"_row")}r.showChildren?t.addClass(o+"_open"):t.addClass(o+"_collapsed"),t.addClass(o+"_parent");var d=e('<span class="'+o+'_arrow">'+(r.showChildren?r.openedSymbol:r.closedSymbol)+"</span>");r.allowParentLinks&&!r.nestedParentLinks&&s&&(d=d.wrap(c).parent()),e(l).last().after(d)}else 0===t.children().length&&t.addClass(o+"_txtnode");t.children("a").attr("role","menuitem").click(function(t){r.closeOnClick&&!e(t.target).parent().closest("li").hasClass(o+"_parent")&&e(i.btn).click()}),r.closeOnClick&&r.allowParentLinks&&(t.children("a").children("a").click(function(t){e(i.btn).click()}),t.find("."+o+"_parent-link a:not(."+o+"_item)").click(function(t){e(i.btn).click()}))}),e(p).each(function(){var t=e(this).data("menu");r.showChildren||i._visibilityToggle(t.children,null,!1,null,!0)}),i._visibilityToggle(i.mobileNav,null,!1,"init",!0),i.mobileNav.attr("role","menu"),e(t).mousedown(function(){i._outlines(!1)}),e(t).keyup(function(){i._outlines(!0)}),e(i.btn).click(function(e){e.preventDefault(),i._menuToggle()}),i.mobileNav.on("click","."+o+"_item",function(t){t.preventDefault(),i._itemClick(e(this))}),e(i.btn).keydown(function(t){var n=t||event;switch(n.keyCode){case l.ENTER:case l.SPACE:case l.DOWN:t.preventDefault(),n.keyCode===l.DOWN&&e(i.btn).hasClass(o+"_open")||i._menuToggle(),e(i.btn).next().find('[role="menuitem"]').first().focus()}}),i.mobileNav.on("keydown","."+o+"_item",function(t){var n=t||event;switch(n.keyCode){case l.ENTER:t.preventDefault(),i._itemClick(e(t.target));break;case l.RIGHT:t.preventDefault(),e(t.target).parent().hasClass(o+"_collapsed")&&i._itemClick(e(t.target)),e(t.target).next().find('[role="menuitem"]').first().focus()}}),i.mobileNav.on("keydown",'[role="menuitem"]',function(t){var n=t||event;switch(n.keyCode){case l.DOWN:t.preventDefault();var a=e(t.target).parent().parent().children().children('[role="menuitem"]:visible'),s=a.index(t.target),r=s+1;a.length<=r&&(r=0);var c=a.eq(r);c.focus();break;case l.UP:t.preventDefault();var a=e(t.target).parent().parent().children().children('[role="menuitem"]:visible'),s=a.index(t.target),c=a.eq(s-1);c.focus();break;case l.LEFT:if(t.preventDefault(),e(t.target).parent().parent().parent().hasClass(o+"_open")){var p=e(t.target).parent().parent().prev();p.focus(),i._itemClick(p)}else e(t.target).parent().parent().hasClass(o+"_nav")&&(i._menuToggle(),e(i.btn).focus());break;case l.ESCAPE:t.preventDefault(),i._menuToggle(),e(i.btn).focus()}}),r.allowParentLinks&&r.nestedParentLinks&&e("."+o+"_item a").click(function(e){e.stopImmediatePropagation()})},a.prototype._menuToggle=function(e){var t=this,n=t.btn,a=t.mobileNav;n.hasClass(o+"_collapsed")?(n.removeClass(o+"_collapsed"),n.addClass(o+"_open")):(n.removeClass(o+"_open"),n.addClass(o+"_collapsed")),n.addClass(o+"_animating"),t._visibilityToggle(a,n.parent(),!0,n)},a.prototype._itemClick=function(e){var t=this,n=t.settings,a=e.data("menu");a||(a={},a.arrow=e.children("."+o+"_arrow"),a.ul=e.next("ul"),a.parent=e.parent(),a.parent.hasClass(o+"_parent-link")&&(a.parent=e.parent().parent(),a.ul=e.parent().next("ul")),e.data("menu",a)),a.parent.hasClass(o+"_collapsed")?(a.arrow.html(n.openedSymbol),a.parent.removeClass(o+"_collapsed"),a.parent.addClass(o+"_open"),a.parent.addClass(o+"_animating"),t._visibilityToggle(a.ul,a.parent,!0,e)):(a.arrow.html(n.closedSymbol),a.parent.addClass(o+"_collapsed"),a.parent.removeClass(o+"_open"),a.parent.addClass(o+"_animating"),t._visibilityToggle(a.ul,a.parent,!0,e))},a.prototype._visibilityToggle=function(t,n,a,i,s){function l(t,n){e(t).removeClass(o+"_animating"),e(n).removeClass(o+"_animating"),s||p.afterOpen(t)}function r(n,a){t.attr("aria-hidden","true"),d.attr("tabindex","-1"),c._setVisAttr(t,!0),t.hide(),e(n).removeClass(o+"_animating"),e(a).removeClass(o+"_animating"),s?"init"==n&&p.init():p.afterClose(n)}var c=this,p=c.settings,d=c._getActionItems(t),u=0;a&&(u=p.duration),t.hasClass(o+"_hidden")?(t.removeClass(o+"_hidden"),s||p.beforeOpen(i),"jquery"===p.animations?t.stop(!0,!0).slideDown(u,p.easingOpen,function(){l(i,n)}):"velocity"===p.animations&&t.velocity("finish").velocity("slideDown",{duration:u,easing:p.easingOpen,complete:function(){l(i,n)}}),t.attr("aria-hidden","false"),d.attr("tabindex","0"),c._setVisAttr(t,!1)):(t.addClass(o+"_hidden"),s||p.beforeClose(i),"jquery"===p.animations?t.stop(!0,!0).slideUp(u,this.settings.easingClose,function(){r(i,n)}):"velocity"===p.animations&&t.velocity("finish").velocity("slideUp",{duration:u,easing:p.easingClose,complete:function(){r(i,n)}}))},a.prototype._setVisAttr=function(t,n){var a=this,i=t.children("li").children("ul").not("."+o+"_hidden");n?i.each(function(){var t=e(this);t.attr("aria-hidden","true");var i=a._getActionItems(t);i.attr("tabindex","-1"),a._setVisAttr(t,n)}):i.each(function(){var t=e(this);t.attr("aria-hidden","false");var i=a._getActionItems(t);i.attr("tabindex","0"),a._setVisAttr(t,n)})},a.prototype._getActionItems=function(e){var t=e.data("menu");if(!t){t={};var n=e.children("li"),a=n.find("a");t.links=a.add(n.find("."+o+"_item")),e.data("menu",t)}return t.links},a.prototype._outlines=function(t){t?e("."+o+"_item, ."+o+"_btn").css("outline",""):e("."+o+"_item, ."+o+"_btn").css("outline","none")},a.prototype.toggle=function(){var e=this;e._menuToggle()},a.prototype.open=function(){var e=this;e.btn.hasClass(o+"_collapsed")&&e._menuToggle()},a.prototype.close=function(){var e=this;e.btn.hasClass(o+"_open")&&e._menuToggle()},e.fn[s]=function(t){var n=arguments;if(void 0===t||"object"==typeof t)return this.each(function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new a(this,t))});if("string"==typeof t&&"_"!==t[0]&&"init"!==t){var i;return this.each(function(){var o=e.data(this,"plugin_"+s);o instanceof a&&"function"==typeof o[t]&&(i=o[t].apply(o,Array.prototype.slice.call(n,1)))}),void 0!==i?i:this}}}(jQuery,document,window); 
  • colorskin/1.0.2/readme.txt

    r84198 r84198  
    1 == Color Skin == 
    2  
    3 License: GNU General Public License v2 or later 
    4 License URI: https://www.gnu.org/licenses/gpl-2.0.html 
    5  
    6 Color Skin WordPress Theme, Copyright 2017 Dimitrakopoulos Panagiotis 
    7 Color Skin is distributed under the terms of the GNU GPL 
     1== Colorskin == 
    82 
    93Contributors: Effpandim 
    104Tags: two-columns, right-sidebar, custom-background, custom-menu, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready, photography, custom-logo 
     5 
     6Requires at least: 4.0 
     7Tested up to: 4.8 
     8Stable tag: 1.0.2 
     9License: GPLv2 or later 
     10License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     11 
     12Colorskin WordPress Theme, Copyright 2017 Dimitrakopoulos Panagiotis 
     13Colorskin WordPress Theme is based on Underscores http://underscores.me/, (C) 2012-2017 Automattic, Inc. 
     14Colorskin is distributed under the terms of the GNU GPL v2 or later. 
    1115 
    1216== Description == 
     
    1519 
    1620== Installation == 
    17      
     21 
    18221. In your admin panel, go to Appearance > Themes and click the Add New button. 
    19232. Click Upload and Choose File, then select the theme's .zip file. Click Install Now. 
    20243. Click Activate to use your new theme right away. 
     25 
     26== Credits == 
     27 
     28* Underscores 
     29Based on Underscores http://underscores.me/, (C) 2012-2017 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html) 
     30 
     31* Normalize 
     32normalize.css http://necolas.github.io/normalize.css/, (C) 2012-2016 Nicolas Gallagher and Jonathan Neal, [MIT](http://opensource.org/licenses/MIT) 
     33 
     34* Google Fonts 
     35Source: https://www.google.com/fonts/specimen/Lato 
     36License: SIL Open Font License, 1.1 - scripts.sil.org/OFL 
     37 
     38* FontAwesome 
     39Source: https://fortawesome.github.io/Font-Awesome/ 
     40License: GPL - https://fortawesome.github.io/Font-Awesome/license/ 
     41 
     42* Bootstrap Grid Only 
     43Copyright (c) 2014-2016 Farsheed Hamidi-Toosi (zirafa) - https://github.com/zirafa/bootstrap-grid-only 
     44License: MIT (http://opensource.org/licenses/MIT) 
     45 
     46* SlickNav Responsive Mobile Menu 
     47SlickNav Responsive Mobile Menu v1.0.10 by Josh Cope - http://slicknav.com/ 
     48License: MIT (http://opensource.org/licenses/mit-license.php) 
     49 
     50* SmoothScroll 
     51SmoothScroll by Balazs Galambosi - http://www.smoothscroll.net/ 
     52License: MIT (http://opensource.org/licenses/MIT) 
     53 
     54Unless otherwise specified, all images are licensed under GNU General Public License version 3.0. 
  • colorskin/1.0.2/style.css

    r84198 r84198  
    55Author URI: 
    66Description: A simple responsive wordpress theme, blue, green and red colors mainly for blog. 
    7 Version: 1.0.1 
     7Version: 1.0.2 
    88License: GNU General Public License v2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Note: See TracChangeset for help on using the changeset viewer.