Forums

[resolved] How do I add sponsor ads to wp-portal theme? (4 posts)

  1. sunshinelove
    Member
    Posted 3 years ago #

    The WP-portal theme has a spot to add sponsors to the sidebar, but it doesn't say how to do it. I tried editing the HTML in cPanel, but whenever I do any updates at all to either the widgets or the theme, the sponsors panel disappears completely from my site.

    In the theme editor, in the sponsors.php file, there are 4 lines that look like this:

    <img src="<?php bloginfo('template_url'); ?>/images/ad.gif" alt="Sponsor" />
    <img src="<?php bloginfo('template_url'); ?>/images/ad.gif" alt="Sponsor" />
    <img src="<?php bloginfo('template_url'); ?>/images/ad.gif" alt="Sponsor" />
    <img src="<?php bloginfo('template_url'); ?>/images/ad.gif" alt="Sponsor" />

    I know where to add my href link (#), and I've tried a couple different combinations for the img src (/images/ad.gif) and (<?php bloginfo('template_url'); ?>/images/ad.gif), but I'm getting nowhere fast. Does anybody know how to make this work?

  2. Samuel B
    moderator
    Posted 3 years ago #

    admin - appearance - widgets

  3. sunshinelove
    Member
    Posted 3 years ago #

    Oh, I see. I take the code from the sponsors.php file and then paste it into a new text file in widgets. That works. Thanks.

  4. keralpatel
    Member
    Posted 2 years ago #

    You can checkout the FAQs on the site itself : http://www.sponads.com/faqs.php

Topic Closed

This topic has been closed to new replies.

About this Topic