jchance
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Umapper] “U” Insert into post/page button not workingsame problem, 6 months later
Forum: Themes and Templates
In reply to: GraphicsSure.
Just open up sidebar.php in the wp-portaltheme directory and comment out or delete everything between the “begin” and “end” sponsors comment tags like below:
<!-- begin sponsors --> <h2>Sponsors</h2> <p id="sponsors"> <?php include("sponsors.php"); ?> <!-- end sponsors -->Forum: Themes and Templates
In reply to: GraphicsAdding your own ads is easy- all you need to do is open up sponsors.php in the theme directory and you will see 4 lines like this:
<a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad.gif" alt="Sponsor" /></a>Each line is an ad image/link.
Change the “#” to the URL the ad should go to when clicked. Add your 125×125 ad graphic to the theme images directory and then change “ad.gif” to the name of your ad.
A completed example would be:
<a href="http://www.google.com"><img src="<?php bloginfo('template_url'); ?>/images/google_125x125.gif" alt="Sponsor" /></a>This ad would show the google_125x125.gif image located in the /wp-content/themes/wp-portaltheme/images/ directory and link to http://www.google.com when clicked.
Optionally, you can change the alt text that says “Sponsor” above to something more search engine and accessibility friendly.