| Server IP : 82.208.35.60 / Your IP : 216.73.217.39 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/d2m/sofident_cz/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/ |
Upload File : |
<?php
namespace ElementorPro\Modules\ThemeBuilder\Widgets;
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 __( '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' ];
}
protected function get_dynamic_tag_name() {
return 'post-title';
}
public function get_common_args() {
return [
'_css_classes' => [
'default' => 'entry-title',
],
];
}
}