WordPress.org

Support

Support » Plugins and Hacks » BlogText » Do not open in new window links for the same site

Do not open in new window links for the same site

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

    @manski

    What kind of links? Can you give an example?

    What kind of links? Can you give an example?

    When I have to make the link to page http://www.example.com/some-page1/ on page http://www.example.com/some-page2/ I put this code in editor:
    [[http://www.example.com/some-page1/|link to the article]]

    And blogtext generates this code:
    <a class="external external-http" href="http://www.example.com/some-page1/" target="_blank">link to the article</a>

    It is external link, in new blank window. But I want to open links to pages on same website in the same window. It is possible?

    Currently BlogText isn’t “smart” enough to figure out whether a full URL is internal or external. (It assumes a full URL is always external.)

    So, why do you want to specify the full URL in the first place? Does [[some-page1|link to the article]] not work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Do not open in new window links for the same site’ is closed to new replies.
Skip to toolbar