403Webshell
Server IP : 213.136.93.164  /  Your IP : 216.73.216.20
Web Server : Apache
System : Linux m14200.contabo.net 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64
User : ki692510 ( 1047)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ki692510/public_html/wp-content/themes/bifrost/includes/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ki692510/public_html/wp-content/themes/bifrost/includes/admin/script.js
const bodyClasses = Array.from(document.querySelector('body').classList);
const portfolioItemSettings = document.querySelector(
  '.acf-tab-button[data-key=field_5b9fb41d81b3e]'
);
const portfolioItemGallery = document.querySelector(
  '.acf-tab-button[data-key=field_5b9fba326488b]'
);
const portfolioItemTabs = document.querySelector(
  '.acf-tab-button[data-key=field_5b9fbad6dc460]'
);
const productTab = document.querySelector(
  '.acf-tab-button[data-key=field_5b9fc8f5ae0d5]'
);
const postTab = document.querySelector(
  '.acf-tab-button[data-key=field_5ba524cf15054]'
);
var relatedTab = document.querySelector(
  '.acf-tab-button[data-key=field_5cdc1991bf16f]'
);

// Portfolio Item Settings
if (
  bodyClasses.includes('post-type-portfolio') === false &&
  (portfolioItemSettings || portfolioItemGallery || portfolioItemTabs)
) {
  portfolioItemSettings.parentElement.style.display = 'none';
  portfolioItemGallery.parentElement.style.display = 'none';
  portfolioItemTabs.parentElement.style.display = 'none';
}

// Product Settings
if (bodyClasses.includes('post-type-product') === false && productTab) {
  productTab.parentElement.style.display = 'none';
}

// Post Settings
if (bodyClasses.includes('post-type-post') === false && postTab) {
  postTab.parentElement.style.display = 'none';
}

// Related
if (
  bodyClasses.includes('post-type-post') == false &&
  bodyClasses.includes('post-type-portfolio') == false &&
  relatedTab
) {
  relatedTab.parentElement.style.display = 'none';
}

Youez - 2016 - github.com/yon3zu
LinuXploit