Changeset 2310716
- Timestamp:
- 05/23/2020 10:54:20 AM (6 years ago)
- Location:
- cocoonnoticeareascheduler/trunk
- Files:
-
- 3 edited
-
mch795-cocoon-notice-area-scheduler.php (modified) (1 diff)
-
mch795_cnas_main.php (modified) (1 diff)
-
readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cocoonnoticeareascheduler/trunk/mch795-cocoon-notice-area-scheduler.php
r2310255 r2310716 4 4 Description: WordPressテーマ「Cocoon」で動作するプラグインです。Cocoonの通知エリアの設定を複数設定でき、表示スケジュールを管理できます。 5 5 Author: macha795 6 Version: 0.0. 66 Version: 0.0.7 7 7 Text Domain: mch795-cocoon-notice-area-scheduler 8 8 */ -
cocoonnoticeareascheduler/trunk/mch795_cnas_main.php
r2310255 r2310716 533 533 534 534 function generate_color_picker_tag($name){ 535 wp_enqueue_style( 'wp-color-picker' ); 535 536 wp_enqueue_script( 'wp-color-picker' ); 536 $data = minify_js('(function( $ ) { 537 var options = { 538 defaultColor: false, 539 change: function(event, ui){}, 540 clear: function() {}, 541 hide: true, 542 palettes: true 543 }; 544 $("input:text[name=\''.$name.'\']").wpColorPicker(options); 545 })( jQuery );'); 537 $data = <<<TEXT 538 (function( $ ) { 539 var options = { 540 defaultColor: false, 541 change: function(event, ui){}, 542 clear: function() {}, 543 hide: true, 544 palettes: true 545 }; 546 $("input:text[name='$name']").wpColorPicker(options); 547 })( jQuery ); 548 TEXT; 546 549 wp_add_inline_script( 'wp-color-picker', $data, 'after' ) ; 547 550 } -
cocoonnoticeareascheduler/trunk/readme.txt
r2310280 r2310716 4 4 Requires at least: 4.9 5 5 Tested up to: 5.4.1 6 Stable tag: 0.0. 66 Stable tag: 0.0.7 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 24 24 Cocoonのカスタマイズ機能を利用しているため、テーマ側の仕様変更により利用できなくなる可能性があるのでご了承ください。 25 25 26 26 * [詳細な説明はこちら](https://dev.macha795.com/wp-plugin-notice-manage/) 27 27 28 28 … … 43 43 44 44 45 45 46 == Frequently asked questions == 46 47 … … 52 53 53 54 == Changelog == 55 56 = 0.0.7 = 57 テーマがcocoon以外のときにエラーが表示されるのを修正 54 58 55 59 = 0.0.6 = … … 74 78 75 79 76 == Arbitrary section 1 ==77
Note: See TracChangeset
for help on using the changeset viewer.