Name
Email *
Message *

Horizontal Rule Shortcode

The HR shortcode inserts a horizontal divider line that can be used to separate sections of content.

Syntax :

[code][hr][/code]

Parameters

Parameter Required Default Description
None This shortcode does not accept any parameters.

Output

The shortcode generates an HTML <hr/> element using the template's predefined styles, including border and spacing settings.

Example

Introduction text.

[hr]
Additional content below the divider.

Explanation:

  • A horizontal line is inserted between the two content sections.
  • The appearance of the divider follows the template's default styling.
  • Spacing above and below the divider is handled automatically.

Share this post