How to Install DWS Black Adsense
DWS Black Adsense just a simple 2 column wordpress theme. But this theme has many features that will simplify your life.
Using this theme, you will get built in optimize header title ( don’t need to use plugin), built in breadcrumb, built in slider, etc. Complete features read below.
Theme Features :
1. SEO Optimize theme
2. Valid HTML
3. 2 Column
4. Built in Related Article
5. Built in social button (Twitter, Facebook, Digg)
6. Easy Custom Admin Panel: to manage Ads, homepage,social network, etc
7. Built in social network button
8. Easy ads install and placement using shortcode
9. custom attachment page
10. Built in Breadcrumb
11. Custom Text Box on homepage to optimize keyword for homepage.
12. Built in Slider Image
13. Adsense Shortcode
Before installing this theme of course you have to download it first here : DWS Black Adsense. Upload and extract the file and upload via FTP, or you can upload directly the zip file to your host.
If the install process is successful, you can go to dwj custom admin panel ( yourdomain.com/wp-admin/themes.php?page=controlpanel.php ). You will see this :

SLIDER SETTING
As you can see in the picture, the first setting is custom slider setting. You can choose any category to show on slider section. Remember, this theme only display slider on your homepage. Choose how many number you want to show.
If you want to display 1 of your favorite page, choose of them here. By Default this will show your about page. BUT, if you want to display other things on this box area, SET this on your WIDGET AREA add any widget on left_home_box. NOTE: If you choose to set this area using widget, script will ignore setting on homepage box setting.
Optimize any keyword in this form. Any word you write will show only on homepage. Any HTML script are allowed here.
Adsense 728 x 90: Any script you write on this form will show on the header of your blog.
Adsense 200 x 200: Use only 200 x 200 adsense. Display on homepage on the right side of the slider.
Adsense 160 x 600: Will show on your sidebar (sitewide).
Adsense 300 x 250: Ads will only show at the bottom of your single page title
The rest is self explanatory script
Adsense Shortcode Setting
To use this features; please take a look picture below.
You should use one of the code [ ads ] or [ ads format="2" ] (without space), this related to the limit of displaying adsense on one page.
Okay, now how do I that?
First, go to theme editor and find functions.php ( yourdomain.com /wp-admin/theme-editor.php?file=/themes/dwblack/functions.php )
Then use CTRL F to find $ad. See picture below

Change this part :
case 1
$ad = '<img src="'.$templateurl.'/images/300.gif" alt="" />';
You want another ads format ? change case 2
$ad = '<img src="'.$templateurl.'/images/468.gif" />';
Put your adsense script after the single quote.
You’re not done yet!!!
After write this code : [ ads ] or [ ads format="2" ] (without space) on your post page, please create customfield.

We need to create customfield to discard default adsense placement (below your post title) and display adsense in the new place.




[...] to use this theme, read here : Tweet (function() { var s = document.createElement('SCRIPT'), s1 = [...]
[...] Forget to set default category for homepage. Now this error has been fixed. Please read this : How to Install DWS Black Adsense, to optimize the use of this [...]