Nav Social Menu

    • Facebook
    • Instagram
    • Pinterest
    • Twitter

Riot Customs

Genesis WordPress Development, Maintenance & Support

  • About
  • Services
    • Custom Theme
    • Collaborations
    • WordPress Support
  • Themes
  • Home
  • Courses
  • Blog
  • Contact

Creating New Widget Areas

Written by Katrina

337 shares
  • Facebook331
  • Twitter
  • LinkedIn
  • Tumblr
  • Buffer
  • Email


What are widgets?
WordPress Widgets add content and features to your Sidebars. Examples are the default widgets that come with WordPress; for Categories, Tag cloud, Search, etc. Plugins will often add their own widgets.

Widgets were originally designed to provide a simple and easy-to-use way of giving design and structure control of the WordPress Theme to the user, which is now available on properly “widgetized” WordPress Themes to include the header, footer, and elsewhere in the WordPress design and structure. Widgets require no code experience or expertise.


How do I use widgets?
They can be added, removed, and rearranged on the Theme Customizer or Appearance > Widgets via the Dashboard.
You can do this two ways…


How do I register my own widget area?
This requires some PHP code that you would need to add in your functions.php file.


//* Register widget areas
genesis_register_sidebar( 
    array(
	'id'          => 'new-area',
	'name'        => __( 'New Area', 'child-theme' ),
	'description' => __( 'This is new widget area.', 'child-theme' ),
) );

Congratulations you just registered a new widget area. Now in order to use this on the site, we need to add a hook.
What is a hook?
A hook is your sites structural map, think of it as a guide. This is used on all WordPress sites. However, Genesis has added some additional and unique areas to use.


 Visual Hook Guide


Let’s add a widget area to the very top of the site. In this example, we’re going to use genesis_before_headerand before_header as our hooks as per the visual guide.

Now let’s add some css to that


/* Before Header
--------------------------------------------- */
 .before-header {
 	background-color: #f5f5f5;
	padding-bottom: 20px;
	padding-top: 20px;
}

.before-header img,
.before-header iframe {
	display: block;
	margin: 0 auto;
	text-align: center;
}

337 shares
  • Facebook331
  • Twitter
  • LinkedIn
  • Tumblr
  • Buffer
  • Email

GenesisWP, Tutorials Leave a Comment

Get Simply Noted for Free!

This is a free theme we’ve built for the Genesis Framework. It will help your reader focus on the very content you create on your site. This is a clean, simple theme to showcase your writing or photography skills.

Previous Post: « Genesis Settings Explained
Next Post: The Difference Between Page and Post »

Reader Interactions

Share Your Thoughts
Cancel reply

Your email address will not be published. Required fields are marked *

I accept the Privacy Policy

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Simply Noted Theme


Simply Noted

A simple theme for the genesis framework. A great theme for writing out your thoughts. Grab this free theme today!

Download Theme!

Categories

  • Blogging
  • Business
  • Client Work
  • ConvertKit
  • Freebie
  • GenesisWP
  • Interact
  • Personal
  • Theme Releases
  • Theme Updates
  • Tools & Software
  • Tutorials
  • Web Design
  • WordPress

Master ConvertKit

A kick ass tech course on using the ConvertKit software. Want to start growing your list with the best email marketing software out there? What are you waiting for? Grab this course now!

Enroll Now!

Popular Post

change domains dns

How To Change Your Domains DNS

4 Steps to DIY Your Way to A Professional Looking Website

About Lead Your Page + Giveaway

How to Use the Landing Page Template

Footer

Dev Info

  • How it Works
  • Trusted Partners
  • Client Portal

Explore

  • Portfolio
  • Resources

Product Support

  • Theme Documentation
  • Submit A Ticket
  • Support Policy

Grab my secrets on how I manage a WordPress site.

Although it hasn't been busy on this here feed. It Although it hasn't been busy on this here feed. It's been busy in the actual business. 
⠀⠀⠀⠀⠀⠀⠀⠀⠀
In Q1 we launched 2 sites, migrated 7 accounts to ConvertKit, and added 1 business to Genesis Tuneup. 
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Tell me about your Q1 wins and what you look forward to in Q2?
Spring is almost here and I can’t wait to share Spring is almost here and I can’t wait to share all the amazing things my clients have been up to this winter.
Oh hi there 👋🏾​​​​​​​​

We’re still here just not as active in the winter months. That’s the thing about running a business while disabled. Prioritizing were your energy goes during the painful months.  Clearly my energy isn’t for social media. 

See you in spring and Laissez les bons temps rouler.
Merry Christmas to you all!⠀⠀⠀⠀⠀⠀⠀⠀⠀
I hope it's full of good in whatever form that may be.
Back in the office after my birthday celebration. Back in the office after my birthday celebration. 
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Q4 is going to be a straight banger, so many exciting new things I can’t wait to share with you. 
⠀⠀⠀⠀⠀⠀⠀⠀⠀
What are you working on?
Have you ever wanted to hire a developer to help y Have you ever wanted to hire a developer to help you with your site but for tweaks and integrations?⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
VIP Days are back! ⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Sometimes you don't need a full development package for a custom theme. Because there's a good chance you already have a website but need to make some changes to it Sometimes you need to simplify your site to work better or install an improved theme. Got a plugin that's wracking yours or a client's site. I can help you find a better solution to that problem. Or you're just ready to implement a funnel, workflow, etc to get that passive income coming in.⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
DeCoded can help you do just that. Here's how it works...⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Pick Your Date​ 🗓⠀⠀⠀⠀⠀⠀⠀⠀⠀
We're available on select Monday mornings PST.⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Morning Coffee​ ☕️⠀⠀⠀⠀⠀⠀⠀⠀⠀
We sit over a cup of coffee and break down what we're working on for the day.⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
8 Hours of Development​ 👩🏾‍💻⠀⠀⠀⠀⠀⠀⠀⠀⠀
I'll spend the rest of the day working on your development task.⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Email Support​ ✉️⠀⠀⠀⠀⠀⠀⠀⠀⠀
You'll receive a whole week of support via email after everything is in place.⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Book today! Link in Profile

Copyright 2009 - © 2022 · Riot Customs LLC · Privacy Policy · Terms of Service
Riot Customs LLC has no offical affiliation with StudioPress
Return to top of page