# Open url from home page widget in new tab

**URL:** <https://colorlibsupport.com/t/open-url-from-home-page-widget-in-new-tab/30713>\
**Category:** Shapely\
**Created:** [November 12, 2021, 11:23am UTC](https://colorlibsupport.com/t/open-url-from-home-page-widget-in-new-tab/30713 "2021-11-12T11:23:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![colorchris](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/c/90ced4/32.png) [@colorchris](https://colorlibsupport.com/u/colorchris)\
**Post date:** [November 12, 2021, 11:23am UTC](https://colorlibsupport.com/t/open-url-from-home-page-widget-in-new-tab/30713/1 "2021-11-12T11:23:18Z")

</div>

Hi there,  
on the homepage \<v2.a-casaccio.eu\> I want to force the the button \< Das aktuelle Wetter\> “hingehen” to open the desired URL in a new browser tab. It should not replace the content of the homepage. How can I manage this? As far as I see the needed button of the widget can only contain a URL and not any added piece of code such as \< target="\_blank":\> which needs to be added for that behavior to the a href code …

Please note that the site is still under construction

Thnx & best regards  
Chris

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [November 15, 2021, 6:03am UTC](https://colorlibsupport.com/t/open-url-from-home-page-widget-in-new-tab/30713/2 "2021-11-15T06:03:14Z")

</div>

Hi Chris

This will require some JS customization or some plugins like this:

> **[External Links in New Window / New Tab](https://wordpress.org/plugins/open-external-links-in-a-new-window/)**
>
> Open external links in a new window or new tab. SEO optimized and XHTML Strict compliant.

Thanks

---

<div class="post-metadata">

**Author:** ![colorchris](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/c/90ced4/32.png) [@colorchris](https://colorlibsupport.com/u/colorchris)\
**Post date:** [November 15, 2021, 9:15am UTC](https://colorlibsupport.com/t/open-url-from-home-page-widget-in-new-tab/30713/3 "2021-11-15T09:15:29Z")

</div>

thank you so much again Noda,  
this little helper works fine and does what it should: opening the external links in new tabs.

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [November 16, 2021, 6:05am UTC](https://colorlibsupport.com/t/open-url-from-home-page-widget-in-new-tab/30713/4 "2021-11-16T06:05:51Z")

</div>

That’s nice to hear 🙂

Have a good day

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [November 16, 2021, 6:05am UTC](https://colorlibsupport.com/t/open-url-from-home-page-widget-in-new-tab/30713/5 "2021-11-16T06:05:56Z")

</div>

Closed on November 16, 2021, 6:05am UTC


