Plugin Directory

Changeset 1805880


Ignore:
Timestamp:
01/19/2018 04:37:20 PM (8 years ago)
Author:
bulledev
Message:

v1.3 - January 19, 2018

  • New Feature - Current page speed widgets
  • New Feature - Before posts sidebar
  • New Feature - Before pages sidebar
  • Tweak - Deprecating the auto-append sharing
  • Tweak - Alerts for better Gutenberg compatibility
Location:
ttfb-toolkit
Files:
65 added
7 edited

Legend:

Unmodified
Added
Removed
  • ttfb-toolkit/trunk/assets/css/alerts.css

    r1790790 r1805880  
    77    display: flex;
    88    border-left: 6px solid #3a3a3a;
    9     max-width: 768px;
    10     margin-left: auto;
    11     margin-right: auto;
    129}
    1310
     
    2017}
    2118
    22 .alert_shortcode .icon_box{
    23     border-radius: 4px 0 0 4px;
     19.alert_shortcode .icon_box{
    2420    padding: 1.5rem 1rem;
    2521}
    2622
    27 .alert_shortcode .content_box{
    28     border-radius: 0 4px 4px 0;
     23.alert_shortcode .content_box{
    2924    padding: 1.5rem 1rem;
    3025}
     
    3833    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    3934}
     35
     36.alert_shortcode .content_box p{ margin: 0; }
    4037
    4138.alert_info{
  • ttfb-toolkit/trunk/assets/css/alerts.min.css

    r1790790 r1805880  
    1 .alert_shortcode{background-color:#eee;border-radius:4px;margin-bottom:1rem;display:-webkit-box;display:-ms-flexbox;display:flex;border-left:6px solid #3a3a3a;max-width:768px;margin-left:auto;margin-right:auto}.alert{border-left-width:6px;border-left-style:solid;padding:1.5rem;border-radius:4px;background-color:#eee}.alert_shortcode .icon_box{border-radius:4px 0 0 4px;padding:1.5rem 1rem}.alert_shortcode .content_box{border-radius:0 4px 4px 0;padding:1.5rem 1rem}.alert_shortcode .icon_box .icon{margin-top:0.5rem}.alert_shortcode .content_box p,.alert{margin-bottom:0;font-size:90%;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important}.alert_info{background-color:#e8f7ff;border-color:#a3daff}.alert_info .icon_box{background-color:#a3daff;color:#228ae6}.alert_warning{background-color:#fff9db;border-color:#ffe066}.alert_warning .icon_box{background-color:#ffe066;color:#fab005}.alert_danger{background-color:#f8c9c4;border-color:#e74c3c}.alert_danger .icon_box{background-color:#e74c3c;color:#fff}.alert_sucess{background-color:rgba(46,204,113,0.3);border-color:rgba(46,204,113,0.7)}.alert_sucess .icon_box{background-color:rgba(46,204,113,0.7);color:#fff}@-webkit-keyframes pulseOpacity{0%{opacity:.99}50%{opacity:.66}to{opacity:.99}}@keyframes pulseOpacity{0%{opacity:.99}50%{opacity:.66}to{opacity:.99}}.pulseOpacity{-webkit-animation-name:pulseOpacity;animation-name:pulseOpacity}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}
     1.alert_shortcode{background-color:#eee;border-radius:4px;margin-bottom:1rem;display:-webkit-box;display:-ms-flexbox;display:flex;border-left:6px solid #3a3a3a}.alert{border-left-width:6px;border-left-style:solid;padding:1.5rem;border-radius:4px;background-color:#eee}.alert_shortcode .icon_box{padding:1.5rem 1rem}.alert_shortcode .content_box{padding:1.5rem 1rem}.alert_shortcode .icon_box .icon{margin-top:0.5rem}.alert_shortcode .content_box p,.alert{margin-bottom:0;font-size:90%;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important}.alert_shortcode .content_box p{margin:0}.alert_info{background-color:#e8f7ff;border-color:#a3daff}.alert_info .icon_box{background-color:#a3daff;color:#228ae6}.alert_warning{background-color:#fff9db;border-color:#ffe066}.alert_warning .icon_box{background-color:#ffe066;color:#fab005}.alert_danger{background-color:#f8c9c4;border-color:#e74c3c}.alert_danger .icon_box{background-color:#e74c3c;color:#fff}.alert_sucess{background-color:rgba(46,204,113,0.3);border-color:rgba(46,204,113,0.7)}.alert_sucess .icon_box{background-color:rgba(46,204,113,0.7);color:#fff}@-webkit-keyframes pulseOpacity{0%{opacity:.99}50%{opacity:.66}to{opacity:.99}}@keyframes pulseOpacity{0%{opacity:.99}50%{opacity:.66}to{opacity:.99}}.pulseOpacity{-webkit-animation-name:pulseOpacity;animation-name:pulseOpacity}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}
  • ttfb-toolkit/trunk/includes/author/widget.php

    r1790790 r1805880  
    2525   */
    2626  public function widget( $args, $instance ) {
     27
     28    if( !is_page() && !is_single() ){
     29        return;
     30    }
     31
    2732    echo $args['before_widget'];
    2833    if ( !empty($instance['title']) ) {
  • ttfb-toolkit/trunk/includes/sharing/controls.php

    r1790790 r1805880  
    1616        'capability' => 'edit_theme_options',
    1717    ) );
    18    
     18
    1919    /*
    20     * Sharing label
     20    * Sharing networks
    2121    */
    22     $wp_customize->add_setting( 'ttfb_toolkit_sharing[label]', array(
     22    $wp_customize->add_setting( 'ttfb_toolkit_sharing[disabled][facebook]', array(
    2323        'default' => '',
    2424        'type' => 'option',
     
    2626    ) );
    2727   
    28     $wp_customize->add_control( 'ttfb_toolkit_sharing[label]', array(
    29         'type' => 'text',
    30         'priority' => 10,
     28    $wp_customize->add_control( 'ttfb_toolkit_sharing[disabled][facebook]', array(
     29        'type' => 'checkbox',
     30        'priority' => 20,
    3131        'section' => 'ttfb_toolkit_sharing',
    32         'label' => __( 'Sharing label', 'ttfb-toolkit' ),
     32        'label'       => __( 'Disable Facebook share', 'minimall' ),
    3333    ) );
    3434
    35     /*
    36     * Sharing networks
    37     */
    38     $wp_customize->add_setting( 'ttfb_toolkit_sharing[platform][facebook]', array(
     35    $wp_customize->add_setting( 'ttfb_toolkit_sharing[disabled][twitter]', array(
    3936        'default' => '',
    4037        'type' => 'option',
     
    4239    ) );
    4340   
    44     $wp_customize->add_control( 'ttfb_toolkit_sharing[platform][facebook]', array(
     41    $wp_customize->add_control( 'ttfb_toolkit_sharing[disabled][twitter]', array(
    4542        'type' => 'checkbox',
    4643        'priority' => 20,
    4744        'section' => 'ttfb_toolkit_sharing',
    48         'label'       => __( 'Facebook', 'minimall' ),
     45        'label'       => __( 'Disable Twitter share', 'minimall' ),
    4946    ) );
    5047
    51     $wp_customize->add_setting( 'ttfb_toolkit_sharing[platform][twitter]', array(
     48    $wp_customize->add_setting( 'ttfb_toolkit_sharing[disabled][google]', array(
    5249        'default' => '',
    5350        'type' => 'option',
     
    5552    ) );
    5653   
    57     $wp_customize->add_control( 'ttfb_toolkit_sharing[platform][twitter]', array(
     54    $wp_customize->add_control( 'ttfb_toolkit_sharing[disabled][google]', array(
    5855        'type' => 'checkbox',
    5956        'priority' => 20,
    6057        'section' => 'ttfb_toolkit_sharing',
    61         'label'       => __( 'Twitter', 'minimall' ),
     58        'label'       => __( 'Disable Google+ share', 'minimall' ),
    6259    ) );
    6360
    64     $wp_customize->add_setting( 'ttfb_toolkit_sharing[platform][google]', array(
     61    $wp_customize->add_setting( 'ttfb_toolkit_sharing[disabled][linkedin]', array(
    6562        'default' => '',
    6663        'type' => 'option',
     
    6865    ) );
    6966   
    70     $wp_customize->add_control( 'ttfb_toolkit_sharing[platform][google]', array(
     67    $wp_customize->add_control( 'ttfb_toolkit_sharing[disabled][linkedin]', array(
    7168        'type' => 'checkbox',
    7269        'priority' => 20,
    7370        'section' => 'ttfb_toolkit_sharing',
    74         'label'       => __( 'Google', 'minimall' ),
     71        'label'       => __( 'Disable Linkedin share', 'minimall' ),
    7572    ) );
    7673
    77     $wp_customize->add_setting( 'ttfb_toolkit_sharing[platform][linkedin]', array(
     74    $wp_customize->add_setting( 'ttfb_toolkit_sharing[disabled][pinterest]', array(
    7875        'default' => '',
    7976        'type' => 'option',
     
    8178    ) );
    8279   
    83     $wp_customize->add_control( 'ttfb_toolkit_sharing[platform][linkedin]', array(
     80    $wp_customize->add_control( 'ttfb_toolkit_sharing[disabled][pinterest]', array(
    8481        'type' => 'checkbox',
    8582        'priority' => 20,
    8683        'section' => 'ttfb_toolkit_sharing',
    87         'label'       => __( 'Linkedin', 'minimall' ),
    88     ) );
    89 
    90     $wp_customize->add_setting( 'ttfb_toolkit_sharing[platform][pinterest]', array(
    91         'default' => '',
    92         'type' => 'option',
    93         'capability' => 'edit_theme_options',
    94     ) );
    95    
    96     $wp_customize->add_control( 'ttfb_toolkit_sharing[platform][pinterest]', array(
    97         'type' => 'checkbox',
    98         'priority' => 20,
    99         'section' => 'ttfb_toolkit_sharing',
    100         'label'       => __( 'Pinterrest', 'minimall' ),
    101     ) );
    102 
    103     /*
    104     * Sharing append
    105     */
    106     $wp_customize->add_setting( 'ttfb_toolkit_sharing[append]', array(
    107         'default' => '',
    108         'type' => 'option',
    109         'capability' => 'edit_theme_options',
    110     ) );
    111    
    112     $wp_customize->add_control( 'ttfb_toolkit_sharing[append]', array(
    113         'type' => 'select',
    114         'priority' => 50,
    115         'section' => 'ttfb_toolkit_sharing',
    116         'label'       => __( 'Automatically append', 'minimall' ),
    117         'description' => __( 'Automatically append social share module to content. A widget is also available.', 'minimall' ),
    118         'choices'     => array(
    119             'none' => esc_attr__( 'None', 'minimall' ),
    120             'top' => esc_attr__( 'At the top', 'minimall' ),
    121             'bottom' => esc_attr__( 'At the bottom', 'minimall' ),
    122             'both' => esc_attr__( 'Both', 'minimall' ),
    123         ),
    124     ) );
    125 
    126     /*
    127     * Sharing append location
    128     */
    129     $wp_customize->add_setting( 'ttfb_toolkit_sharing[append_to]', array(
    130         'default' => '',
    131         'type' => 'option',
    132         'capability' => 'edit_theme_options',
    133     ) );
    134    
    135     $wp_customize->add_control( 'ttfb_toolkit_sharing[append_to]', array(
    136         'type' => 'select',
    137         'priority' => 60,
    138         'section' => 'ttfb_toolkit_sharing',
    139         'label' => __( 'Append to', 'ttfb-toolkit' ),
    140         'choices'     => array(
    141             'all' => esc_attr__( 'Pages and Posts', 'minimall' ),
    142             'posts' => esc_attr__( 'Posts only', 'minimall' ),
    143             'pages' => esc_attr__( 'Pages only', 'minimall' ),
    144         ),
    145         'active_callback' => 'ttfb_toolkit_sharing_auto_append',
     84        'label'       => __( 'Disable Pinterrest share', 'minimall' ),
    14685    ) );
    14786
    14887}
    14988
    150 function ttfb_toolkit_sharing_auto_append( $control ) {
    151     if ( $control->manager->get_setting('ttfb_toolkit_sharing[append]')->value() != 'none' ) {
    152         return true;
    153     } else {
    154         return false;
    155     }
    156 }
  • ttfb-toolkit/trunk/includes/sharing/functions.php

    r1790790 r1805880  
    11<?php
    2 /**
    3  * Append custom share button to after content
    4  */
    5 add_filter('the_content','ttfb_toolkit_sharing_append_top', 10);
    6 function ttfb_toolkit_sharing_append_top( $content ){
    7    
    8     $share_options = get_option('ttfb_toolkit_sharing',false);
    9    
    10     if( $share_options['append'] == 'top' || $share_options['append'] == 'both' ){
    11 
    12         $social = '<section class="mt2 mb2">';
    13 
    14         if( is_singular('post') && $share_options['append_to'] != 'pages' ){
    15             $social .= ttfb_toolkit_sharing_get_markup();
    16         }elseif( ( get_post_type() == 'page' && !is_page_template() ) && $share_options['append_to'] != 'posts' ){
    17             $social .= ttfb_toolkit_sharing_get_markup();
    18         }else{
    19             $social .= '';
    20         }
    21 
    22         $social .= '</section>';
    23 
    24         $content = $social . $content;
    25     }
    26 
    27     return $content;
    28 }
    29 
    30 /**
    31  * Append custom share button after content
    32  */
    33 add_action('ttfb_toolkit_after_page_content','ttfb_toolkit_sharing_append_bottom', 40);
    34 add_action('ttfb_toolkit_after_post_content','ttfb_toolkit_sharing_append_bottom', 40);
    35 function ttfb_toolkit_sharing_append_bottom( ){
    36 
    37     $share_options = get_option('ttfb_toolkit_sharing',false);
    38 
    39     if( $share_options['append'] == 'bottom' || $share_options['append'] == 'both' ){
    40        
    41         $social = '';
    42         $title = '';
    43        
    44         $social .= '<section class="mt3 mb3">';
    45 
    46         if( !empty( $share_options['label'] ) ){
    47             $title .= '<h5 class="mb2 mt0 hide-prin">' . esc_html( $share_options['label'] ) . '</h5>';
    48         }
    49 
    50         if( is_singular('post') && $share_options['append_to'] != 'pages' ){
    51             $social .= $title . ttfb_toolkit_sharing_get_markup();
    52         }elseif( ( get_post_type() == 'page' && !is_page_template() ) && $share_options['append_to'] != 'posts' ){
    53             $social .= $title . ttfb_toolkit_sharing_get_markup();
    54         }else{
    55             $social .= '';
    56         }
    57 
    58         $social .= '</section>';
    59 
    60         echo $social;
    61     }
    62 }
    63 
    642/**
    653 * Custom share buttons markup
     
    7311    $content .= '<div class="social-share-btns hide-print max-width-3 ml-auto mr-auto m0">';
    7412
    75     if( !empty( $share_options['platform']['facebook'] ) ){
     13    if( empty( $share_options['disabled']['facebook'] ) ){
    7614        $content .= '<a target="_blank" rel="noopener noreferrer nofollow" href="http://www.facebook.com/sharer.php?u=' . get_permalink() . '&t=' . urlencode( get_the_title() ) . '" class="mb1 mr1 inline-flex items-center share-btn share-btn-facebook"><svg class="mr1" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" xml:space="preserve" width="16" height="16"><g class="" fill="#ffffff"><path fill="#ffffff" d="M6.02293,16L6,9H3V6h3V4c0-2.6992,1.67151-4,4.07938-4c1.15339,0,2.14468,0.08587,2.43356,0.12425v2.82082 l-1.66998,0.00076c-1.30953,0-1.56309,0.62227-1.56309,1.53541V6H13l-1,3H9.27986v7H6.02293z"></path></g></svg> ' . esc_html__("Share","minimall") . '</a>';
    7715    }
    7816   
    79     if( !empty( $share_options['platform']['twitter'] ) ){
     17    if( empty( $share_options['disabled']['twitter'] ) ){
    8018        $content .= '<a target="_blank" rel="noopener noreferrer nofollow" href="http://twitter.com/home?status=' . urlencode( get_the_title() ) . '+' . get_permalink() . '" class="mb1 mr1 inline-flex items-center  share-btn share-btn-twitter"><svg class="mr1" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" xml:space="preserve" width="16" height="16"><g class="" fill="#ffffff"><path fill="#ffffff" d="M16,3c-0.6,0.3-1.2,0.4-1.9,0.5c0.7-0.4,1.2-1,1.4-1.8c-0.6,0.4-1.3,0.6-2.1,0.8c-0.6-0.6-1.5-1-2.4-1 C9.3,1.5,7.8,3,7.8,4.8c0,0.3,0,0.5,0.1,0.7C5.2,5.4,2.7,4.1,1.1,2.1c-0.3,0.5-0.4,1-0.4,1.7c0,1.1,0.6,2.1,1.5,2.7 c-0.5,0-1-0.2-1.5-0.4c0,0,0,0,0,0c0,1.6,1.1,2.9,2.6,3.2C3,9.4,2.7,9.4,2.4,9.4c-0.2,0-0.4,0-0.6-0.1c0.4,1.3,1.6,2.3,3.1,2.3 c-1.1,0.9-2.5,1.4-4.1,1.4c-0.3,0-0.5,0-0.8,0c1.5,0.9,3.2,1.5,5,1.5c6,0,9.3-5,9.3-9.3c0-0.1,0-0.3,0-0.4C15,4.3,15.6,3.7,16,3z"></path></g></svg> ' . esc_html__("Tweet","minimall") . '</a>';
    8119    }
    8220
    83     if( !empty( $share_options['platform']['google'] ) ){
     21    if( empty( $share_options['disabled']['google'] ) ){
    8422        $content .= '<a target="_blank" rel="noopener noreferrer nofollow" href="https://plus.google.com/share?url=' . get_permalink() . '" class="mb1 mr1 inline-flex items-center  share-btn share-btn-google-plus"><svg class="mr1" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" xml:space="preserve" width="16" height="16"><g class="" fill="#ffffff"><path fill="#ffffff" d="M8,7v2.4h4.1c-0.2,1-1.2,3-4,3c-2.4,0-4.3-2-4.3-4.4s2-4.4,4.3-4.4 c1.4,0,2.3,0.6,2.8,1.1l1.9-1.8C11.6,1.7,10,1,8.1,1c-3.9,0-7,3.1-7,7s3.1,7,7,7c4,0,6.7-2.8,6.7-6.8c0-0.5,0-0.8-0.1-1.2H8L8,7z"></path></g></svg> ' . esc_html__("Share","minimall") . '</a>';
    8523    }
    8624
    87     if( !empty( $share_options['platform']['linkedin'] ) ){
     25    if( empty( $share_options['disabled']['linkedin'] ) ){
    8826        $content .= '<a target="_blank" rel="noopener noreferrer nofollow" href="https://www.linkedin.com/shareArticle?mini=true&url=' . get_permalink() . '&title=' . urlencode( get_the_title() ) . '" class="mb1 mr1 inline-flex items-center  share-btn share-btn-linkedin"><svg class="mr1" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" xml:space="preserve" width="16" height="16"><g class="" fill="#ffffff"><path fill="#ffffff" d="M15.3,0H0.7C0.3,0,0,0.3,0,0.7v14.7C0,15.7,0.3,16,0.7,16h14.7c0.4,0,0.7-0.3,0.7-0.7V0.7 C16,0.3,15.7,0,15.3,0z M4.7,13.6H2.4V6h2.4V13.6z M3.6,5C2.8,5,2.2,4.3,2.2,3.6c0-0.8,0.6-1.4,1.4-1.4c0.8,0,1.4,0.6,1.4,1.4 C4.9,4.3,4.3,5,3.6,5z M13.6,13.6h-2.4V9.9c0-0.9,0-2-1.2-2c-1.2,0-1.4,1-1.4,2v3.8H6.2V6h2.3v1h0c0.3-0.6,1.1-1.2,2.2-1.2 c2.4,0,2.8,1.6,2.8,3.6V13.6z"></path></g></svg> ' . esc_html__("Share","minimall") . '</a>';
    8927    }
    9028
    91     if( !empty( $share_options['platform']['pinterest'] ) ){
     29    if( empty( $share_options['disabled']['pinterest'] ) ){
    9230        $pinterest_link = "javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','https://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());";
    9331        $content .= '<a target="_blank" rel="noopener noreferrer nofollow" href="'. $pinterest_link .'" class="mb1 mr1 inline-flex items-center  share-btn share-btn-pinterest"><svg class="mr1" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" xml:space="preserve" width="16" height="16"><g class="" fill="#ffffff"><path fill="#ffffff" d="M8,0C3.6,0,0,3.6,0,8c0,3.4,2.1,6.3,5.1,7.4c-0.1-0.6-0.1-1.6,0-2.3c0.1-0.6,0.9-4,0.9-4S5.8,8.7,5.8,8 C5.8,6.9,6.5,6,7.3,6c0.7,0,1,0.5,1,1.1c0,0.7-0.4,1.7-0.7,2.7c-0.2,0.8,0.4,1.4,1.2,1.4c1.4,0,2.5-1.5,2.5-3.7 c0-1.9-1.4-3.3-3.3-3.3c-2.3,0-3.6,1.7-3.6,3.5c0,0.7,0.3,1.4,0.6,1.8C5,9.7,5,9.8,5,9.9c-0.1,0.3-0.2,0.8-0.2,0.9 c0,0.1-0.1,0.2-0.3,0.1c-1-0.5-1.6-1.9-1.6-3.1C2.9,5.3,4.7,3,8.2,3c2.8,0,4.9,2,4.9,4.6c0,2.8-1.7,5-4.2,5c-0.8,0-1.6-0.4-1.8-0.9 c0,0-0.4,1.5-0.5,1.9c-0.2,0.7-0.7,1.6-1,2.1C6.4,15.9,7.2,16,8,16c4.4,0,8-3.6,8-8C16,3.6,12.4,0,8,0z"></path></g></svg> ' . esc_html__("Pin","minimall") . '</a>';
  • ttfb-toolkit/trunk/readme.txt

    r1799717 r1805880  
    66Requires at least: 4.6
    77Tested up to: 4.9
    8 Stable tag: 1.2
     8Stable tag: 1.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3333
    3434==Changelog==
    35 = v1.2 - January 9, 2017 =
     35= v1.3 - January 19, 2018 =
     36* New Feature - Current page speed widgets
     37* New Feature - Before posts sidebar
     38* New Feature - Before pages sidebar
     39* Tweak - Deprecating the auto-append sharing
     40* Tweak - Alerts for better Gutenberg compatibility
     41
     42= v1.2 - January 9, 2018 =
    3643* New Feature - Debug performance panel
    3744* New Feature - Address Widget
  • ttfb-toolkit/trunk/ttfb-toolkit.php

    r1799717 r1805880  
    44Plugin URI:        https://github.com/time-to-first-byte/ttfb-toolkit
    55Description:       The TTFB Toolkit extends functionality to TTFB Themes, providing Font Awesome icons, alerts and more.
    6 Version:           1.2
     6Version:           1.3
    77Author:            TTFB
    88*/
     
    1313
    1414// Toolkit version
    15 define( 'TTFB_TOOLKIT_VERSION', '1.2' );
     15define( 'TTFB_TOOLKIT_VERSION', '1.3' );
    1616
    1717// Toolkit root directory
     
    6666         */
    6767        require_once( TTFB_TOOLKIT_INCLUDES . 'hooks.php' );
     68
     69        /**
     70         * load time widget
     71         */
     72        require_once( TTFB_TOOLKIT_INCLUDES . 'load-time/widget.php' );
    6873
    6974        /**
Note: See TracChangeset for help on using the changeset viewer.