Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Wordpress site...Adding AdSense to header banner

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

infosec3

conversation.siTop Member
Impact
5,836
Hello,

I am using the Balance of Blue (Wordpress) template and tried to add Adsense to the head banner, but failed. When I go to the hosting cpanel trying to find where to place the code. The banner is supposedly placed here:
themes/new-balance-of-blue/images/468ad.jpg, but, as you see that is a jpg file and I cannot place an Adsense code.

Can someone assist me with this?

Thanks
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try this in the header file:
/images/468ad.jpg"
Replace just that with the adsense code.
Make sure the adsense code is 468x60
 
0
Close
I tried that, but it has not worked. This is what I had in the 468ad.jpg, which I replaced with the Adsense code, but it did not work. Any other suggestion?

]�����[(l�f���3x<�'4���ZlQ�_��~金�ڒB�b$_Mr.�.�6P����G(̕��e%��mV��у���a?u]`�Wή^�Ε^�戍��٣u��C�2��GVfi�2؃�������ب��e�a���7o٩�6w$sB\Z���zg�7�k��ޗ�{U�.q����{~�^;��m�Z�=}�4߸q�Q������{�ʿ������r��l���G��dp����=�dj�����^G=eNQ��Q�tUNH���
�#G>�[��$��c�S��W��:gX��2��1�aۊ3����l3�t�����{.E�������p�o��?_@iu��fr9��^X�������V���j�6>J��KH��n�5QUQ�3H�e���\oW�j��ݣ���f���e��oŌV��W~�=?t�SM���dY=*��ד��M��]j��Y^�Q�܎bH�����DP'i�=��z����SK4M�
8�}�hڎW+�_$������F����:���

Thanks
 
Last edited:
0
Close
First off, it's not in your cpanel. Login to your Wordpress installation's admin panel, and try looking at the theme's header.php file. The code you need to edit might be in there.

Some Wordpress themes may already have an ad settings page where you can just copy/paste your adsense code in.

The 468ad.jpg file you mentioned is the image file in use right now. This is not an editable text file.
If you wanted to host your own graphic banner, you would replace this file.
 
Last edited:
0
Close
First off, it's not in your cpanel. Login to your Wordpress installation's admin panel, and try looking at the theme's header.php file. The code you need to edit might be in there.

Some Wordpress themes may already have an ad settings page where you can just copy/paste your adsense code in.

The 468ad.jpg file you mentioned is the image file in use right now. This is not an editable text file.
If you wanted to host your own graphic banner, you would replace this file.


Great. I just edited the Wordpress Header.php and it worked. Many thanks...
 
0
Close
Come into the administrative panel, find "to Edit design". There find corresponding section. In your case header. Also add a code.
 
0
Close
Great post!!!!!! I just edited the Wordpress Header.php and it worked.....I like very very much.... Many thanks...
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back