Ready to get started?Download WordPress


target=\"_blank\" ? (6 posts)

  1. Alex3305
    Posted 9 years ago #

    Hi I am testing WordPress right now, but I found one thing that really annoys me !
    I want every link (in the links section and in posts) to do:
    target="_blank", but I dont want to type it in myself so I want it to do automatic.
    Is this possible ?
    - Alex3305 -

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Yup :)
    Open ALL links in a new window.
    Put this inside the <head> section:
    <base target="_blank" />
    More reading here:

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Ignore the \

  4. Alex3305
    Posted 9 years ago #

    but now the comments also opens in a new window, what isnt really what i meant. I want to put the comments in the same window like:
    Intern links in the same window
    Extern links in another window (blank)
    If you get what i mean ?

  5. Kafkaesqui

    Posted 9 years ago #

    I created a little plugin which may help here (in that you won't have to rewrite the WordPress source to get what you want):

  6. Alex3305
    Posted 9 years ago #

    But what function do i have to use it with the main blog thingy ?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.