# elementor/3.34.2/modules/atomic-widgets/elements/atomic-heading/atomic-heading.html.twig

Elementor Website Builder – more than just a page builder, version 3.34.2. 23 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.34.2/code/modules/atomic-widgets/elements/atomic-heading/atomic-heading.html.twig
- Raw: https://pluginprobe.com/plugins/elementor/3.34.2/raw/modules/atomic-widgets/elements/atomic-heading/atomic-heading.html.twig
- Modified: 2025-12-22T12:25:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.34.2/code/modules/atomic-widgets/elements/atomic-heading/atomic-heading.html.twig#L10-L20`.

```twig
{% if settings.title is not empty %}
	{% set id_attribute = settings._cssid is not empty ? 'id=' ~ settings._cssid | e('html_attr') : '' %}
	<{{ settings.tag | e('html_tag') }} 
		data-interaction-id="{{ id }}" 
		class="{{ settings.classes | merge( [ base_styles.base ] ) | join(' ') }}" 
		{{ id_attribute }} 
		{{ settings.attributes | raw }}
		{% if interactions and interactions is not empty %}
    data-interactions="{{ interactions | json_encode | e('html_attr') }}"
{% endif %}
	>
	{% set allowed_tags = '<b><strong><em><i><u><a><del><span><br>' %}

	{% if settings.link.href %}
		<a href="{{ settings.link.href }}" target="{{ settings.link.target }}" class="{{ base_styles['link-base'] }}">
			{{ settings.title | striptags(allowed_tags) | raw }}
		</a>
	{% else %}
		{{ settings.title | striptags(allowed_tags) | raw }}
	{% endif %}
	</{{ settings.tag | e('html_tag') }}>
{% endif %}

```
