Forums

[Plugin: WordPress Popular Posts] Using two or more widgets at sidebar (4 posts)

  1. lanz
    Member
    Posted 2 years ago #

    Hi Ikki24,
    Is it possible to use two or more sidebar widget for this plugin?
    ie. one for most popular post this week and the one for the most popular post etc..
    Thanks in advance

  2. Héctor Cabrera
    Member
    Posted 2 years ago #

    Hi lanz,

    Currently, you can use my plugin as a widget, or use the php snippet, or both. You could, for example, add WordPress Popular Posts as a widget to your sidebar, and right below it use the get_mostpopular() function to display a different listing.

    If I heard right, WordPress 2.8 has now the ability to create multiple instances of any widget. If so, I might include this feature so that you (or anyone) could be able to use several WordPress Popular Posts widgets. This, however, will take a little while.

  3. gillsans
    Member
    Posted 2 years ago #

    I too am interested in setting up a 2nd Popular posts:

    Current Popular Posts
    Alltime Popular Posts

    Currently, 'Current Popular Posts' has been called manually in my sidebar using:
    <?php if (function_exists("get_mostpopular")) get_mostpopular(); ?>

    What would the best way to add the 2nd "Alltime Popular Posts"?

  4. Héctor Cabrera
    Member
    Posted 2 years ago #

    Well, currently you can only achieve that by using the widget and inserting the code snippet. Both of them have separate settings that you can tweak to your likings.

    Multiple widgets is another to-do on my list. It will be available as soon as I get some spare time to work on my plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic