CM Footnotes (CMF) - Getting Started - Simple Footnotes


Back to the guides

Footnote Types

Classic / Global Footnote | Simple / Local Footnote

The Simple Footnotes are the completely new way of adding and displaying the footnotes in the CM Footnotes Pro we have added by popular demand.
To satisfy both the customers who are currently happy with the plugin and the ones seeking simpler way of adding the footnotes, we've decided that both functionalities can work simultaneously.

The main differences between the Simple Footnotes functionality and the "old" way of adding them is simplicity:

  • There's no complex parsing involved - you just need to put the shortcode where you want the link to appear
  • Only local footnotes - each post/page can have a set of it's own unique set of footnotes with definitions
  • Simple view - the definitions are displayed in the simplest possible way, as close to their real life equivalent

Simple Footnotes - Link

To add a footnote link you just need to put the shortcode anywhere you want in the page content.

Shortcode:  [cm_simple_footnote id="X"]

The shortcode takes just one parameter - id. The value of the parameter can be any character, or set of characters.
So for example you can add shortcodes like:

  • [cm_simple_footnote id="1"]
  • [cm_simple_footnote id="a"]
  • [cm_simple_footnote id="&"]
  • [cm_simple_footnote id="a1"]
  • [cm_simple_footnote id="cite"]

The parameter has two purposes:

  1. It identifies the footnote - so you can easily match the link and the definition
  2. It's the label for the link - so it's up to administrator how the link will appear on the front-end

Below: The footnote link will appear in place of the [cm_simple_footnote id="1"] shortcode.

Simple Footnotes - Definition

The second part of each Simple Footnote is the definition.

Definitions can be added/edited/removed from the new metabox appearing in the middle column under the content.
Each definition row consists of the ID field and the Definition field.

  • ID Field - this field should match the id you've passed to the shortcode, so if you have a [cm_simple_footnote id="a1"] shortcode, you need to put a1 in this field.
  • Definition field - this field should contain the defnition/explanation, which the link created by the shortcode will link to.

Below: The metabox contains the simple explanation of the functionality, the set of rows allowing to add/edit/remove the definitions and the button allowing to create new rows.

Simple Footnotes - Link

On the front-end when the content is prepared to display the shortcodes are each checked for matching definitions (using the id parameter).
Each shortcode which has the definition saved in the metabox will be changed to a link.

IMPORTANT: Shortcodes which DO NOT have the definition with matching shortcode id will be removed without trace.

Below: The red arrows shows how the links to the footnote looks.

Simple Footnotes - Definition

If at least one of the shortcodes in the text matches the definition it will be displayed under the content of the post/page in simple book-like form.

IMPORTANT: Definitions without matching shortcodes will not be displayed. So it's impossible to display a definition without any link pointing to it.

Below: The definitions of the two footnotes displayed under the post content.

Simple Footnotes - Removal

To remove a simple footnote, simply click on the X icon near it, as shown

More information about the CM Footnotes WordPress  Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center