脚注指南

This page explains the correct way to include footnotes in a WordPress 页面 or 帖子. It requires content editors to be confident making edits to HTML code. Please contact Peter Hobley (phobley@hebhgkq.com) if you have any questions or need assistance.

1. Determine if you Need Footnotes

Avoid using footnotes if you can simply use a hyperlink to the resource you are referencing. This is the preferred method and a fundamental of how the web works. If you have determined that you need footnotes, follow the steps below.

2. Insert and Markup the Footnote Number(s)

  1. Insert the first or next number in your footnote sequence in the appropriate place
  2. Highlight the number
  3. 选择“上标” option in the toolbar
  4. 选择“插入/编辑链接” option in the toolbar
  5. In the box, type the pound sign followed by “fn” a hyphen and the footnote number e.g.: #fn-1
  6. 选择“应用” button or press enter/return
  7. If you are currently in “视觉“视图 in the content editor, select the “文本“视图
  8. Locate the footnote number and its link. e.g. Footnote number 1 would look like this: 1
  9. Add id and aria-label attributes to the link tag that include the number of the footnote: 1
  10. Continue with steps 1–9 until you have positioned all your footnote numbers

访问 HTML Example of Correctly Formatted Footnotes 完整的例子.

3. 插入脚注

  1. At the bottom of the page, after your main content, insert a heading and style it as “标题2
  2. After the heading, select  the “编号列表” option in the toolbar
  3. Write your footnotes, following standard content and accessibility best practices. After completion of each one, press return to create the next footnote in the sequence.
  4. Once all footnotes have been written, if you are currently in “视觉“视图 in the content editor, select the “文本“视图
  5. Locate the first footnote text. It will surround by list item (
  6. )标签.g.
  7. This is the footnote text
  8. Add an ID attribute to the list item that includes the number of the footnote in the following format:
  9. This is the footnote text
  10. Before the closing tag of the footnote (
  11. ) insert a space and a link tag in this format using the number of the footnote:
  12. After the tag, insert a carriage return 字符 (↵), which you can select from the “特殊字符” option in the toolbar and then close the link tag thus:
  13. Repeat steps 5–8 until all your footnotes have been completed, remembering to advance the number used each time.

访问 HTML Example of Correctly Formatted Footnotes 完整的例子.