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

Semrush - keyword research tool

Create your online store today with Shopify

Turn ChatGPT, Claude, Gemini, And CoPilot Into Your Personal Assistant, Business Coach, Content Creator, And More

AFFILIATE MARKETING Your all-in-one performance engine Manage affiliates, creators, and customer referrals in one unified platform—turning every partnership into measurable growth

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

Disclosure: My content contains affiliate links.

43,406 questions

56,397 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 290 views
1 answer 266 views
1 answer 254 views
1 answer 284 views
2 answers 503 views
1 answer 435 views
...