WordPress.org

Ready to get started?Download WordPress

Forums

The [a] link (1 post)

  1. jeffct
    Member
    Posted 7 years ago #

    I've noticed that if I use <a href=...></a> with no text or images in between, wordpress counts it as non-empty space, compared to if the same code typed in a regular html page with no wp involved, and wp pretty much considers it as a break line or something like that, which is nasty.

    For example, I'm using the lightbox plugin and rather having multiple images displayed in my portfolio, I want to have only one followed by empty <a> links, and giving each of those links the same rel="lightbox[flowers]". and the extra <a>'s are invisible but unfortunately made "visible" by wordpress.

    Here's how it would look like:
    [a][img][/a]
    [a][/a]
    [a][/a]
    [a][/a]
    text

    =

    img

    text

Topic Closed

This topic has been closed to new replies.

About this Topic