Plugin Directory

Changeset 2333990


Ignore:
Timestamp:
07/02/2020 07:54:43 AM (6 years ago)
Author:
anwerashif
Message:

update to 2.3.2

Location:
topbar-for-genesis
Files:
31 added
10 edited

Legend:

Unmodified
Added
Removed
  • topbar-for-genesis/trunk/assets/css/admin.css

    r2332340 r2333990  
    33 * @package Sticky Genesis Topbar
    44 * @author RainaStudio
    5  * @version 2.3.1
     5 * @version 2.3.2
    66 */
    77
  • topbar-for-genesis/trunk/assets/css/style.css

    r2332524 r2333990  
    33 * @package Sticky Genesis Topbar
    44 * @author RainaStudio
    5  * @version 2.3.1
     5 * @version 2.3.2
    66 */
    77/* # Topbar
     
    6161}
    6262
    63 .topbar p {
    64     margin: 0 0;
    65     display: inline-block;
    66     font-weight: bold;
    67 }
    68 
    6963.topbar a {
    7064    text-decoration: none;
     
    7367}
    7468
    75 .topbar a.button {
     69.topbar a.button,
     70.topbar .button {
    7671    display: -webkit-inline-box;
    7772    display: -ms-inline-flexbox;
     
    9994    min-width: 222px;
    10095}
    101 .topbar .button:hover {
     96.topbar a.button:hover {
    10297    background-color: #f1bd37;
    10398    box-shadow: 0 2px 7px rgba(0,0,0,.1);
     
    141136}
    142137
    143 .topbar .button:hover,
    144 .topbar .button:focus {
     138.topbar a.button:hover,
     139.topbar a.button:focus {
    145140    outline: none !important;
    146141}
     
    154149}
    155150
    156 .topbar .button .fa {
     151.topbar a.button .fa {
    157152    padding-left: 10px;
    158153}
     
    195190
    196191.topbar button:before,
    197 .topbar .button:before,
     192.topbar a.button:before,
    198193.topbar button:after,
    199 .topbar .button:after {
     194.topbar a.button:after {
    200195    border-radius: 50px;
    201196}
     
    303298        margin-top: 7px;
    304299    }
    305     .topbar .button {
     300    .topbar a.button {
    306301        padding: 10px;
    307302    }
     
    319314        text-align: center !important;
    320315    }
    321     .topbar .button {
     316    .topbar a.button {
    322317        margin-left: 0px !important;
    323318    }
     
    479474    border-radius: 6px;
    480475}
    481 
  • topbar-for-genesis/trunk/assets/scripts/admin.js

    r2332340 r2333990  
    33 * @package Sticky Genesis Topbar
    44 * @author RainaStudio
    5  * @version 2.3.1
     5 * @version 2.3.2
    66 */
    77(function( $ ) {
     
    1414  // Toggle
    1515  $(function() {
    16       var toggle_elm = $(".sticky_genesis_topbar_toggle");
    17       var toggle_elm_ct = $(".sticky_genesis_topbar_toggle_content");
     16      var toggle_elm = $(".sticky_genesis_topbar_pro_toggle");
     17      var toggle_elm_ct = $(".sticky_genesis_topbar_pro_toggle_content");
    1818      if (!toggle_elm.hasClass("toggle_content_active")){
    1919          toggle_elm_ct.hide();
     
    2222  });
    2323
    24   $('.sticky_genesis_topbar_toggle_title').on( 'click', function event(e) {
     24  $('.sticky_genesis_topbar_pro_toggle_title').on( 'click', function event(e) {
    2525      e && e.preventDefault && e.preventDefault();
    2626
    2727      var title = jQuery(this),
    28         element = title.closest(".sticky_genesis_topbar_toggle"),
    29         content = element.find(".sticky_genesis_topbar_toggle_content");
     28        element = title.closest(".sticky_genesis_topbar_pro_toggle"),
     29        content = element.find(".sticky_genesis_topbar_pro_toggle_content");
    3030
    3131      element.hasClass("toggle_content_active") ? content.slideUp({
  • topbar-for-genesis/trunk/assets/scripts/front.js

    r2332340 r2333990  
    33 * @package Sticky Genesis Topbar Pro
    44 * @author RainaStudio
    5  * @version 2.3.1
     5 * @version 2.3.2
    66 */
    77
     
    3232    function topbarHeight() {
    3333        $(".topbar_container + .site-header").css("margin-top", theight );
    34         if (footelm.next(elm).length) {
     34        if(footelm.next(elm).length) {
    3535            $(".site-footer").css("margin-bottom", theight );
    3636            $(".site-inner").css('margin-top', dem);
  • topbar-for-genesis/trunk/changelog.txt

    r2332340 r2333990  
    11== Changelog ==
     2= 2.3.2 =
     3* hook priority added
     4* some css update
     5
    26= 2.3.1 =
    37* Translation file(nl_NL) added
  • topbar-for-genesis/trunk/css.php

    r2332340 r2333990  
    44 * @package Sticky Genesis Topbar
    55 * @author RainaStudio
    6  * @version 2.3.1
     6 * @version 2.3.2
    77 */
    88?>
  • topbar-for-genesis/trunk/inc/admin.php

    r2332529 r2333990  
    44 * @package Sticky Genesis Topbar
    55 * @author RainaStudio
    6  * @version 2.3.1
     6 * @version 2.3.2
    77 */
    88
     
    165165                                    <td>
    166166                                        <p><input type="text" name="studio_player_topbar_url" class="large-text" id="studio_player_topbar_url" placeholder="http//" size="40" value="<?php echo esc_attr( get_option('studio_player_topbar_url') ); ?>"/></p>
    167                                         <p><span class="description">ie.<code>https://rainastudio.com/themes/studioplayer</code></span></p>
     167                                        <p><span class="description">ie.<code>https//rainastudio.com/themes/studioplayer</code></span></p>
    168168                                    </td>
    169169                                </tr>
     
    215215                                    <td>
    216216                                        <p><input type="text" name="sticky_genesis_topbar_facebook" class="large-text" id="sticky_genesis_topbar_facebook" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_facebook') ); ?>"/></p>
    217                                         <p><span class="description">ie.<code>https://www.facebook.com/rainastudio/</code></span></p>
     217                                        <p><span class="description">ie.<code>https//www.facebook.com/rainastudio/</code></span></p>
    218218                                    </td>
    219219                                </tr>
     
    222222                                    <td>
    223223                                        <p><input type="text" name="sticky_genesis_topbar_twitter" class="large-text" id="sticky_genesis_topbar_twitter" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_twitter') ); ?>"/></p>
    224                                         <p><span class="description">ie.<code>https://twitter.com/rainastudio/</code></span></p>
     224                                        <p><span class="description">ie.<code>https//twitter.com/rainastudio/</code></span></p>
    225225                                    </td>
    226226                                </tr>
     
    229229                                    <td>
    230230                                        <p><input type="text" name="sticky_genesis_topbar_linkedIn" class="large-text" id="sticky_genesis_topbar_linkedIn" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_linkedIn') ); ?>"/></p>
    231                                         <p><span class="description">ie.<code>https://www.linkedin.com/in/a3ashif/</code></span></p>
     231                                        <p><span class="description">ie.<code>https//www.linkedin.com/in/a3ashif/</code></span></p>
    232232                                    </td>
    233233                                </tr>
     
    236236                                    <td>
    237237                                        <p><input type="text" name="sticky_genesis_topbar_pinterest" class="large-text" id="sticky_genesis_topbar_pinterest" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_pinterest') ); ?>"/></p>
    238                                         <p><span class="description">ie.<code>https://www.pinterest.com/rainastudio/</code></span></p>
     238                                        <p><span class="description">ie.<code>https//www.pinterest.com/rainastudio/</code></span></p>
    239239                                    </td>
    240240                                </tr>
     
    243243                                    <td>
    244244                                        <p><input type="text" name="sticky_genesis_topbar_instagram" class="large-text" id="sticky_genesis_topbar_instagram" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_instagram') ); ?>"/></p>
    245                                         <p><span class="description">ie.<code>https://www.instagram.com/ashif_devs/</code></span></p>
     245                                        <p><span class="description">ie.<code>https//www.instagram.com/ashif_devs/</code></span></p>
    246246                                    </td>
    247247                                </tr>
     
    250250                                    <td>
    251251                                        <p><input type="text" name="sticky_genesis_topbar_youtube" class="large-text" id="sticky_genesis_topbar_youtube" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_youtube') ); ?>"/></p>
    252                                         <p><span class="description">ie.<code>https://youtube.com/rainastudio/</code></span></p>
     252                                        <p><span class="description">ie.<code>https//youtube.com/rainastudio/</code></span></p>
    253253                                    </td>
    254254                                </tr>
     
    257257                                    <td>
    258258                                        <p><input type="text" name="sticky_genesis_topbar_dribbble" class="large-text" id="sticky_genesis_topbar_dribbble" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_dribbble') ); ?>"/></p>
    259                                         <p><span class="description">ie.<code>https://dribbble.com/ashif/</code></span></p>
     259                                        <p><span class="description">ie.<code>https//dribbble.com/ashif/</code></span></p>
    260260                                    </td>
    261261                                </tr>
     
    264264                                    <td>
    265265                                        <p><input type="text" name="sticky_genesis_topbar_medium" class="large-text" id="sticky_genesis_topbar_medium" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_medium') ); ?>"/></p>
    266                                         <p><span class="description">ie.<code>https://medium.com/@anwerashif/</code></span></p>
     266                                        <p><span class="description">ie.<code>https//medium.com/@anwerashif/</code></span></p>
    267267                                    </td>
    268268                                </tr>
     
    271271                                    <td>
    272272                                        <p><input type="text" name="sticky_genesis_topbar_tumblr" class="large-text" id="sticky_genesis_topbar_tumblr" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_tumblr') ); ?>"/></p>
    273                                         <p><span class="description">ie.<code>https://tumblr.com/rainastudio/</code></span></p>
     273                                        <p><span class="description">ie.<code>https//tumblr.com/rainastudio/</code></span></p>
    274274                                    </td>
    275275                                </tr>
     
    278278                                    <td>
    279279                                        <p><input type="text" name="sticky_genesis_topbar_vimeo" class="large-text" id="sticky_genesis_topbar_vimeo" value="<?php echo htmlspecialchars( get_option('sticky_genesis_topbar_vimeo') ); ?>"/></p>
    280                                         <p><span class="description">ie.<code>https://vimeo.com/rainastudio/</code></span></p>
     280                                        <p><span class="description">ie.<code>https//vimeo.com/rainastudio/</code></span></p>
    281281                                    </td>
    282282                                </tr>
  • topbar-for-genesis/trunk/plugin.php

    r2332340 r2333990  
    99Author URI: http://rainastudio.com/
    1010
    11 Version: 2.3.1
     11Version: 2.3.2
    1212
    1313Text Domain: sticky_genesis_topbar
     
    2222
    2323// Define plugin paths
    24 define( 'sticky_genesis_topbar_version', '2.3.1' );
     24define( 'sticky_genesis_topbar_version', '2.3.2' );
    2525define( 'sticky_genesis_topbar_inc', plugin_dir_path( __FILE__ ) . 'inc/' );
    2626define( 'sticky_genesis_topbar_css', plugins_url( '/assets/css/', __FILE__ ) );
  • topbar-for-genesis/trunk/readme.txt

    r2332340 r2333990  
    55Requires at least: 3.7
    66Tested up to: 5.4.2
    7 Stable tag: 2.3.1
     7Stable tag: 2.3.2
    88Requires PHP: 5.2.4
    99License: GNU General Public License v2.0 (or later)
    1010License URI: http://www.opensource.org/licenses/gpl-license.php
    1111
    12 Sticky Genesis Topbar adds an area to the top of your website and lets you customize it from the Genesis Theme Settings page.
     12Sticky Genesis Topbar adds an area to the top or bottom of your website and lets you customize it from the Genesis Theme Settings page.
    1313
    1414== Description ==
     
    107107
    108108== Changelog ==
     109= 2.3.2 =
     110* hook priority added
     111* some css update
     112
    109113= 2.3.1 =
    110114* Translation file(nl_NL) added
  • topbar-for-genesis/trunk/sticky-genesis-topbar.php

    r2332340 r2333990  
    44 * @package Sticky Genesis Topbar
    55 * @author RainaStudio
    6  * @version 2.3.1
     6 * @version 2.3.2
    77 */
    88 
     
    4242function topbar_front_scripts() {
    4343
    44     wp_enqueue_script('front-topbar-js', sticky_genesis_topbar_js . 'front.js', array(), '2.3.1', true );
    45     wp_enqueue_script('cookie-topbar-js', sticky_genesis_topbar_js . 'jquery.cookie.js', array(), '2.3.1', true );
     44    wp_enqueue_script('front-topbar-js', sticky_genesis_topbar_js . 'front.js', array(), '2.3.2', true );
     45    wp_enqueue_script('cookie-topbar-js', sticky_genesis_topbar_js . 'jquery.cookie.js', array(), '2.3.2', true );
    4646   
    4747}
     
    203203
    204204        // Register 'topbar' before genesis_before_header
    205         add_action( 'genesis_before_header', 'topbar_genesis' );
     205        add_action( 'genesis_before_header', 'topbar_genesis', 1 );
    206206        //add_action( 'wp_body_open', 'topbar_genesis_before_header' );
    207207
    208208    } elseif( $topbar == 1 && $reposition == 'bottom' ) {
    209209
    210         remove_action( 'genesis_before_header', 'topbar_genesis' );
     210        remove_action( 'genesis_before_header', 'topbar_genesis', 1 );
    211211        add_action( 'genesis_after_footer', 'topbar_genesis' );
    212212
    213213    } else {
    214         remove_action( 'genesis_before_header', 'topbar_genesis' );
     214        remove_action( 'genesis_before_header', 'topbar_genesis', 1 );
    215215        remove_action( 'genesis_after_footer', 'topbar_genesis' );
    216216    }
Note: See TracChangeset for help on using the changeset viewer.