Shortcodes – Make Lead Text

Lead text (content) is a method to make a sentence or paragraph stand out with special styling with formating to achieve that effect. For example, the lead text that you see in the screenshot snippet below shows what the lead styling looks like for Incept:

lead1

Although the theme includes styling for lead text by selecting a paragraph and applying the lead CSS to it, the best way is to use the shortcode method so that if you ever change themes, you can maintain the styling.

Create Lead Text

The first thing you want to do is place your mouse cursor to the place you want to insert a lead sentence or paragraph. Normally you would just create a new line in your content and then on the editor, click on the “Lead” shortcode icon:

lead editor icon

Clicking the “Lead” editor button will immediately insert a shortcode into your content that looks something like this:

[incept_lead]This will give attention to a paragraph with larger text.[/incept_lead]

From this point on, you select the “This will give attention to a paragraph with larger text” placeholder text and begin typing your own lead content. Then, click the “Update” button in your editor or “Publish’ if this is a new post.

Using a Text Widget

If you decide to use the default WordPress text widget, you can copy the above (or below) shortcode and paste it into your text widget. This will inherit the styling for your lead content and will also be maintained across different themes.

[incept_lead]This will give attention to a paragraph with larger text.[/incept_lead]