Support » Fixing WordPress » help with header of my blog

  • i am new to wp and php .. i have just started a blog and have used thematic theme framework with green commune child theme. i want to add an adsense banner in the header area of my blog (just beside my blog name) but since i have no php knowledge there fore i am unable to do so…but i have googled around and i think there can be two solutions to this

    1- place adsense code into proper place either in header.php or function.php
    2- add an extra side bar in header area with alignment to the right and then add a text/html widget to the sidebar so that adsense code cud be placed in that text widget.

    so please tell what should i do, what to add where, or are there any other solutions to my prob. please i dont have much php exposure so please dont be hard!

    i am mentioning 3 links here, one is a screen shot of my blog with the banner area marked and others r the header.php and functions.php of my theme

    please help .. it will be of great value to me!

    blog screen shot: http://img198.imageshack.us/img198/9517/68551279.png
    function file of green commune: http://pastebin.com/ma8cca4a
    header file of thematic: http://pastebin.com/m63abf7c2

Viewing 2 replies - 1 through 2 (of 2 total)
  • if you dont have PHP knowledge i would recommend usage of any adsense plugin such as easy-adsense.

    If you want banner there.You can do one thing.Thats quite ‘hacky’.
    Goto google -> search a theme called hamasaki.-> download it
    then
    seach for some code like ads468x(something) in style.css in hamasaki

    copy that code into your child themes .css

    copy that <div ads468x> ……………..adsense code here ………</div>
    inside your header.php of child theme from header.php of hamasako.hope it helps

    i have pasted code in your header.. but i a suspect that it would work because thematic calls a seperate function called <?php thematic_header() ?>

    hope it does..

    just copy the css code as stated above

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘help with header of my blog’ is closed to new replies.