Documentation

Config
in package

Class defining plugin constants.

This class contains no methods of properties.

Tags
since
1.5.0
since
2.8.0

Renamed class from Footnotes_Config to Config. Moved under footnotes\includes namespace.

todo

Remove.

deprecated

Table of Contents

LOVE_SYMBOL  = '<span style="color:#ff6d3b; font-weight:bold;">&hearts;</span>'
HTML element for the ‘love’ symbol.
LOVE_SYMBOL_HEADING  = '<span class="footnotes_heart_heading">&hearts;</span>'
HTML element for the ‘love’ symbol used in dashboard heading
NO_LOVE_SLUG  = '[[no footnotes: love]]'
Shortcode to NOT display the ‘LOVE ME’ slug on certain pages.
PLUGIN_HEADING_NAME  = '<span class="footnotes_logo_heading footnotes_logo_part1_heading">foot</span><span class="footnotes_logo_heading footnotes_logo_part2_heading">notes</span>'
Public plugin name for use as a dashboard heading.
PLUGIN_PUBLIC_NAME  = '<span class="footnotes_logo footnotes_logo_part1">foot</span><span class="footnotes_logo footnotes_logo_part2">notes</span>'
Public plugin name.

Constants

LOVE_SYMBOL

HTML element for the ‘love’ symbol.

public string LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">&hearts;</span>'
Tags
since
1.5.0
todo

Remove.

deprecated

LOVE_SYMBOL_HEADING

HTML element for the ‘love’ symbol used in dashboard heading

public string LOVE_SYMBOL_HEADING = '<span class="footnotes_heart_heading">&hearts;</span>'
Tags
since
2.0.4
todo

Remove.

deprecated

NO_LOVE_SLUG

Shortcode to NOT display the ‘LOVE ME’ slug on certain pages.

public string NO_LOVE_SLUG = '[[no footnotes: love]]'
Tags
since
1.5.0
todo

Remove.

deprecated

PLUGIN_HEADING_NAME

Public plugin name for use as a dashboard heading.

public string PLUGIN_HEADING_NAME = '<span class="footnotes_logo_heading footnotes_logo_part1_heading">foot</span><span class="footnotes_logo_heading footnotes_logo_part2_heading">notes</span>'

After properly displaying in dashboard headings until WPv5.4, the above started in WP 5.5 being torn apart as if the headline was text-align:justify and not the last line. That ugly display bug badly affected the plugin's communication. The only working solution found so far is using position:fixed in one heading that isn't translated, and dropping the logo in another, translatable heading.

Tags
since
2.0.4
todo

Remove.

deprecated

PLUGIN_PUBLIC_NAME

Public plugin name.

public string PLUGIN_PUBLIC_NAME = '<span class="footnotes_logo footnotes_logo_part1">foot</span><span class="footnotes_logo footnotes_logo_part2">notes</span>'
Tags
since
1.5.0
todo

Remove.

deprecated

Search results