• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Open Genesis Featured Posts Widget Links In New Window

This solution enables you to target a specific widget so all links generated by that widget, open in a new window. In this case, the code only applies to the genesis featured posts widget so both the entry title and featured image links open in a new window. All other links on the site open in the same window or however they are coded by default.

You can use this code with other widgets simply by changing the classes in the code to match the links in your widget or any other links you want to target and make open in a new tab.

Here’s the code for logged in members:

Register for full access

Related Tutorials

  • Genesis Featured Page Widget – Open Links In A New Window

Genesis Featured Posts

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags