| Server IP : 3.93.235.159 / Your IP : 216.73.216.140 Web Server : Apache System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64 User : bitnami ( 1000) PHP Version : 8.2.9 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/ |
Upload File : |
<?php
namespace ElementorPro\Modules\ThemeBuilder\Widgets;
use ElementorPro\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Post_Title extends Title_Widget_Base {
public function get_name() {
// `theme` prefix is to avoid conflicts with a dynamic-tag with same name.
return 'theme-post-title';
}
public function get_title() {
return esc_html__( 'Post Title', 'elementor-pro' );
}
public function get_icon() {
return 'eicon-post-title';
}
public function get_categories() {
return [ 'theme-elements-single' ];
}
public function get_keywords() {
return [ 'title', 'heading', 'post' ];
}
public function has_widget_inner_wrapper(): bool {
return ! Plugin::elementor()->experiments->is_feature_active( 'e_optimized_markup' );
}
protected function get_dynamic_tag_name() {
return 'post-title';
}
public function get_common_args() {
return [
'_css_classes' => [
'default' => 'entry-title',
],
];
}
}