Changeset 1946372
- Timestamp:
- 09/24/2018 08:13:28 PM (7 years ago)
- Location:
- sticky-header-oceanwp/trunk
- Files:
-
- 4 added
- 2 edited
-
languages (added)
-
languages/sticky-header-oceanwp-he_IL.mo (added)
-
languages/sticky-header-oceanwp-he_IL.po (added)
-
languages/sticky-header-oceanwp.pot (added)
-
main.js (modified) (1 diff)
-
sticky-header-oceanwp.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sticky-header-oceanwp/trunk/main.js
r1894770 r1946372 12 12 13 13 var site_header = $('#site-header'); 14 var wpadmin_height = $('#wpadminbar').height() > 0 ? $('#wpadminbar').height() : false;14 var wpadmin_height = $('#wpadminbar').height() > 0 ? $('#wpadminbar').height() : 0; 15 15 var top_bars = $('#top-bar-wrap').height(); 16 16 var header_status = $(window).scrollTop() >= top_bars; -
sticky-header-oceanwp/trunk/sticky-header-oceanwp.php
r1894766 r1946372 3 3 * Plugin Name: Sticky Header OceanWP 4 4 * Description: Want a new fresh sticky header like everyone else, with our plugin you can get the best and better sticky header that you ever seen 5 * Version: 1.0. 25 * Version: 1.0.4 6 6 * Author: Oren Hahiashvili 7 7 * Author URI: https://www.script.co.il 8 8 * Requires at least: 3.5.0 9 * Tested up to: 4.9. 59 * Tested up to: 4.9.8 10 10 * 11 11 * Text Domain: sticky-header-oceanwp … … 32 32 function __construct() { 33 33 add_action( 'admin_menu', array( $this, 'admin_menu' ) ); 34 add_action( 'init', array( $this, 'myplugin_load_textdomain' ) ); 34 35 } 35 36 37 38 function myplugin_load_textdomain() { 39 load_plugin_textdomain( 'sticky-header-oceanwp', false, basename( dirname( __FILE__ ) ) . '/languages' ); 40 } 41 42 36 43 function admin_menu() { 37 44 add_options_page( 38 45 'Ocean Theme Sticky Header', 39 'Sticky Header',46 __('Sticky Header', 'sticky-header-oceanwp'), 40 47 'manage_options', 41 48 'sticky-header-oceanwp', … … 66 73 67 74 ?> 68 <h1> Select your sticky header style</h1>75 <h1><?php _e('Select your sticky header style', 'sticky-header-oceanwp'); ?></h1> 69 76 <form method="post"> 70 77 <label><?php _e('Style', 'sticky-header-oceanwp') ?>: <select name="oceanwp_header_style">
Note: See TracChangeset
for help on using the changeset viewer.