612-293-8629 [email protected]

Today I needed to add an anchor link dynamically to every header tag (h1, h2, h3, etc.) in this WordPress site.

I do this, because I like to link directly to header tags in my blogs from time-to-time.

The code was mostly copy-and-pasted from here.  I edited that code to include a FontAwesome link icon with help from here.

And then I wrapped it all up in a tidy plugin for y’all!

Hover here for an example of a H3 with the automatic hover link (on the left!).

Features:

  • Enqueues & loads FontAwesome 4.7.
  • Just turn it on – No settings!
  • Works with Github Updater out of the box!

Download the brand new Auto Header Anchor Links plugin!

Let me know if you have ideas for improvement.

PHONE, EMAIL, TEXT

We love to communicate: phone, email, text, Facebook, Twitter, LinkedIn, you name it.

LOCATIONS

PAYMENTS ACCEPTED

Call Now

Enroll in Our Free Beginner WordPress Class by Email

Never feel powerless in WordPress again!  Become a WordPress superstar for free in only minutes a day!

Our Beginner WordPress Email Class is delivered to your inbox!

Learn More 

You Have Successfully Enrolled! Prepare For Amazing!