HEX
Server: LiteSpeed
System: Linux sg-cp4.cloudnetwork.vn 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64
User: thu28850 (1134)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/thu28850/www/wp-content/themes/martfury/js/backend/meta-boxes.min.js
jQuery(document).ready(function(e){"use strict";var t=e("#post-formats-select").find("input.post-format"),o=e("#post-format-settings");function n(t){o.hide(),o.find(".rwmb-field").hasClass(t)&&o.show(),o.find(".rwmb-field").slideUp(),o.find("."+t).slideDown()}function i(t){"template-homepage.php"==t.val()||"template-home-full-width.php"==t.val()||"template-coming-soon-page.php"==t.val()?e("#page-header-settings").hide():e("#page-header-settings").show(),"template-homepage.php"==t.val()||"template-home-full-width.php"==t.val()||"template-full-width.php"==t.val()||"template-coming-soon-page.php"==t.val()?e("#display-settings").hide():e("#display-settings").show(),"template-homepage.php"==t.val()||"template-home-full-width.php"==t.val()?e("#homepage-settings").show():e("#homepage-settings").hide()}t.on("change",function(){n(e(this).filter(":checked").val())}),t.filter(":checked").trigger("change"),e(document.body).on("change",".editor-post-format .components-select-control__input",function(){n(e(this).val())}),e(window).load(function(){n(e(document.body).find(".editor-post-format .components-select-control__input").val())}),e("#custom_layout").on("change",function(){e(this).is(":checked")?e(".rwmb-field.custom-layout").slideDown():e(".rwmb-field.custom-layout").slideUp()}).trigger("change"),e("#post-style-settings #post_style").on("change",function(){"2"==e(this).val()?e("#post-style-settings").find(".show-post-header-2").slideDown():e("#post-style-settings").find(".show-post-header-2").slideUp()}).trigger("change"),e("#product-360-view").find(".rwmb-image-item").css({width:"50px"}),e("#page_template").on("change",function(){i(e(this))}).trigger("change"),e(document.body).on("change",".editor-page-attributes__template .components-select-control__input",function(){i(e(this))}),e(window).load(function(){i(e(document.body).find(".editor-page-attributes__template .components-select-control__input"))})});