elementor / elementor

The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
https://elementor.com/
GNU General Public License v3.0
6.57k stars 1.41k forks source link

Insert custom HTML wrap in a title of the widget when added in Elementor #11743

Open pzstar opened 4 years ago

pzstar commented 4 years ago

The title of the widget, when added in the Elementor, shows h5 HTML tags by default. How can I insert the custom HTML tag for the widget title?

Like below is the example of the registered sidebar. The Title of the widget should have "<h3 class="widget-title"><span>"which is missing when widget is added in Elementor

register_sidebar(array(
        'name' => esc_html__('Right Sidebar', 'viral-news'),
        'id' => 'news-sidebar',
        'description' => '',
        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
        'after_widget' => '</aside>',
        'before_title' => '<h3 class="widget-title"><span>',
        'after_title' => '</span></h3>',
    ));
howdy0420 commented 4 years ago

Use the editor, typography in widget, column, or section will fix

On Sun, Jun 28, 2020 at 2:30 AM Prabin Dangol notifications@github.com wrote:

The title of the widget, when added in the Elementor, shows h5 HTML tags by default. How can I insert the custom HTML tag for the widget title?

Like below is the example of the registered sidebar. The Title of the widget should have " " which is missing when widget is added in Elementor

register_sidebar(array( 'name' => esc_html__('Right Sidebar', 'viral-news'), 'id' => 'news-sidebar', 'description' => '', 'before_widget' => ' ', 'after_widget' => '', 'before_title' => '', 'after_title' => '', ));

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/elementor/elementor/issues/11743, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4D6DWDDLMQ67C4AFR2FITRY3POVANCNFSM4OKMFTGA .