WordPress.org

Forums

BlogText
Do not open in new window links for the same site (4 posts)

  1. rudomilov
    Member
    Posted 2 years ago #

    I am consufed, BlogText opens links for the same domain in new window.

    This is a bug or feature?

    http://wordpress.org/extend/plugins/blogtext/

  2. Sebastian Krysmanski
    Member
    Plugin Author

    Posted 2 years ago #

    What kind of links? Can you give an example?

  3. rudomilov
    Member
    Posted 2 years ago #

    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?

  4. Sebastian Krysmanski
    Member
    Plugin Author

    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BlogText
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.