• I have placed the example code from the WordPress Add to Any FAQ to customize the feed of the widget. It’s an array, so I thought maybe it supported more than one feedname and feedurl, but it only seems to pick up the second one… here is an example of my code:

    <?php if( class_exists('Add_to_Any_Subscribe_Widget') ) {
      $A2A_SUBSCRIBE_options = array(
      "feedname" => "Site",
       "feedurl" => "http://feeds.feedburner.com/MySite",
       "feedname" => "Category",
       "feedurl" => "http://feeds.feedburner.com/MySitesSpecialCategory");
        Add_to_Any_Subscribe_Widget::display( $A2A_SUBSCRIBE_options );
    } ?>

    Can I use this with more than one feed?

    Dave

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey Dave,

    The Subscribe widget supports one feed per widget, but you can certainly include multiple widgets. Here’s one way:

    <h3>Category 1</h3>
    <?php if( class_exists('Add_to_Any_Subscribe_Widget') ) {
      $A2A_SUBSCRIBE_options = array(
         "feedname" => "Category 1",
         "feedurl" => "http://feeds.feedburner.com/MySiteCategory1");
      Add_to_Any_Subscribe_Widget::display( $A2A_SUBSCRIBE_options );
    } ?>
    
    <h3>Category 2</h3>
    <?php if( class_exists('Add_to_Any_Subscribe_Widget') ) {
      $A2A_SUBSCRIBE_options = array(
         "feedname" => "Category 2",
         "feedurl" => "http://feeds.feedburner.com/MySiteCategory2");
      Add_to_Any_Subscribe_Widget::display( $A2A_SUBSCRIBE_options );
    } ?>

    Aesthetically, the Weblog Awards sort of does this in an appealing way with the feed icons (no drop-down and not WordPress though).

    Hope that helps!

    Pat

    Thread Starter davebach

    (@davebach)

    Thanks, for this thought.

    Is there any way to use a DIFFERENT image in that second instance? This way it’s an obvious (and neat) way to display what you’re going to get when you click on it.

    For example, I created custom button images for the subscribe and save/share buttons on Brian’s Belly.

    Dave

    Dave, I see what you’re saying. It’s not currently possible, but I like your thinking. Will keep this in mind for a future version. 🙂

    By the way, for the buttons you have made, maybe you would like to add them to the Flickr pool? They look very nice!

    Pat

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Add to Any Share/Save/Bookmark Button] More than one feed?’ is closed to new replies.