[Plugin: Auto Anchor List] decent start, but needs work
-
Saving settings only sort-of works. the checkbox settings implement, but the checks themselves all disappear, so when changing settings, you have to reapply all your checks. There needs to be a way to choose which posts/pages, etc. should utilize this, because I cant think if a single reason why a blog would want a table of contents for ever post or every page that contains header tags. I hacked it for my purposes by changing
preg_match_all('#<h([1-6])>(.+?)</h\1>#is',$content, $matches, PREG_SET_ORDER);
to
preg_match_all('#<h([6])>(.+?)</h\1>#is',$content, $matches, PREG_SET_ORDER);
so it would only implement when h6’s are present (which I never use anyway). Then I just re-styled the h6’s. Not the best hack for SEO, but the the only thing I could do.
- The topic ‘[Plugin: Auto Anchor List] decent start, but needs work’ is closed to new replies.