There are two sections displayed in required articles:
- The required reading flag, usually displayed at the top of the article and/or in the Right Column:
- The required reading acknowledgement section, usually displayed at the bottom of an article:
The required reading flag updates once a reader has checked the box to acknowledge that they've read it:
You choose where you'd like the flag to be placed by adding the Required Reading flag merge code into your Custom HTML in Settings > Style.
We recommend adding it in either:
- Your Article template
- Your Right Column template (if you're using a layout that displays a right column in articles!)
Here, we walk through adding the flag merge code to your article template:
- Go to Settings > Style.
- Below the Preview Pane, be sure Custom HTML is selected.
- Select Article from the Custom HTML dropdown.
- Copy the merge code below. (You can also find the merge code by clicking the -- Select a Merge Code -- dropdown, go to the Article Merge Codes section, and select Required Reading Flag.)
[article("required_reading_flag")]
- Paste the merge code into the article template wherever you'd like this flag to appear. Here are some of the most popular placements:
- Above the article title:
You can achieve this look by adding an extra line between the article header div and the hg-article-title h1 and pasting the merge code in there: - Below the article title and above the "Last modified on..." statement:
You can achieve this look by adding an extra line between the h1 for the article title and the metadata div, and pasting the merge code in there: - In the same line as the "Last modified on..." statement:
You can achieve this look by pasting your merge code as the first thing inside the metadata div: - Below the "Last modified on..." statement, directly above the start of the content:
You can achieve this look by adding an extra line after the metadata div and before the closing </div> tag and pasting the merge code in there:
- Above the article title:
- Once you've made your changes, be sure to Save. (If you've already enabled Required Reading, you can Preview the changes to see how they look--just be sure you've selected Article from the dropdown above the Preview Pane!)