A toolbox for WordPress

An AMP compatible toolbox to help complete WordPress. Core features include:

To date, the A.N.R.GHG Publishing Toolkit can:

Security

  • Protect WordPress websites against password leak effectiveness, by hampering the login process depending on the value of a constant defined in a mini-plugin (editable on the hosting platform);
  • Make that constant configurable so that in multisite networks, individual sites may be toggled independently;
  • Extend authentication cookie lifespans to a configurable period of time, for example until the day after the next scheduled login rush;
  • Blank the login dialog out if it is convenient to access the WordPress Admin area through the hosting platform exclusively.

Thank You message

  • Display a configurable message after posts and/or pages;
  • Help with activating and configuring the message on a per-page basis in the Post Meta box;
  • Make available a set of rich text messages configured in the Template editor;
  • Provide a block to configure an unlimited number of messages right in the post or page.

Date information

  • Display the last modified date at post/page start or end;
  • Display the published date at the start or end of pages where WordPress does not display it natively;
  • Optionally add a freely configurable field about where the post was first published;
  • Add date meta tags (may be useful if not already added by an SEO plugin).

Paragraph links

  • Add a fragment identifier in a configurable link prepended to every paragraph and list item;
  • Use position independent identifiers derived from the content;
  • Use the custom ‘HTML anchor’ for all paragraphs that it has been configured for, further improving identifier stability;
  • Keep the identifiers fully localized also when using a non-Latin script, for legible display in the URL bar.

Heading links

  • Add localized and optionally stable fragment identifiers and hyperlinks to headings.

Table of contents

  • Number the headings by CSS in appended or prepended position with a backlink to the table of contents;
  • Replace the appended number with a generic arrow if numbers are not desired next to headings;
  • List the headings in a table of contents, that the heading numbers link back to;
  • Optionally collapse and expand the table of contents from the label, also when JavaScript is off;
  • Insert a table of contents automatically in all posts with a configurable minimum number of headings;
  • Deactivate the table of contents for a particular post or page in the added Meta box;
  • Add a table of contents if the Table of contents block is present;
  • Use a configurable string as an alternative positioner in the Classic Editor to override the configured default position;
  • Configure its label for all posts in the settings, and for a particular post in the Post Meta box or in the block, or by adding an argument in the code;

Notes and sources

  • Parse inline notes and sources and display them either as descriptive endnotes or as bibliographic endnotes depending on their delimiters;
  • Process sources nested in notes;
  • Show notes and sources in responsive, adaptative and configurable rich tooltips when hovering their inline anchor;
  • Support six numbering systems including Eastern Arabic digits to help distinguish notes from sources;
  • Register notes and sources on the fly for reuse across a post or page;
  • Store notes and sources as templates for reuse across the website;
  • Display additional text around reused notes and sources;
  • Handle multiple notes and/or sources reused in a single instance;
  • Parse the notes and sources delimiters as freely configured also using non-Latin script or punctuation only;
  • Support switching complement delimiters midway, parsing older posts for the previous ones while the current ones are processed in posts from a configurable ID on;
  • Save the current delimiters with each post, so that delimiters may be reconfigured at any time and are valid in new posts;
  • Parse post-specific sets of delimiters configured in the Post Meta box;
  • Display complements in a number of columns (up to three) configurable for notes and sources separately, and responsively with respect to mobiles;
  • List complements section-wise at each instance of the block in the Block Editor, or alternatively, of a configurable positioner code in the Classic Editor;
  • Defer complement lists to the footer of a particular post, or do so for all posts unless specified otherwise;
  • Post-process the web page to move complement lists from the built-in WordPress default position below the footer to within the footer;
  • Specify the writing direction in complement lists and anchor tooltips for notes and for sources separately on a per-post basis in the added Post Meta box, or per instance in the block (Block Editor) or the positioner code (Classic Editor);
  • Display a complement in a new tab or window using its URL even when lists are collapsed by default;
  • Keep complement lists collapsed except for the target item after clicking an anchor, so as to not distract from the other features and information;
  • Optionally expand the full list on clicking any anchor as it is useful for ibid notation;
  • Combine identical complements to a single item, and enumerate the related anchors in a tooltip shown on hovering its number in the list;
  • Display a warning if an opening delimiter is unbalanced, quoting the context for easy location.

Reference lists

  • Display lists of references in the post or page;
  • Optionally make them collapsible, and display them collapsed or expanded at page load;
  • Help with configuring reference lists in the ‘Reference list’ block with settings for label, display and writing direction.

Helping features

  • Automatically back up templates and settings both at accessing and saving these pages;
  • Export and import templates, settings, and freely defined options;
  • Add a configurable Post Meta box for a more fine-grained configuration of various features;
  • Provide 4 Gutenberg blocks to help with configuring messages, reference lists, note and source lists, and the table of contents;
  • Help with editing and storing templates that can be used as messages, as notes and as sources, and in reference lists;
  • Add optional Admin submenu or menu items and provide an internal header menu;
  • Display settings in a single, fully searchable page with three levels of verbosity;
  • Help with configuring the rules used to generate fragment identifiers, and optionally slugs, allowing for uppercase like on Quora, custom conversions, configurable maximum length;
  • Deactivate the default character conversions so that ASCII quotation marks stay as-is also outside code areas;
  • Activate rich-text term descriptions for category pages and taxonomies;
  • Integrate with Elementor and Advanced Custom Fields;
  • Use a configurable scroll offset and optional CSS smooth scrolling;
  • Mitigate the effect on excerpt generation of not using shortcodes, but versatile and internationalized delimiters instead;
  • Add the post slug as a class to the body element to ease customizing the aspect of specific pages.

Planned features

  • A format converter for Markdown ➔ WordPress;
  • A converter for .docx files;
  • An accessible emoji feature.

Concept

The A.N.R.GHG Publishing Toolkit aims to be one more Swiss Army knife to help complete any WordPress installation while reducing greenhouse gas emissions in multiple ways:

Beyond being fully AMP compatible, the A.N.R.GHG Publishing Toolkit’s features for the public pages stay functional where JavaScript is turned off, with one limitation: Expanding the table of contents from a heading backlink requires one click more.

Thank you for reading!
Last updated:
Published: