Hi Alan,
This is the first I’ve heard of this issue. Could you provide a screenshot of the issue and of the source code generated by the plugin? That’d be a great help towards resolving this. 🙂
If you don’t have a screenshot service, http://awesomescreenshot.com/ works well. 🙂
Thanks and regards,
Matty.
Hi Matty,
Here are three screen captures to illustrate this issue:
Image #1 – There is a single red hyphen just before each H2 tag. The hyphen is a link, but it is inactive: clicking on it does nothing. It is red because because of my CSS code for links.
Image #2 – These are my Section Index settings.
Image #3 – Here is the same section of my website (PhotoCitizen.com) with Section Index deactivated.
The HTML for the two anchors shown each contain class=”sectionindex” as part of the a tag.
Except for this issue, the plugin seems useful, so any help is appreciated.
Alan
PhotoCitizen.com
Hello Matty,
I just reactivated my WP Section Index plugin again today. It is still showing visible anchors as in my previous post. Do you have any further ideas on how to fix this?
I’ll leave it enabled for a few days – even with the visible anchors – so you can see what’s happening. I really like the plugin except for this one issue.
Thanks,
Alan
PhotoCitizen.com
Hello again,
I fixed this problem for you. It turns out that you had inserted a non-breaking space just before the closing link tags </a>. It was that non-breaking space which was visible. Since my CSS causes links to be colored red and underlined, I was seeing that space as a single red underline.
THE FIX
Using the WordPress plugins editor, I edited the file, “wp-section-index/classes/wp_sectionindex.class.php” to remove all instances of and comment out the line where you cleaned up the code since that was no longer necessary.
I simply searched for and, for every instance found, I deleted just that one space. For the cleanup code, I could have just deleted the line, but I decided to comment // it out instead.
PERMANENT FIX
Not sure why the was inserted in the first place, but removing it did not break the plugin: it works better now for me. In a future version, you might try omitting it so no one else has this problem.
Thanks again for the excellent plugin.
Alan
PhotoCitizen.com
Hi Alan,
Thanks for your feedback on this.
I’m looking at revamping WP Section Index in a V2, when I have a moment, and will keep this thread in mind for V2 and any possible V1.x updates. 🙂
Thanks and regards,
Matty.