WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Ad Buttons] Is there a way... (10 posts)

  1. beyondbirthday
    Member
    Posted 5 years ago #

    Is there any way that I can add this to my theme's sidebar without using a widget? Like, for example, with a PHP code or by editing the theme somehow?

    My theme doesn't handle widgets well. :\

    Thanks.

    http://wordpress.org/extend/plugins/ad-buttons/

  2. mindnl
    Member
    Posted 4 years ago #

    all the widget contains is the ad_buttons(); function, you should be able to just put that into your template file

  3. XALFIEX
    Member
    Posted 4 years ago #

    sorry i'm a noob but how would i add this to my rsidebar.php?

  4. mindnl
    Member
    Posted 4 years ago #

    Just add ad_buttons(); to your template file. If that just shows up ad_buttons(); on your page you might have to wrap it in php tags:
    <?php ad_buttons(); ?>

  5. TheUnlockr
    Member
    Posted 4 years ago #

    What about MultiWidget ability?
    Once I put your widget in one of my sidebars, it disappears from the available widgets section.
    So I tried to put the <?php ad_buttons(); ?> in for my sidebars (I have multiple, one for the homepage, one for pages, one for blog entries, and one for video entries) and it messes up the sidebar for some reason.
    So is there any multiwidget functionality in your plugins future perhaps? :) Would make it a lot easier to implement for those of us with multiple sidebars.

    Awesome work by the way!

  6. mindnl
    Member
    Posted 4 years ago #

    multiwidget functionality is one of the items on my to-do list.

    If your sidebar gets messed up by the plugin, try using it with css disabled in the Ad Buttons settings.

  7. leekoo
    Member
    Posted 4 years ago #

    i'd like to see ads displayed in two columns (125 x125) without google adsense ..

    can ad buttons do this ..

    thanx

  8. mindnl
    Member
    Posted 4 years ago #

    yes, it certainly can! Just fill in the appropriate "Ad block width" on the settings page so it can fit two ads side by side.

  9. see-online
    Member
    Posted 4 years ago #

    I would like to display my ads in different ways: Some should appear permanently, the others only every third click e.g. Is this possible?

  10. mindnl
    Member
    Posted 4 years ago #

    not at this time, but I'm working on a few additions that will include something very similar to your request.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags