Changeset 2333990
- Timestamp:
- 07/02/2020 07:54:43 AM (6 years ago)
- Location:
- topbar-for-genesis
- Files:
-
- 31 added
- 10 edited
-
tags/2.3.2 (added)
-
tags/2.3.2/assets (added)
-
tags/2.3.2/assets/css (added)
-
tags/2.3.2/assets/css/admin.css (added)
-
tags/2.3.2/assets/css/font-awesome.css (added)
-
tags/2.3.2/assets/css/style.css (added)
-
tags/2.3.2/assets/fonts (added)
-
tags/2.3.2/assets/fonts/FontAwesome.otf (added)
-
tags/2.3.2/assets/fonts/fontawesome-webfont.eot (added)
-
tags/2.3.2/assets/fonts/fontawesome-webfont.svg (added)
-
tags/2.3.2/assets/fonts/fontawesome-webfont.ttf (added)
-
tags/2.3.2/assets/fonts/fontawesome-webfont.woff (added)
-
tags/2.3.2/assets/fonts/fontawesome-webfont.woff2 (added)
-
tags/2.3.2/assets/img (added)
-
tags/2.3.2/assets/img/rateus.jpg (added)
-
tags/2.3.2/assets/img/service.svg (added)
-
tags/2.3.2/assets/scripts (added)
-
tags/2.3.2/assets/scripts/admin.js (added)
-
tags/2.3.2/assets/scripts/front.js (added)
-
tags/2.3.2/assets/scripts/jquery.cookie.js (added)
-
tags/2.3.2/changelog.txt (added)
-
tags/2.3.2/css.php (added)
-
tags/2.3.2/inc (added)
-
tags/2.3.2/inc/admin.php (added)
-
tags/2.3.2/languages (added)
-
tags/2.3.2/languages/sticky_genesis_topbar-nl_NL.mo (added)
-
tags/2.3.2/languages/sticky_genesis_topbar-nl_NL.po (added)
-
tags/2.3.2/languages/sticky_genesis_topbar.pot (added)
-
tags/2.3.2/plugin.php (added)
-
tags/2.3.2/readme.txt (added)
-
tags/2.3.2/sticky-genesis-topbar.php (added)
-
trunk/assets/css/admin.css (modified) (1 diff)
-
trunk/assets/css/style.css (modified) (10 diffs)
-
trunk/assets/scripts/admin.js (modified) (3 diffs)
-
trunk/assets/scripts/front.js (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/css.php (modified) (1 diff)
-
trunk/inc/admin.php (modified) (12 diffs)
-
trunk/plugin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/sticky-genesis-topbar.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
topbar-for-genesis/trunk/assets/css/admin.css
r2332340 r2333990 3 3 * @package Sticky Genesis Topbar 4 4 * @author RainaStudio 5 * @version 2.3. 15 * @version 2.3.2 6 6 */ 7 7 -
topbar-for-genesis/trunk/assets/css/style.css
r2332524 r2333990 3 3 * @package Sticky Genesis Topbar 4 4 * @author RainaStudio 5 * @version 2.3. 15 * @version 2.3.2 6 6 */ 7 7 /* # Topbar … … 61 61 } 62 62 63 .topbar p {64 margin: 0 0;65 display: inline-block;66 font-weight: bold;67 }68 69 63 .topbar a { 70 64 text-decoration: none; … … 73 67 } 74 68 75 .topbar a.button { 69 .topbar a.button, 70 .topbar .button { 76 71 display: -webkit-inline-box; 77 72 display: -ms-inline-flexbox; … … 99 94 min-width: 222px; 100 95 } 101 .topbar .button:hover {96 .topbar a.button:hover { 102 97 background-color: #f1bd37; 103 98 box-shadow: 0 2px 7px rgba(0,0,0,.1); … … 141 136 } 142 137 143 .topbar .button:hover,144 .topbar .button:focus {138 .topbar a.button:hover, 139 .topbar a.button:focus { 145 140 outline: none !important; 146 141 } … … 154 149 } 155 150 156 .topbar .button .fa {151 .topbar a.button .fa { 157 152 padding-left: 10px; 158 153 } … … 195 190 196 191 .topbar button:before, 197 .topbar .button:before,192 .topbar a.button:before, 198 193 .topbar button:after, 199 .topbar .button:after {194 .topbar a.button:after { 200 195 border-radius: 50px; 201 196 } … … 303 298 margin-top: 7px; 304 299 } 305 .topbar .button {300 .topbar a.button { 306 301 padding: 10px; 307 302 } … … 319 314 text-align: center !important; 320 315 } 321 .topbar .button {316 .topbar a.button { 322 317 margin-left: 0px !important; 323 318 } … … 479 474 border-radius: 6px; 480 475 } 481 -
topbar-for-genesis/trunk/assets/scripts/admin.js
r2332340 r2333990 3 3 * @package Sticky Genesis Topbar 4 4 * @author RainaStudio 5 * @version 2.3. 15 * @version 2.3.2 6 6 */ 7 7 (function( $ ) { … … 14 14 // Toggle 15 15 $(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"); 18 18 if (!toggle_elm.hasClass("toggle_content_active")){ 19 19 toggle_elm_ct.hide(); … … 22 22 }); 23 23 24 $('.sticky_genesis_topbar_ toggle_title').on( 'click', function event(e) {24 $('.sticky_genesis_topbar_pro_toggle_title').on( 'click', function event(e) { 25 25 e && e.preventDefault && e.preventDefault(); 26 26 27 27 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"); 30 30 31 31 element.hasClass("toggle_content_active") ? content.slideUp({ -
topbar-for-genesis/trunk/assets/scripts/front.js
r2332340 r2333990 3 3 * @package Sticky Genesis Topbar Pro 4 4 * @author RainaStudio 5 * @version 2.3. 15 * @version 2.3.2 6 6 */ 7 7 … … 32 32 function topbarHeight() { 33 33 $(".topbar_container + .site-header").css("margin-top", theight ); 34 if (footelm.next(elm).length) {34 if(footelm.next(elm).length) { 35 35 $(".site-footer").css("margin-bottom", theight ); 36 36 $(".site-inner").css('margin-top', dem); -
topbar-for-genesis/trunk/changelog.txt
r2332340 r2333990 1 1 == Changelog == 2 = 2.3.2 = 3 * hook priority added 4 * some css update 5 2 6 = 2.3.1 = 3 7 * Translation file(nl_NL) added -
topbar-for-genesis/trunk/css.php
r2332340 r2333990 4 4 * @package Sticky Genesis Topbar 5 5 * @author RainaStudio 6 * @version 2.3. 16 * @version 2.3.2 7 7 */ 8 8 ?> -
topbar-for-genesis/trunk/inc/admin.php
r2332529 r2333990 4 4 * @package Sticky Genesis Topbar 5 5 * @author RainaStudio 6 * @version 2.3. 16 * @version 2.3.2 7 7 */ 8 8 … … 165 165 <td> 166 166 <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> 168 168 </td> 169 169 </tr> … … 215 215 <td> 216 216 <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> 218 218 </td> 219 219 </tr> … … 222 222 <td> 223 223 <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> 225 225 </td> 226 226 </tr> … … 229 229 <td> 230 230 <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> 232 232 </td> 233 233 </tr> … … 236 236 <td> 237 237 <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> 239 239 </td> 240 240 </tr> … … 243 243 <td> 244 244 <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> 246 246 </td> 247 247 </tr> … … 250 250 <td> 251 251 <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> 253 253 </td> 254 254 </tr> … … 257 257 <td> 258 258 <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> 260 260 </td> 261 261 </tr> … … 264 264 <td> 265 265 <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> 267 267 </td> 268 268 </tr> … … 271 271 <td> 272 272 <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> 274 274 </td> 275 275 </tr> … … 278 278 <td> 279 279 <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> 281 281 </td> 282 282 </tr> -
topbar-for-genesis/trunk/plugin.php
r2332340 r2333990 9 9 Author URI: http://rainastudio.com/ 10 10 11 Version: 2.3. 111 Version: 2.3.2 12 12 13 13 Text Domain: sticky_genesis_topbar … … 22 22 23 23 // Define plugin paths 24 define( 'sticky_genesis_topbar_version', '2.3. 1' );24 define( 'sticky_genesis_topbar_version', '2.3.2' ); 25 25 define( 'sticky_genesis_topbar_inc', plugin_dir_path( __FILE__ ) . 'inc/' ); 26 26 define( 'sticky_genesis_topbar_css', plugins_url( '/assets/css/', __FILE__ ) ); -
topbar-for-genesis/trunk/readme.txt
r2332340 r2333990 5 5 Requires at least: 3.7 6 6 Tested up to: 5.4.2 7 Stable tag: 2.3. 17 Stable tag: 2.3.2 8 8 Requires PHP: 5.2.4 9 9 License: GNU General Public License v2.0 (or later) 10 10 License URI: http://www.opensource.org/licenses/gpl-license.php 11 11 12 Sticky Genesis Topbar adds an area to the top o f your website and lets you customize it from the Genesis Theme Settings page.12 Sticky Genesis Topbar adds an area to the top or bottom of your website and lets you customize it from the Genesis Theme Settings page. 13 13 14 14 == Description == … … 107 107 108 108 == Changelog == 109 = 2.3.2 = 110 * hook priority added 111 * some css update 112 109 113 = 2.3.1 = 110 114 * Translation file(nl_NL) added -
topbar-for-genesis/trunk/sticky-genesis-topbar.php
r2332340 r2333990 4 4 * @package Sticky Genesis Topbar 5 5 * @author RainaStudio 6 * @version 2.3. 16 * @version 2.3.2 7 7 */ 8 8 … … 42 42 function topbar_front_scripts() { 43 43 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 ); 46 46 47 47 } … … 203 203 204 204 // Register 'topbar' before genesis_before_header 205 add_action( 'genesis_before_header', 'topbar_genesis' );205 add_action( 'genesis_before_header', 'topbar_genesis', 1 ); 206 206 //add_action( 'wp_body_open', 'topbar_genesis_before_header' ); 207 207 208 208 } elseif( $topbar == 1 && $reposition == 'bottom' ) { 209 209 210 remove_action( 'genesis_before_header', 'topbar_genesis' );210 remove_action( 'genesis_before_header', 'topbar_genesis', 1 ); 211 211 add_action( 'genesis_after_footer', 'topbar_genesis' ); 212 212 213 213 } else { 214 remove_action( 'genesis_before_header', 'topbar_genesis' );214 remove_action( 'genesis_before_header', 'topbar_genesis', 1 ); 215 215 remove_action( 'genesis_after_footer', 'topbar_genesis' ); 216 216 }
Note: See TracChangeset
for help on using the changeset viewer.