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

The Cre8tive Diva - WordPress Developer

Digital Nomad | Helping WordPress & Genesis Framework Website Owners All Over the World

  • Home
  • About
    • Accessibility Statement
    • Terms of Service & Privacy
  • Services
    • Blogger to WordPress Migration
    • Buddypress Installation
  • My Work
  • Blog
    • Tutorials
    • Five on Friday
    • Genesis Framework
    • Tipsy Tuesday
    • WordPress
  • Contact
Home » Add a Sales Banner Widget Area to Your WooCommerce Shop Using Genesis

Add a Sales Banner Widget Area to Your WooCommerce Shop Using Genesis

A few nights ago I was in one of the developer groups and a member asked me if I could assist them with adding a widget area on the Shop pages of a WooCommerce project.

2016-07-12_16-22-14

Below is the code and instructions on how I did that.

If you are unfamiliar with working with your theme files, stop and ask for help. If you are familiar with modifying your theme files – you should back them up before proceeding.

Please note the location/position I have used is below the Primary Nav (or Secondary Nav depending on your theme). If you want to move it to a different location, check out the Genesis Visual Hook guide.

To Add a Widget Area on All Shop Pages

If you would like to add one widget area to display on All Shop Pages, click “View Raw” in the bottom right of the code box below. Then copy/paste the following code into your functions.php file. Make sure you hit “Enter” to begin a new line.

https://gist.github.com/cre8tivediva/40fa81a6a266327bc748257e598edace#file-functions-php

To Add a Widget Area on Product Categories Only

If you would like to add one widget area to display on Product Categories Only, click “View Raw” in the bottom right of the code box below. Then copy/paste the following code into your functions.php file. Make sure you hit “Enter” to begin a new line.

https://gist.github.com/cre8tivediva/40fa81a6a266327bc748257e598edace#file-functions2-php

You can also add the widget area to single products, a specific category, a combination of categories or by using one of the other WooCommerce Conditional Tags.

You can see how it looks on all Shop pages here on the demo.

 

  • Like my Signature? Get the Signature Widget for Genesis right here!

  • FacebookTweetPinPrintShares9

    Filed Under: Genesis Framework, Tutorials, WooCommerce Tagged With: customization, ecommerce, how-to, online stores, shop

    Primary Sidebar

    It's just me and my dog Bella. I am a freelance web developer at Cre8tiveDiva.com. I build websites using WordPress and the Genesis Framework, WooCommerce and provide troubleshooting and support. I also build with Shopify. I love chocolate, lots of coffee!

    Sign Me Up!

    Receive my blog posts, tips and updates delivered to your inbox!

    Yes, Sign Me Up

    *By signing up you will receive new blogs, updates on products, services and important alerts.

    Categories

    • Design
    • eCommerce
    • Five on Friday
    • Fonts
    • Free Themes
    • Freebie Friday
    • Genesis Framework
    • Genesis Plugins
    • Genesis Themes
    • Genesis Untapped
    • Instagram
    • MailChimp
    • News
    • Plugins
    • Press This News
    • Social Media
    • Tipsy Tuesday
    • Troubleshooting
    • Tutorials
    • Uncategorized
    • Web Development
    • WooCommerce
    • WordPress
    • WordPress Plugins

    Footer

    Digital Nomad! I can be anywhere I wanna be now.

    Latest Blog Posts

    • Temporary Fix When Using Genesis Blocks Posts and Page Grid with Genesis Simple Share
    • How to Add Reading Time to a WordPress Genesis Child Theme Without a Plugin
    • How to Add “Shop” to WooCommerce Breadcrumbs when Using Yoast

    Looking for Something?

    Copyright © 2012–2023 · Designed with by Me! · Hosted on SiteGround