• Hi, I haven’t found any help with this problem. In a wordpress installation I’ve been installing for a client, some links on pages and posts work, some don’t. The CSS is parsed, apparently, as they look correctly, but some work, some don’t. The Markup appears to be correct.

    The weird thing is, the link’s position in the markup determines whether is works or not. Example from a post –


    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum elementum massa ut libero.

    <flv href="[URI]" width="320" height="240" autostart="false" />

    Fusce pharetra nonummy magna? Donec at elit? <a href="[URI]">Integer</a> sollicitudin orci "eu nisi".

    That’s the code in which the link “integer” will work. Now just move the one word to the right in the sentence, and it will stop working – [last paragraph of the above only] –


    Fusce pharetra nonummy magna? Donec at elit? sollicitudin <a href="[URI]">Integer</a> orci "eu nisi".

    The markup still is fine, the source code looks correct (to me) but the link will not work, whatsoever. But copy and past the code and put it above the magic hidden cut-off point for link functionality, and it will work.

    I should mention that the problem is not related tot he flv code above, it still occurs if the code is not in the post.

    Strangely, the “links not working problem appeared before, but not in such a consistent and reproducable manner. The Comment pop-up link did not work until after being reinserted into the template – same code, same postion in template. Did not work before saving, worked thereafter.

    I have disabled all formatting options available from the editor, but WP still converts, say, speechmarks into typgraphically correct ones, but I think I have excluded the possibility of some misplaced speechmark.

    So, I’m really at a loss here – this is an error that’s not supposed to happen, and yet it occurs consistently, both in FF and IE7b3.

    I’m grateful for any help!!!

    YMS

Viewing 5 replies - 1 through 5 (of 5 total)
  • Very weird. Any chance you have a link to share?

    It sounds similar to this thread that turned up a “unexpected feature” using Opera with some CSS changes.

    Thread Starter youngmicroserf

    (@youngmicroserf)

    Sure HandySolo,

    the URL is http://www.df-partner.de/aktion/

    I should mention that the page validates correctly
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.df-partner.de%2Faktion%2F

    Another thing, possibly related – apparrently, the ‘convert line breaks’ feature in WP doesn’t generate valid XHTML… in conjuntion with other tags. My client had changed some formatting for two consecutive, but separate lines, enclosing them jointly in <em> tags, not each line individually, and the validator complained.

    # Error Line 209 column 35: end tag for "em" omitted, but OMITTAG NO was specified.

    <em>Welche könnten das sein?

    <You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    # Info Line 209 column 3: start tag was here.

    <em>Welche könnten das sein?

    # Error Line 210 column 114: end tag for element "em" which is not open.

    ... seinen ersten Arbeitstag angehen? </em>

    I had to change the markup manually to

    <em>Welche könnten das sein?</em>

    <em>... seinen ersten Arbeitstag angehen?</em>

    so it would validate.

    Still, as the link problem is occurring in the valid version, I doubt there’s any connection.

    Thanks again, for any help!

    YMS

    Thread Starter youngmicroserf

    (@youngmicroserf)

    OK, another update – but before, let me explain something about the installation at http://www.df-partner.de – it’s using WP as a CMS with primary navigation mostly linking to individual pages that have a number of divs in the post which are then displayed or hidden by JS. Some of the secondary navigation elements also include blogs – that is categories, like the one I linked to above:

    The category template for “www.df-partner.de/aktion/” is supposed to display only the latest post, which it does, and which, apparently, causes the problem. Ss you can see on the pages http://www.df-partner.de/blog/ and http://www.df-partner.de/stoff/, the comment link in the oldest entry for each category is not active while the other one is. That said, allowing the category template for the catgory http://www.df-partner.de/aktion/ to display two entries instead of just one entry will cause the non-working link I mentioned in the posts above to work. I took the code from the post, copied it into another one, so I had two identical posts on the page, the top one had a working link, the bottom one an inactive one.

    I have no explanation whatsoever. We’ll work around the issue for the moment, but this is obviously a very problematic effect.

    I’d be truly grateful for any help in solving the issue at hand.

    Thanks in advance,

    YMS

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    That is weird, man.

    This is going to sound strange, but try taking out the stuhl div and see what happens. I’m thinking that it’s blocking the link somehow, since it also appears to interfere with selecting the text around that stuff too.

    If that turns out to fix it, then try changing things with the stuhl in the CSS and see if you can make it not interfere as badly. I’d look closer at the Z-index and try different values with it there. Either that, or I’d float the div where you wanted it, instead of using the current tricky method of positioning it.

    Thread Starter youngmicroserf

    (@youngmicroserf)

    Otto42, you’re right! Thanks man, that solved it, I changed the div. Transparency can be a tricky issue at times… so hard to see…

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Weird! – Some links not working’ is closed to new replies.