New to Wordpress themes - how do I add my affiliate ad to theme?

Discussion in 'Affiliate Programs' started by SEO4hire, Jan 2, 2009.

  1. #1
    Hello and Happy New Year. I am relatively new to Wordpress, and just installed a theme that is ready made for 468 & 125 affiliate ads. I have looked all over, but can't quite figure out how to add the code to install my affiliate ads. Is there a plugin that I need? Do I need to do something with the widgets? Please help ASAP...my sanity begs you. :D
     
    SEO4hire, Jan 2, 2009 IP
  2. Karen May Jones

    Karen May Jones Prominent Member

    Messages:
    3,469
    Likes Received:
    290
    Best Answers:
    1
    Trophy Points:
    380
    #2
    Look in design, and then go to theme editor. Look at the pages it has listed and then look for something that says "ADS".php.... or similar. You should be able to edit it right inside the box.
     
    Karen May Jones, Jan 2, 2009 IP
  3. azlanhussain

    azlanhussain Active Member

    Messages:
    640
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Well you can try this plugins;

    1) WPAds - setup all your ads in one control panel and just ambed the short code any place you wnat, that includes posts, pages or even the template itself

    2) MaxBlogpress-stripe-ad - add top panel bar that carries message that you can use for ads..

    Check it out..
     
    azlanhussain, Jan 2, 2009 IP
  4. kind_of_the_cash

    kind_of_the_cash Active Member

    Messages:
    852
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #4
    You have to edit wordpress code and insert or just insert banner code in to the blog post
     
    kind_of_the_cash, Jan 2, 2009 IP
  5. SEO4hire

    SEO4hire Active Member

    Messages:
    976
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #5
    Thanks to everybody for your help. I am into the theme editor, and have the html that I want to enter. There is no area that says ads.php...maybe sidebar? Anyway, once I get in there, where do I paste the code? I don't see any html - just php code...
     
    SEO4hire, Jan 2, 2009 IP
  6. azlanhussain

    azlanhussain Active Member

    Messages:
    640
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #6
    You need to understand the html & php structure of that theme before you could add anything to it.. can't do much without seing the actual script though..
     
    azlanhussain, Jan 2, 2009 IP
  7. kind_of_the_cash

    kind_of_the_cash Active Member

    Messages:
    852
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #7
    Yeah you can place ads on sidebar
     
    kind_of_the_cash, Jan 2, 2009 IP
  8. SEO4hire

    SEO4hire Active Member

    Messages:
    976
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #8
    thank you kind of the cash - I guess my question is where do I put the html once I open up sidebar.php? Sorry...Wordpress rookie here
     
    SEO4hire, Jan 2, 2009 IP
  9. kind_of_the_cash

    kind_of_the_cash Active Member

    Messages:
    852
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #9
    The siderbar is different on each template if you can post here your sidebar code we can help you to add if you still having that problem :D
     
    kind_of_the_cash, Jan 2, 2009 IP
  10. SEO4hire

    SEO4hire Active Member

    Messages:
    976
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #10
    Thanks kind of the cash and everybody else. Here is the sidebar.php code:

    <div id="sidebarbg1">
    <div class="ads125">
    <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('ads125_1') ) : ?>

    <?php endif; ?>
    </div><div class="ads125hspacer"></div>
    <div class="ads125">
    <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('ads125_2') ) : ?>

    <?php endif; ?>
    </div>
    <div class="ads125vspacer"></div>
    <div class="ads125">
    <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('ads125_3') ) : ?>

    <?php endif; ?>
    </div><div class="ads125hspacer"></div>
    <div class="ads125">
    <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('ads125_4') ) : ?>

    <?php endif; ?>
    </div>
    <div class="clear"></div>
    <div class="sidebara">
    <div id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('sidebar_main') ) : ?>
    <ul>
    <li id="search"><h2>Search</h2>
    <?php include(TEMPLATEPATH . '/searchform.php'); ?>
    </li>
    <li><h2><?php _e('Categories'); ?></h2>
    <ul>
    <?php wp_list_cats('sort_column=name&hierarchical=5'); ?>
    </ul>
    </li>
    <li><h2><?php _e('Archives'); ?></h2>
    <ul>
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    </li>
    <?php get_links_list(); ?>
    <li><h2><?php _e('Meta'); ?></h2>
    <ul>
    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <?php wp_meta(); ?>
    </ul>
    </li>
    </ul>
    <?php endif; ?>
    </div>
    </div>
    </div>
    <div class="clear"></div>

    **If it helps, the blog I am creating is affiliatebizhelp.com

    Thanks again...
     
    SEO4hire, Jan 2, 2009 IP
  11. kind_of_the_cash

    kind_of_the_cash Active Member

    Messages:
    852
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #11
    For put ad on 125 X 125 banner replace this code

    <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('ads125_1') ) : ?>
    
    <?php endif; ?>
    PHP:
    with your banner html code and please post here result
     
    kind_of_the_cash, Jan 2, 2009 IP
  12. SEO4hire

    SEO4hire Active Member

    Messages:
    976
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #12
    Sorry...I am in the dark when it comes to php. Am I replacing the functions exists, or the parts that are in red?
     
    SEO4hire, Jan 2, 2009 IP
  13. kind_of_the_cash

    kind_of_the_cash Active Member

    Messages:
    852
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #13
    Can you just pm me your ad code with wordpress admin user and pass ? I'll just do it for you :)
     
    kind_of_the_cash, Jan 2, 2009 IP
  14. SEO4hire

    SEO4hire Active Member

    Messages:
    976
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    #14
    Thanks to everyone for your help. I have figured out how to change the sidebar ads, but cannot seem to change the 160 x 600 ad next to the sidebar. Any suggestions?

    FYI - the site is affiliatebizhelp.com
     
    SEO4hire, Jan 5, 2009 IP