• Hey,

    I’m using this plugin on my WordPress-Site that I’m building. It works well, except for one thing. When I add a read-more-link to an article it does funky things with it.

    The read-more-link has an anchor built in, like this:

    <a class="more-link" href="http://corvinweber.de/?p=11#more-11">(more…)</a>

    The part after the # seems to be interpreted as a hashtag by the plugin, so that it’s trying to wrap its own link around it.

    When the plugin is activated, I’m getting something like this:

    <a class="hashtag" rel="nofollow" ?s="1%23more-11"" corvinweber.de="" http:="" href="http://corvinweber.de/?p=1 <a href=">1#more-11</a>
    " class="more-link">(more…)

    I’m also worried what might happen, if I need to add anchor-links to an article myself. Is there a trick to solve this?

    Cheers

    http://wordpress.org/plugins/hashbuddy/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author modemlooper

    (@modemlooper)

    Strange, It should only change a hash into a link if a space is in front. I may have to change the way it reads hash tags like using [#]word instead.

    Spent the last hour trying to figure out why my posts and “Read More” links were breaking. Turns out it was an issue with HashBuddy. Deactivated the plugin and everything worked fine again. Shame too, because I’d still love to use it.

    redcore

    (@redcore)

    I just noticed that anytime you add color codes to posts (ie: “color: #000”) it breaks those styles. I agree that using something like “[#]word” would be better and interfere less with plugins that add custom styles to elements.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Read-more-link gets messed up’ is closed to new replies.