Footnotes_Config
Class defining plugin constants.
This class contains no methods of properties.
Tags
Table of Contents
- C_STR_LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">♥</span>'
- HTML element for the ‘love’ symbol.
- C_STR_LOVE_SYMBOL_HEADING = '<span class="footnotes_heart_heading">♥</span>'
- HTML element for the ‘love’ symbol used in dashboard heading
- C_STR_NO_LOVE_SLUG = '[[no footnotes: love]]'
- Shortcode to NOT display the ‘LOVE ME’ slug on certain pages.
- C_STR_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.
- C_STR_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
C_STR_LOVE_SYMBOL
HTML element for the ‘love’ symbol.
public
string
C_STR_LOVE_SYMBOL
= '<span style="color:#ff6d3b; font-weight:bold;">♥</span>'
Tags
C_STR_LOVE_SYMBOL_HEADING
HTML element for the ‘love’ symbol used in dashboard heading
public
string
C_STR_LOVE_SYMBOL_HEADING
= '<span class="footnotes_heart_heading">♥</span>'
Tags
C_STR_NO_LOVE_SLUG
Shortcode to NOT display the ‘LOVE ME’ slug on certain pages.
public
string
C_STR_NO_LOVE_SLUG
= '[[no footnotes: love]]'
Tags
C_STR_PLUGIN_HEADING_NAME
Public plugin name for use as a dashboard heading.
public
string
C_STR_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
C_STR_PLUGIN_PUBLIC_NAME
Public plugin name.
public
string
C_STR_PLUGIN_PUBLIC_NAME
= '<span class="footnotes_logo footnotes_logo_part1">foot</span><span class="footnotes_logo footnotes_logo_part2">notes</span>'