Add Anchor Links (WordPress Plugin)

plugin version build

Creates anchor links to heading tags in the content of selected posts, just like Github does within the Readme.md files.

Unreleased changes

  • none

Roadmap

  • Add ID directly to headline
  • Use less code for link added

Developer features

Run the add_links manually

echo \Kybernaut\AddAnchorLinks::add_links('<h1>Title</h1>');

Don't load CSS if not needed

define('ADD_ANCHOR_LINKS_DONT_LOAD_CSS', true);

Credits