How to Make Money With the Genesis Box

If you’re an online blogger, web designer/developer, or website owner looking to generate income then you need to sign up for the StudioPress affiliate program.

I mean right now… seriously, I’ll wait for you to come back.

And as promised, I’m going to reveal the tricks of my trade by teaching you today how you can make money by adding a Genesis Box to your site.

Why You Should Become an Affiliate

You might wonder why you should promote the Genesis Framework.

Well how about a 35% commission on all sales? Yes, this means if you refer a person to our website who purchases the Pro Plus All-Theme package you will earn more than a hundred bucks – $105.00 to be exact.

Our top affiliate has made over $100,000 so you can be assured that the conversion rate on generating sales by promoting our WordPress themes is sky high.

How to Add the Genesis Box to Your Site

Let’s jump right in and assume you have been accepted into our affiliate program. Keep in mind the code below is taken directly from my personal theme, so you might need to do a little customization to match your site’s design.

1. Create the Genesis Box Content

The first step is create a file called genesis-box.php, place the code below into it, and then upload it into your child theme’s folder. Feel free to modify the text.

<div id="genesis-box">
    <h3>Powered by the Genesis Framework</h3>
    <a href="http://www.studiopress.com/"><img class="alignright" src="http://www.briangardner.com/wp-content/uploads/genesis.jpg" alt="Genesis Framework" title="Genesis Framework" /></a>
    <p>Genesis empowers you to easily build amazing websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to incredible places.</p>
    <p><a href="http://www.studiopress.com/">It's that simple - start using Genesis now!</a></p>
</div>

Click here for a Genesis Box image. Please save the image and host it yourself.

2. Include the Genesis Box on Single Posts

Next you want to hook the content of the genesis-box.php file below your posts. Open up your child theme’s functions.php file and place the following code into it:

/** Add Genesis Box on Single Posts */
add_action( 'genesis_after_post_content', 'include_genesis_box', 11 );
function include_genesis_box() {
    if ( is_single() )
    require( CHILD_DIR.'/genesis-box.php' );
}

3. Style the Genesis Box to Match Your Site

Lastly, you may want to style the Genesis Box to match the look of your site. Below is sample CSS that can be used – be sure to add it to your child theme’s style.css file:

/* Genesis Box
------------------------------------------------------------ */
 
#genesis-box {
    background: #222;
    color: #fff;
    margin: 0 0 20px -30px;
    overflow: hidden;
    padding: 20px 20px 0;
}
 
#genesis-box h3 {
    color: #999;
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 10px;
    padding: 0;
    text-transform: uppercase;
}

#genesis-box a,
#genesis-box a:visited {
    color: #fff;
    text-decoration: underline;
}

#genesis-box a:hover {
	text-decoration: none;
}

#genesis-box p {
    color: #fff;
    padding: 0 0 20px;
}
 
#genesis-box .alignright {
    border: 5px solid #999;
    float: right;
    margin: 0 0 5px 15px;
}

Email Newsletter

Like what you read here in this blog post?
Get more like it delivered to your inbox daily.

Comments

  1. says

    Thanks for sharing this nice information. Would be great of you if you write a tutorial on adding tabs in sidebar and a slider on homepage (just like in magazine theme).

    I know, that already there are plugins for doing this thing but would be great of you if you come up with a custom code (like this).

    Thanks in advance..

    • Brian Gardner says

      Vivek, appreciate the suggestion. First and foremost, my tutorials are aimed at explaining how I’ve done things specifically on my site. In other words, more of a personal “here’s how I do things” kind of way.

    • Brian Gardner says

      Your welcome Quincy – let me know if you run into any issues… we’re asked all the time how guys like Chris Brogan and Darren over at Problogger add that to their sites.

  2. says

    Thanks Brian for this tip! As I read your post, I’m pondering…. The links in the genesis-box.php file should be your affiliate links, not the ones you have above, right? Also, the graphic image is a reference to a jpg file on your site, can we copy it and upload to our own site in case you ever change the path, it won’t break on our site?
    Thanks

    • Brian Gardner says

      Yes – the destination links in the genesis-box.php file should be your affiliate links. I obviously don’t need to be an affiliate so I link directly.

      As for the image, yes, you can save the image and upload to your site – not a problem. In fact, I should mention that is the better way to do it since I don’t want folks to hotlink my image. ;-)

  3. says

    Thanks for sharing this nice information. I’ve been wondering how to get this on my site for a while now. Put in things to do. I love your themes … and the way you work!!!
    Nash ;)

  4. says

    Adding a Genesis box is the least of my problems when it comes to creating themes built on Genesis.

    What I’m more interested in, is the process (and thought patterns) you follow from initial theme idea to final product.

      • says

        Brian,

        One other thing, not sure if it is worth a blog post or not, but when creating a child theme, is it easier to copy the Genesis style.css file into the child theme, and modify as required. Or refer to the Genesis style.css file and copy in the relevant parts as required?

  5. says

    Thanks Brian for this tip! As I read your post, I’m pondering…. The links in the genesis-box.php file should be your affiliate links, not the ones you have above, right? Also, the graphic image is a reference to a jpg file on your site, can we copy it and upload to our own site in case you ever change the path, it won’t break on our site?
    Thanks

    +1

  6. says

    Just followed your directions to the letter and it came out sweet. Helps that I am using Genesis and child themes. :-) Made a few mods to the CSS to fit my needs, but that was minor. Thanks!

  7. says

    This looks great but I have no skills when it comes to adding code so I’m going to have to have someone look into doing this for me because I would want this added. I saw this on chrisbrogan.com and loved that box.

  8. says

    Sweet! This is just what I’ve been looking for. My attempts at creating a similar box were as ugly as my Bronco’s defense this year. Can you imagine?! #horrifying

  9. says

    This may be a dumb question to some, but I’ve had clients ask me all the time:

    How do I create a file called genesis-box.php?

    Do you have any tutorials I can point people to or a simple explanation for non-programming website owners?

    Thanks Brian!

    • JP says

      You can do this in Notepad, or any text editor. Just save the file with a .php extension. That’s all.

      If you are using Windows Notepad, when saving the file you need to either change the file type to “All files” or enclose the filename in quotes, i.e. “genesis-box.php”

  10. says

    I would like to put this box on my site, but the problem is that I want it in Norwegian language and we got the letters æøå and when I insert them I get a question mark.

    Is there a way for me to use these letters in the genesis-box.php?

    • says

      Hm, honestly not sure what to suggest – perhaps replacing the call for the genesis-box.php file with a widget area, and see if using a text widget from WordPress make any difference.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>