• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How do I make the entire featured pages widget div a LINK?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How do I make the entire featured pages widget div a LINK?

This topic is: not resolved

Tagged: Div, Enterprise Pro, genesis, link, widget

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 11 months ago by Genesis Developer.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 11, 2015 at 5:30 am #143996
    nists
    Member

    I'm using the enterprise pro child theme on the genesis framework and I'm trying to get the entire featured page widget div on the homepage to be a link to the page, rather than just the image and title.

    Is this possible to do, and how?

    http://my.studiopress.com/themes/enterprise/#demo-full
    March 12, 2015 at 9:30 am #144191
    nists
    Member

    I think I figured out. In the front-page.php file, I added the divs in before the widget area. I'm not sure if this is the 'correct' way to do it but I can't seem to figure out any other way, so any advice would be appreciated.

    genesis_widget_area( 'home-bottom', array(
    		'before' => '<div class="home-bottom widget-area">
    <a class="one-third mine" href="#">
    <h2>content</h2>
    </a>
    <a class="one-third" href="#">
    <h2>content</h2>
    </a>
    <a class="one-third" href="#">
    <h2>content</h2>
    </a>',
    		'after'  => '</div>',
    March 12, 2015 at 9:56 am #144194
    Genesis Developer
    Member

    Try following javascript:

    <script type="text/javascript">
      jQuery(document).ready(function($){
        $(".featuredpage .entry").click(function(){
          window.location = $(this).find(".entry-title a").attr("href");
        });
      });
    </script>

    Go to Dashboard > Genesis -> Theme Settings. There have header and footer scripts section. Add the above code in textarea of Enter scripts or code you would like output to wp_footer():


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble