WordPress.org

Ready to get started?Download WordPress

Forums

Enhanced Text Widget
HTML won't open in new window (2 posts)

  1. patrick.schley
    Member
    Posted 1 year ago #

    Novice to this so please forgive any errors or misunderstanding. Here is our website: http://www.stoneharbor-resort.com. I'm using Enhanced Text Widget. I have a link in the default sidebar (the very bottom right side) that I wrote like this in the content box:

    Trying to keep up with Door County? It's not easy. Use this tool to search by date, category or keyword to find out what's going on during your next vacation in Door County.

    <a href="http://www.doorcounty.com/events">Full Details</a><div class="clearfloat"></div>

    I added the link in the URL: http://www.doorcounty.com/events and gave it a title: Click Here for Door County Calendar of Events.

    The widget shows as I would like, but when you click the "Full Details" button, http://www.doorcounty.com/events the link will not show up in a new window. If I click the title: click here for Door Count Events, it will open in a new window. I tried selecting the option to open in a new window but there is no change. I have tried to add in " target="_blank"> but that didn't work either.

    I saw on WordPress Form to add "Open External Links in a New Window" plugin. I have not tried that. How does that work? Is that a replacement for this widget or does it work with it? How do I use it? Any ideas?

    http://wordpress.org/extend/plugins/enhanced-text-widget/

  2. bostondv
    Member
    Plugin Author

    Posted 1 year ago #

    The "open URL in new window" option in the plugin will only affect the Title's link.

    To open the link you put in the content you'll need to add the target to the link as you mentioned like this:

    <a href="http://www.doorcounty.com/events" target="_blank">Full Details</a>

    If that doesn't work there must be another conflicting issue with your theme or plugins installed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic