WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
Static Widget Gallery (7 posts)

  1. kcwebguy
    Member
    Posted 2 years ago #

    I would like to have the option of placing a static gallery into a sidebar widget.

    I do not use "Comments" or "Ratings" on any of my photos. So the TOPTEN code does not produce a result.

    Can you create the option to pass an Album ID into the widget along with a value that represents the count of images to display in the sidebar?

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    Try a WPPA+ Text widget with (e.g.) content:

    %%wppa%% %%album=22%% %%size=200%%

    and pagination to the number of thumbnails you want (Table I-12)

  3. kcwebguy
    Member
    Posted 2 years ago #

    Thank you for your reply. That did not produce the desired affect.

    In the topten code you are querying and sorting by rating. My pics do not have ratings. Perhaps you can pull the pics even if the rating is null and then sort by pic id. Then call it %%random%% or something like that.

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    What i can do is the following:

    Make the topten widget available even when the rating system is disabled.
    Then, you can rate the photos yourself and then switch the rating system off.

    I can add a class (.wppa-topten-widget-rating) so you can add in a css:

    .wppa-topten-widget-rating {
    display: none;
    }

    to prevent the rating values to be displayed.

    What about this?

  5. kcwebguy
    Member
    Posted 2 years ago #

    That's a great suggestion. Do that, then I will test it and give you feedback as to how it looks and works for me.

  6. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    On a second thought it is not a good idea to misuse the topten widget in this way.

    I will supply another widget: Thumbnail widget, same lay-out as topten and comments widget, selectable album and settable thumbnail size and count and its own link styles in table VI.
    This is more in line of the total design concept.

    This will be available in version 4.4.8, to be released in a few days.

  7. kcwebguy
    Member
    Posted 2 years ago #

    That is excellent. Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic