Config
in package
Class defining plugin constants.
This class contains no methods of properties.
Tags
Table of Contents
- LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">♥</span>'
- HTML element for the ‘love’ symbol.
- LOVE_SYMBOL_HEADING = '<span class="footnotes_heart_heading">♥</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;">♥</span>'
Tags
LOVE_SYMBOL_HEADING
HTML element for the ‘love’ symbol used in dashboard heading
public
string
LOVE_SYMBOL_HEADING
= '<span class="footnotes_heart_heading">♥</span>'
Tags
NO_LOVE_SLUG
Shortcode to NOT display the ‘LOVE ME’ slug on certain pages.
public
string
NO_LOVE_SLUG
= '[[no footnotes: love]]'
Tags
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
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>'