Changeset 1466325
- Timestamp:
- 08/02/2016 04:48:42 PM (10 years ago)
- Location:
- pluton-panel
- Files:
-
- 52 added
- 5 edited
-
tags/1.0.5 (added)
-
tags/1.0.5/includes (added)
-
tags/1.0.5/includes/config (added)
-
tags/1.0.5/includes/config/polylang.php (added)
-
tags/1.0.5/includes/config/wpml.php (added)
-
tags/1.0.5/includes/metabox (added)
-
tags/1.0.5/includes/metabox/assets (added)
-
tags/1.0.5/includes/metabox/assets/pluton-metabox.css (added)
-
tags/1.0.5/includes/metabox/assets/pluton-metabox.js (added)
-
tags/1.0.5/includes/metabox/gallery-metabox (added)
-
tags/1.0.5/includes/metabox/gallery-metabox/delete.png (added)
-
tags/1.0.5/includes/metabox/gallery-metabox/gallery-metabox.php (added)
-
tags/1.0.5/includes/metabox/gallery-metabox/watermark.png (added)
-
tags/1.0.5/includes/metabox/metabox.php (added)
-
tags/1.0.5/includes/panel (added)
-
tags/1.0.5/includes/panel/assets (added)
-
tags/1.0.5/includes/panel/assets/ace.js (added)
-
tags/1.0.5/includes/panel/assets/admin-fields (added)
-
tags/1.0.5/includes/panel/assets/admin-fields/admin.css (added)
-
tags/1.0.5/includes/panel/assets/admin-fields/color-picker.js (added)
-
tags/1.0.5/includes/panel/assets/admin-fields/media-uploader.js (added)
-
tags/1.0.5/includes/panel/assets/ext-searchbox.js (added)
-
tags/1.0.5/includes/panel/assets/img (added)
-
tags/1.0.5/includes/panel/assets/img/addons-vc-image.png (added)
-
tags/1.0.5/includes/panel/assets/img/custom-actions-image.png (added)
-
tags/1.0.5/includes/panel/assets/img/custom-sidebar-image.png (added)
-
tags/1.0.5/includes/panel/assets/img/footer-callout-image.png (added)
-
tags/1.0.5/includes/panel/assets/img/panel-image.png (added)
-
tags/1.0.5/includes/panel/assets/img/product-share-image.png (added)
-
tags/1.0.5/includes/panel/assets/img/social-share-image.png (added)
-
tags/1.0.5/includes/panel/assets/img/sticky-header-image.png (added)
-
tags/1.0.5/includes/panel/assets/img/woo-styling-image.png (added)
-
tags/1.0.5/includes/panel/assets/mode-css.js (added)
-
tags/1.0.5/includes/panel/assets/mode-javascript.js (added)
-
tags/1.0.5/includes/panel/assets/theme-chrome.js (added)
-
tags/1.0.5/includes/panel/assets/typography-customize-preview.js (added)
-
tags/1.0.5/includes/panel/custom-404.php (added)
-
tags/1.0.5/includes/panel/custom-css.php (added)
-
tags/1.0.5/includes/panel/custom-js.php (added)
-
tags/1.0.5/includes/panel/customizer.php (added)
-
tags/1.0.5/includes/panel/extensions.php (added)
-
tags/1.0.5/includes/panel/image-sizes.php (added)
-
tags/1.0.5/includes/panel/import-export.php (added)
-
tags/1.0.5/includes/panel/links.php (added)
-
tags/1.0.5/includes/panel/theme-panel.php (added)
-
tags/1.0.5/includes/panel/typography.php (added)
-
tags/1.0.5/includes/panel/wp-gallery.php (added)
-
tags/1.0.5/index.php (added)
-
tags/1.0.5/languages (added)
-
tags/1.0.5/languages/pluton-panel.pot (added)
-
tags/1.0.5/pluton-panel.php (added)
-
tags/1.0.5/readme.txt (added)
-
trunk/includes/metabox/assets/pluton-metabox.js (modified) (1 diff)
-
trunk/includes/metabox/metabox.php (modified) (4 diffs)
-
trunk/includes/panel/typography.php (modified) (1 diff)
-
trunk/pluton-panel.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pluton-panel/trunk/includes/metabox/assets/pluton-metabox.js
r1443798 r1466325 84 84 } ); 85 85 86 // Show hide Full Screen options 87 var full_screenField = $( 'div#pluton-metabox select#pluton_header_style' ), 88 full_screenFieldDependents = $( '#pluton_full_screen_header_logo_tr, #pluton_full_screen_header_logo_height_tr'); 89 if ( full_screenField.val() === 'full_screen' ) { 90 full_screenFieldDependents.show(); 91 } else { 92 full_screenFieldDependents.hide(); 93 } 94 full_screenField.change(function () { 95 if ( $(this).val() === 'full_screen' ) { 96 full_screenFieldDependents.show(); 97 } else { 98 full_screenFieldDependents.hide(); 99 } 100 } ); 101 86 102 // Show hide title options 87 103 var titleField = $( 'div#pluton-metabox select#pluton_disable_title' ), -
pluton-panel/trunk/includes/metabox/metabox.php
r1457850 r1466325 520 520 'description' => esc_html__( 'Select the style of the header on this page or post.', 'pluton-panel' ), 521 521 'options' => array( 522 '' => esc_html__( 'Default', 'pluton-panel' ), 523 'minimal' => esc_html__( 'Minimal', 'pluton-panel' ), 524 'transparent' => esc_html__( 'Transparent', 'pluton-panel' ), 522 '' => esc_html__( 'Default', 'pluton-panel' ), 523 'minimal' => esc_html__( 'Minimal', 'pluton-panel' ), 524 'transparent' => esc_html__( 'Transparent', 'pluton-panel' ), 525 'reveal' => esc_html__( 'Reveal', 'pluton-panel' ), 526 'full_screen' => esc_html__( 'Full Screen', 'pluton-panel' ), 525 527 ), 526 528 'default' => '', … … 553 555 'title' => esc_html__( 'Transparent Header Retina Logo Height', 'pluton-panel'), 554 556 'id' => $prefix . 'transparent_header_logo_retina_height', 555 'description' => esc_html__( 'Enter a size in px.', 'pluton-panel' ), 557 'description' => esc_html__( 'Enter a size.', 'pluton-panel' ), 558 'type' => 'number', 559 ), 560 'full_screen_header_logo' => array( 561 'title' => esc_html__( 'Full Screen Header Logo', 'pluton-panel'), 562 'id' => $prefix . 'full_screen_header_logo', 563 'type' => 'media', 564 'description' => esc_html__( 'Select a custom logo (optional) when the menu is opened.', 'pluton-panel' ), 565 ), 566 'full_screen_header_logo_height' => array( 567 'title' => esc_html__( 'Full Screen Header Logo Height', 'pluton-panel'), 568 'id' => $prefix . 'full_screen_header_logo_height', 569 'description' => esc_html__( 'Enter a size.', 'pluton-panel' ), 556 570 'type' => 'number', 557 571 ), … … 723 737 'rows' => '2', 724 738 ), 739 'quote_format_link' => array( 740 'title' => esc_html__( 'Quote Link', 'pluton-panel' ), 741 'type' => 'select', 742 'id' => $prefix . 'quote_format_link', 743 'description' => esc_html__( 'Choose your quote link. This setting is used for your quote post formats.', 'pluton-panel' ), 744 'options' => array( 745 'post' => esc_html__( 'Post', 'pluton-panel' ), 746 'none' => esc_html__( 'None', 'pluton-panel' ), 747 ), 748 ), 725 749 ), 726 750 ); … … 755 779 756 780 <script type="text/javascript"> 757 !function(t){"use strict";t(document).on("ready",function(){t("div#pluton-metabox ul.wp-tab-bar a").click(function(){var o=t("#pluton-metabox ul.wp-tab-bar li"),e=t(this).data("tab"),n=t("#pluton-metabox div.wp-tab-panel");return t(o).removeClass("wp-tab-active"),t(n).hide(),t(e).show(),t(this).parent("li").addClass("wp-tab-active"),!1}),t("div#pluton-metabox .pluton-mb-color-field").wpColorPicker();var o=!0,e=wp.media.editor.send.attachment;t("div#pluton-metabox .pluton-mb-uploader").click(function(n){var a=(wp.media.editor.send.attachment,t(this)),l=a.prev();return wp.media.editor.send.attachment=function(n,a){return o?void t(l).val(a.id):e.apply(this,[n,a])},wp.media.editor.open(a),!1}),t("div#pluton-metabox .add_media").on("click",function(){o=!1}),t("div#pluton-metabox div.pluton-mb-reset a.pluton-reset-btn").click(function(){var o=t("div.pluton-mb-reset div.pluton-reset-checkbox"),e=confirm.is(":visible")?"<?php esc_html_e( 'Reset Settings', 'pluton-panel' ); ?>":"<?php esc_html_e( 'Cancel Reset', 'pluton-panel' ); ?>";t(this).text(e),t("div.pluton-mb-reset div.pluton-reset-checkbox input").attr("checked",!1),o.toggle()});var n=t("div#pluton-metabox select#pluton_post_layout"),a=t("#pluton_post_custom_width_tr");"full-width"===n.val()?a.show():a.hide(),n.change(function(){"full-width"===t(this).val()?a.show():a.hide()});var l=t("div#pluton-metabox select#pluton_header_style"),i=t("#pluton_transparent_header_color_tr, #pluton_transparent_header_logo_tr,#pluton_transparent_header_logo_retina_tr,#pluton_transparent_header_logo_retina_height_tr");"transparent"===l.val()?i.show():i.hide(),l.change(function(){"transparent"===t(this).val()?i.show():i.hide()});var r=t("div#pluton-metabox select#pluton_disable_title"),p=t("#pluton_disable_header_margin_tr, #pluton_post_subheading_tr,#pluton_post_title_style_tr"),s=t("div#pluton-metabox select#pluton_post_title_style"),_=s.val(),u=t("#pluton_post_title_background_color_tr, #pluton_post_title_background_tr,#pluton_post_title_height_tr,#pluton_post_title_background_overlay_tr,#pluton_post_title_background_overlay_opacity_tr"),d=t("#pluton_post_title_background_color_tr");"on"===r.val()?(p.hide(),u.hide()):p.show(),"background-image"===_?u.show():"solid-color"===_&&d.show(),r.change(function(){if("on"===t(this).val())p.hide(),u.hide();else{p.show();var o=s.val();"background-image"===o?u.show():"solid-color"===o&&d.show()}}),s.change(function(){u.hide(),"background-image"==t(this).val()?u.show():"solid-color"===t(this).val()&&d.show()})})}(jQuery);781 !function(t){"use strict";t(document).on("ready",function(){t("div#pluton-metabox ul.wp-tab-bar a").click(function(){var e=t("#pluton-metabox ul.wp-tab-bar li"),o=t(this).data("tab"),l=t("#pluton-metabox div.wp-tab-panel");return t(e).removeClass("wp-tab-active"),t(l).hide(),t(o).show(),t(this).parent("li").addClass("wp-tab-active"),!1}),t("div#pluton-metabox .pluton-mb-color-field").wpColorPicker();var e=!0,o=wp.media.editor.send.attachment;t("div#pluton-metabox .pluton-mb-uploader").click(function(l){var n=(wp.media.editor.send.attachment,t(this)),a=n.prev();return wp.media.editor.send.attachment=function(l,n){return e?void t(a).val(n.id):o.apply(this,[l,n])},wp.media.editor.open(n),!1}),t("div#pluton-metabox .add_media").on("click",function(){e=!1}),t("div#pluton-metabox div.pluton-mb-reset a.pluton-reset-btn").click(function(){var e=t("div.pluton-mb-reset div.pluton-reset-checkbox"),o=confirm.is(":visible")?"<?php esc_html_e( 'Reset Settings', 'pluton' ); ?>":"<?php esc_html_e( 'Cancel Reset', 'pluton' ); ?>";t(this).text(o),t("div.pluton-mb-reset div.pluton-reset-checkbox input").attr("checked",!1),e.toggle()});var l=t("div#pluton-metabox select#pluton_post_layout"),n=t("#pluton_post_custom_width_tr");"full-width"===l.val()?n.show():n.hide(),l.change(function(){"full-width"===t(this).val()?n.show():n.hide()});var a=t("div#pluton-metabox select#pluton_header_style"),i=t("#pluton_transparent_header_color_tr, #pluton_transparent_header_logo_tr,#pluton_transparent_header_logo_retina_tr,#pluton_transparent_header_logo_retina_height_tr");"transparent"===a.val()?i.show():i.hide(),a.change(function(){"transparent"===t(this).val()?i.show():i.hide()});var r=t("div#pluton-metabox select#pluton_header_style"),_=t("#pluton_full_screen_header_logo_tr, #pluton_full_screen_header_logo_height_tr");"full_screen"===r.val()?_.show():_.hide(),r.change(function(){"full_screen"===t(this).val()?_.show():_.hide()});var s=t("div#pluton-metabox select#pluton_disable_title"),p=t("#pluton_disable_header_margin_tr, #pluton_post_subheading_tr,#pluton_post_title_style_tr"),u=t("div#pluton-metabox select#pluton_post_title_style"),d=u.val(),h=t("#pluton_post_title_background_color_tr, #pluton_post_title_background_tr,#pluton_post_title_height_tr,#pluton_post_title_background_overlay_tr,#pluton_post_title_background_overlay_opacity_tr"),c=t("#pluton_post_title_background_color_tr");"on"===s.val()?(p.hide(),h.hide()):p.show(),"background-image"===d?h.show():"solid-color"===d&&c.show(),s.change(function(){if("on"===t(this).val())p.hide(),h.hide();else{p.show();var e=u.val();"background-image"===e?h.show():"solid-color"===e&&c.show()}}),u.change(function(){h.hide(),"background-image"==t(this).val()?h.show():"solid-color"===t(this).val()&&c.show()})})}(jQuery); 758 782 </script> 759 783 -
pluton-panel/trunk/includes/panel/typography.php
r1457850 r1466325 82 82 'menu' => array( 83 83 'label' => esc_html__( 'Main Menu', 'pluton-panel' ), 84 'target' => '#site-navigation-wrap .dropdown-menu > li > a,# pluton-mobile-menu-icon a',84 'target' => '#site-navigation-wrap .dropdown-menu > li > a,#site-header.full-screen-header .fs-dropdown-menu > li > a,#pluton-mobile-menu-icon a', 85 85 'exclude' => array( 'font-color', 'line-height' ), 86 86 ), 87 87 'menu_dropdown' => array( 88 88 'label' => esc_html__( 'Main Menu: Dropdowns', 'pluton-panel' ), 89 'target' => '.dropdown-menu ul li a.menu-link ',89 'target' => '.dropdown-menu ul li a.menu-link,#site-header.full-screen-header .fs-dropdown-menu ul.sub-menu li a', 90 90 'exclude' => array( 'font-color' ), 91 91 ), -
pluton-panel/trunk/pluton-panel.php
r1457850 r1466325 4 4 * Plugin URI: https://plutonwp.com/extension/pluton-panel/ 5 5 * Description: Add meta boxes for your posts, pages, posts types and Theme Panel to extend the functionality of the theme. 6 * Version: 1.0. 46 * Version: 1.0.5 7 7 * Author: PlutonWP 8 8 * Author URI: https://plutonwp.com/ 9 9 * Requires at least: 4.0.0 10 * Tested up to: 4. 5.310 * Tested up to: 4.6 11 11 * 12 12 * Text Domain: pluton-panel … … 87 87 $this->plugin_url = plugin_dir_url( __FILE__ ); 88 88 $this->plugin_path = plugin_dir_path( __FILE__ ); 89 $this->version = '1.0. 4';89 $this->version = '1.0.5'; 90 90 91 91 define( 'PP_ROOT', dirname( __FILE__ ) ); -
pluton-panel/trunk/readme.txt
r1457850 r1466325 3 3 Tags: panel, theme panel, meta boxes, meta box, metaboxes, metabox, pluton 4 4 Requires at least: 3.5 5 Tested up to: 4. 5.36 Stable tag: 1.0. 45 Tested up to: 4.6 6 Stable tag: 1.0.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 34 34 == Changelog == 35 35 36 = 1.0.5 = 37 Quote Link option added in the metabox. 38 36 39 = 1.0.4 = 37 40 Image Sizes & Customizer Manager tabs added.
Note: See TracChangeset
for help on using the changeset viewer.