Results 1 to 9 of 9
  1. #1
    Newbie
    Join Date
    December 19th, 2008
    Location
    Scandinavia
    Posts
    21
    Question Wordpress Advertising Plugin for Categories?
    I have been searching high and low for a WP plugin that would allow me to display ads based on the category being displayed.

    For example, on a water sports blog there would be separate categories on canoeing and water skiing - with appropriate ads showing in the sidebar of each category.

    I can't believe no one would have invented such a plugin?! But so far I have not been able to find one.

  2. #2
    Beachy Bill's Avatar
    Join Date
    November 20th, 2005
    Posts
    8,266
    That would indeed be a useful plugin. I know I could make use of it.
    Bill / Marketing Blog @ 12PM - Current project: Resurrecting my "baby" at South Baltimore..
    Cute Personal Checks and Business Checks
    If you are too busy to laugh you are too busy.

  3. #3
    Full Member gamweb61's Avatar
    Join Date
    January 17th, 2005
    Location
    Daytona Beach, Florida
    Posts
    203
    Quote Originally Posted by Bill
    That would indeed be a useful plugin. I know I could make use of it.
    Me three.


  4. #4
    ABW Ambassador ladidah's Avatar
    Join Date
    October 15th, 2007
    Location
    MA
    Posts
    1,888
    I was actually researching this a few weeks ago and was going to do something like that on my website. I wanted the ads to display in my sidebar based on which category the page the post belonged.

    This site has something similar but not quite what I need but a good starting

    http://internetducttape.com/2007/04/...-with-widgets/

    I did not have a chance to take a close look what that page is about.... but will soon.

  5. #5
    ABW Ambassador writerguy's Avatar
    Join Date
    January 17th, 2005
    Location
    Springfield, Missouri, USA
    Posts
    3,248
    So now you guys have got me interested in this, too. I Googled "ads by category WordPress" and came up with this interesting discussion at the WP support forums:

    http://wordpress.org/support/topic/227626

    I don't know how or what that might do in regard to what you're looking for, but it seemed relevant and the code suggested there would be pretty simple to try, I would think?

    Also -- when you're searching for widget coding ideas, be aware that WP is now version 2.7, and many of the earlier plugins/widgets won't work with that version yet. So discussions such as the one from 2007 posted by ladidah may be outdated?

    I dunno. If anyone figures it out, please share with the rest of us. I can see where such a plugin/widget would be very useful!
    Generate more fake news.

  6. #6
    ABW Ambassador ladidah's Avatar
    Join Date
    October 15th, 2007
    Location
    MA
    Posts
    1,888
    Gary, the code that was in that link does work! I used popshop links as ads. Inserted into my sidebar.php
    Thanks so much! You're the best!




    <?php if ( is_category('10') ): ?>
    <!-- Insert code for cat ad here -->
    <!-- PopShops store code starts here -->
    <script type="text/javascript" src="http://shops.popshops.com/shops/xxxxxxxx"></script>
    <!-- PopShops store code ends here -->

    <?php elseif ( is_category('8') ): ?>
    <!-- Insert code for cat ad here -->
    <!-- PopShops store code starts here -->
    <script type="text/javascript" src="http://shops.popshops.com/shops/xxxxxx"></script>
    <!-- PopShops store code ends here -->

    <?php else: ?>
    <!-- Insert code for generic ad here -->
    <!-- PopShops store code starts here -->
    <script type="text/javascript" src="http://shops.popshops.com/shops/xxxxx"></script>
    <!-- PopShops store code ends here -->

    <?php endif; ?>


  7. #7
    Newbie
    Join Date
    December 19th, 2008
    Location
    Scandinavia
    Posts
    21
    Quote Originally Posted by ladidah
    Gary, the code that was in that link does work! I used popshop links as ads. Inserted into my sidebar.php
    Thanks so much! You're the best!
    So just to clarify, this did work well in WP 2.7?

    If so, that was easy enough to solve!

    Maybe all the great coders out there simply haven't thought about doing a plugin for something this simple, although coding simpletons like me need it

  8. #8
    ABW Ambassador ladidah's Avatar
    Join Date
    October 15th, 2007
    Location
    MA
    Posts
    1,888
    Actually my Wordpress is too tricked out for me to try to convert to 2.7 so I am not upgrading at the moment.

    It should work on 2.7 since this is not a widget, just add a few lines in your sidebar.

  9. #9
    ABW Ambassador writerguy's Avatar
    Join Date
    January 17th, 2005
    Location
    Springfield, Missouri, USA
    Posts
    3,248
    Wow. Great. I'll have to try it.
    Generate more fake news.

  10. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. WordPress Plugin
    By affiliateresearch in forum Blogging, Mobile and Social Media
    Replies: 1
    Last Post: June 19th, 2013, 05:18 PM
  2. WordPress Plugin?
    By zanzaboonda in forum Groupon
    Replies: 2
    Last Post: August 15th, 2012, 08:09 PM
  3. Anyone know this wordpress plugin?
    By HenrikPoulsen in forum Starting an Affiliate Program & Merchant Q&A
    Replies: 0
    Last Post: May 7th, 2010, 12:56 AM
  4. WordPress Plugin
    By Xarzu in forum Midnight Cafe'
    Replies: 0
    Last Post: January 28th, 2010, 12:30 PM
  5. Wordpress plugin
    By woodpecker34 in forum PopShops
    Replies: 6
    Last Post: December 10th, 2008, 09:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •