Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Buy a domain name - Register cheap domain names from $0.99 - Namecheap

Scalable Hosting That Grows With You

Secure & Reliable Web Hosting, Free Domain, Free SSL, 1-Click WordPress Install, Expert 24/7 Support

Semrush - keyword research tool

Boost your online presence with premium web hosting and servers

Disclosure: My content contains affiliate links.

39,990 questions

51,935 answers

573 users

How to add top banner to wordpress blog in PHP

1 Answer

0 votes
1. Open http://www.your-wordpress-blog-url.com/wp-admin
2. Click on Appearance
3. Click on Editor (in Appearance)
4. From the right file list: click on Header (header.php)
5. Go to end of code line: <p class="description"><?php bloginfo('description'); ?></p>
6. Click on Enter to open new empty line
7. Write &nbsp; and Click on Enter again
8. Write the banner HTML line: 
<div align="center"><a href="your_affiliate_link/or other URL" target="_blank" rel="nofollow" 
title=""><img src="your_image_url" width="" height="" alt="" title=""/></a></div>
9. You should see the end tag </section> after your banner link
10. Click on 'Update File' button


Note: If it don't work, you can play with the location of your banner code, 
because it depend on your theme code. 

 



answered Nov 19, 2015 by avibootz
edited Nov 20, 2015 by avibootz

Related questions

1 answer 199 views
1 answer 185 views
1 answer 177 views
1 answer 206 views
2 answers 392 views
1 answer 333 views
...