WP Photo Album Plus
[resolved] Link in slideshow not functioning for topten widget (6 posts)

  1. Oelita
    Posted 4 years ago #


    I use the topten widget for all albums (but I only have one existing album for now). I chose in links options to link to the fullsize photo in the slideshow, and created a page (named galerie-photo), with only %%wppa%% inside, to link to.
    The url which is generated in the widget looks like :

    My problem is : the page only shows the photo I clicked on, and no slideshow at all. How to get a slideshow with it ?

    The "picture of the day" widget opens the photo in a slideshow, it is OK with that one (it uses the same page).

    NB : I only have 3 pictures in my topten for now, can it be a problem ?

    Thanks for your plugin, very nice one.


  2. Jacob N. Breetvelt
    Plugin Author

    Posted 4 years ago #

    Thank you for finding and reporting this bug.
    It will be fixed in version 4.2.2.
    If you can't wait a week or so, edit wppa-functions.php

    Line 340 reads: ( it is located 20 lines below: function wppa_page($page) { )

    if (wppa_get_get('album')) {

    change it into:

    if (wppa_get_get('album') || wppa_get_get('topten')) {
  3. Jacob N. Breetvelt
    Plugin Author

    Posted 4 years ago #

    The above will work in your case, but the correct fix is:

    if (wppa_get_get('album') !== false) {
  4. Oelita
    Posted 4 years ago #

    Thanks !

  5. Oelita
    Posted 4 years ago #

    Hmmm, I made the fix, and now it opens ok in a slideshow, but I can't see the picture anymore ?
    My website is now online here : http://www.trollfjord.fr

  6. Jacob N. Breetvelt
    Plugin Author

    Posted 4 years ago #

    It appears that it also required another patch which i overlooked:
    line 631 and 632 near the end after LIMIT : change %s into %d in both lines one time.

    However, don't bother, version 4.2.2 will become available today.
    Sorry for the confusion i caused.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Photo Album Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic