WordPress.org

Plugin Reviews

Better Anchor Links

Creates anchor links to heading tags in the content and displays automatically at the top of the content, or allows for custom placement with tags.

2 reviews
Average Rating
4.3 out of 5 stars
You are currently viewing the reviews that provided a rating of 2 stars. Click here to see all reviews.
WordPress deletes the anchors
By , for WP 4.0

This plugin might haveworked great with earlier versions of WP, but currently WP will delete the anchors (id="") every time I toggle visual/text editor or even if I leave the page and come back to edit. I ended up using a plugin that uses shortcodes since WP leaves those alone.

Thanks anyways to the developer for the effort! It's probably not the developer's fault it doesn't work - it's WordPress' fault for being too aggressive with attempts to "clean up" the code.

Breaks html
By , for WP 3.6

Hi Luděk,

I'm sorry to complain since I know you've spent a lot of time and effort working on this.

The problem with this plugin, like so many other plugins, is that it messes up the html and thus breaks validation. HTML output after plugin-activation:

<p>...Paragraph text...<br />
<a name="rubrik"></a><br />
<h3>Rubrik</h3>
<p>...Paragraph text...<br />
<a name="rubrik-2"></a><br />
<h3>Rubrik 2</h3>
<p>...Paragraph text...</p>

Two open paragraphs and a bunch of nasty <br /> tags that adds unwanted whitespace.

Hope you can look into this and fix so that the html validates. It'd also be good if you had a class for the anchor so that you can target the link with css:

<a class="mwm-anchor" name="rubrik"></a>

You must log in to submit a review. You can also log in or register using the form near the top of this page.