Browsing articles tagged with " genesis"

How to Add Adsense to StudioPress Genesis Theme Framework

This post will help you add Google Adsense code or other advertisement codes to StudioPress Genesis Theme Framework. It is easy to add adsense code to studio press wordpress theme genesis.

Also I am a user of studiopress genesis theme framework, this is new to most of us, I really do not know how to add my advertisement codes to this theme. For the previous classic themes, I can add my codes to single.php or index.php. then add my codes to the proper codes. I can add my ads in my wordpress admin panel: click appearance,editor, find the right file, click, add my codes, save,done! But for studiopress genesis theme, you may have trouble. Don’t worry, Brain will help us solve this problem.

With the Genesis Theme Framework, adding “blocks of code” and placing them into certain areas on a site can easily be done with action hooks.

How to Add Google AdSense To Your Studiopress Genesis Theme Posts

Step #1

The first thing you’ll want to do is establish the CSS that you’ll need for the AdSense block. Inside your child theme’s style.css file, add this code:

/***** AdSense Post ********************/

.adsense-post {
float: right;
margin: 0 0 10px 10px;
}

This piece of code will create a container that will float to the right and be wrapped by the post content. If you want the AdSense block to be floated left, simply change the code to this:

/***** AdSense Post ********************/

.adsense-post {
float: left;
margin: 0 10px 10px 0;
}

Step #2

Next, you’ll want to create a file where you will place your AdSense code. You will also need to define the container for the code as well, so you create a file called adsense-post.php and place this into it:

<div><script type="text/javascript">// <![CDATA[
google_ad_client = "pub-12345678901234";     /* 250x250, created 7/28/10 */     google_ad_slot = "3220529950";     google_ad_width = 250;     google_ad_height = 250;
// ]]></script>
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></div>

Obviously you will replace the sample AdSense code with your own.

Step #3

Now that you have defined the style and created the php file for your AdSense code, you have to establish a way to implement it into your site. Open your child theme’s functions.php file and find this code:

// Start the engine
require_once(TEMPLATEPATH.'/lib/init.php');

Immediately after that, place the code below:

// Place Google AdSense code into post
add_action('genesis_before_post_content', 'include_adsense_post', 9);
function include_adsense_post() {
if ( is_single() )
require(CHILD_DIR.'/adsense-post.php');
}

The code above creates a function that says “if this is a single post, hook the adsense-post.php file just above the post content”. Because you defined your Google AdSense container to float: right, this allows the post to wrap itself around your box.

Of course, you can add any codes just like this. Yes, this is a little harder than the classic themes. If you do not like studiopress theme framework, you can buy ithemes premium wordpress themes, or woothemes,press75 themes etc, and we also have coupons for these themes. (more…)

studiopress add adsense,studiopress adsense,genesis adsense,genesis theme adsense,genesis framework adsense,wordpress genesis adsense,adsense genesis framework,ad adsense after paragraph 1 genesis,news theme genesis adsense,edit website to html editor studiopress,adsense float left genesis,how to activate adsense in genesis theme,add adsense to genesis theme,studiopress adsense theme,studiopress google adsense paragraph hooks,google adsense studiopress float left,how to add mobile ads in genesis frame work,how to adsense ads lifestyle theme genesis framework,how to float adsense to the right genesis,how to put ad on studiopress theme

Cute Pink Stylish WordPress Theme:Family Tree

If you are looking for a cute stylish wordpress theme, here is a good new wp theme from studiopress, I am sure you love this lovely wordpress theme!
cute pink lovely wordpress theme

Demo /Studiopress Family Tree Download

This is a new cute pink worpdress theme named family tree, with cool homagepage and 3 column inner page, suit most of the blogs/websites. Good for lifestyle/personal blog/family blogs.

The Family Tree theme was designed by the very talented Chris Ford, who has already designed another theme that will be made available in the near future in studiopress theme market.
familytree-cute wordpress theme

Current version: 1.0 · Updated: 4/10/10 · Requires: WP 2.9.1 · BuddyPress compatible: No
Designer: Chris Ford · Tags: 2 or 3-columns, fixed-width, theme-options, threaded-comments

If you have already purchased the studiopress Genesis Theme Framework and any other child theme previously, you can simply purchase the child package by itself, otherwise you need the Family Tree + Genesis Theme package.

Discount for studiopress wordpress themes: If you want to buy this new theme now, you can use studiopress discount code to get 25% off. Check out the latest new studiopress coupon code here.

And here are more professional photo wordpress themes for photographers.

More than 100 magazine wordpress themes here.

cute wordpress themes,cute wordpress theme,cute wordpress template,cute wordpress templates,cute websites,cute free wordpress themes,wordpress theme pink,wordpress template cute,wordpress cute themes,wordpress themes cute,cute theme wordpress,cute wordpress templates free,wp theme cute,theme pink wordpress,family wordpress themes,cute theme for wordpress,cute themes for wordpress,cute pink wordpress theme,WordPress themes pink,pink websites

1 Column Clean Photo WordPress Theme for Photobloggers Pixel Happy Theme

1 Column Simple Clean Photo WordPress Theme:Pixel Happy Genesis Child Theme
1 column simple clean wordpress theme for photographers
A very Simple,clean wordpress template for photographs from studiopress. This photo wordpress theme is able to display a slideshow below the header, has numerous layouts, and other options which can be managed from the backend options panel.A very good wp template for gallery,family albums, share your photos with your friends!
Here’s a screenshot of a sample Client Gallery Page:
photo wordpress theme for photobloggers and family blogs
This new Child theme works on the studiopress Genesis Theme Framework and this theme can be downloaded by studiopress Pro Plus members free(join the Pro-Plus member here)in the support forum. All others can purchase the Pixel Happy Child Theme package here.

If you have already purchased the Genesis Theme Framework and any other child theme, you can simply purchase the Pixel Happy Child Theme by itself, otherwise you need the Pixel Happy + Genesis Theme package. That mean there are 6 professional genesis child themes now, and the agentpress.com real estate theme will become a child theme soon. If you are a pro plus member, you can download all these FREE and download future themes free!

The Pixel Happy Child Theme is great for photobloggers – it uses the WP Cycle plugin to display a slideshow below the header and can use the WordPress gallery implementation with jQuery Lightbox For Native Galleries plugin to display beautiful client pages.

Studiopress Discount Code:Save money with Genesis Pixel Happy Theme discount coupon code:BH10, you can get 10% off on this cool image wp theme.

Photographers WordPress Theme, WordPress Themes For Photograph, wordpress gallery theme,gallery wordpress templates.

wordpress photography themes,simple wordpress theme no column,Wordpress Photography Templates,family album wordpress template,template wordpress gallery,wordpress theme gallery free,free photography theme for wordpress,1-column wordpress photography theme,wordpress small sliding theme free download,wordpress theme gallery image,wordpress theme 1 column free,template admin panel free,slideshow header wordpress for photographer,simple wordpress theme white,wp family themes,beautiful template wordpress free,family photo themes,free white wordpress photography themes,cleanphoto,wordpress theme ever photography