WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] attribute album does not seem to work (4 posts)

  1. Burnardo
    Member
    Posted 7 months ago #

    Hi Jaap,
    Thanks for your beautiful work on this plugin.
    I have been using it successfully for a while already, but now I ran into a problem.

    Having only 10 albums to display isn't much but nonetheless I would like to separate some of them to be viewed only by logged in members.
    So, public side viewing only some albums, I tried shortcode:

    [wppa album="1.2.4.5.7.8"][/wppa]

    Then in the logged-in member-side, I would be able to show them all by:

    [wppa][/wppa]

    But for some reason, the public side still shows all 10 of them, and I cannot seem to find out why that is.

    Thanks for spending the time on answering me,
    kind regards, Burnardo

    P.S. Using WP 3.8, Buddypress 1.8.1, WP Photo Album 5.2.4

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

  2. Burnardo
    Member
    Posted 7 months ago #

    To be sure.... I selected the debug switch to "on". The link is:
    http://swingingwoodnotes.nl/wp/foto-galerij/

    Hope it helps,
    kind regards, Burnardo

  3. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 7 months ago #

    [wppa album="1.2.4.5.7.8"][/wppa]

    is incomplete.

    Try this: [wppa type="cover" album="1.2.4.5.7.8"][/wppa] or
    [wppa type="album" album="1.2.4.5.7.8"][/wppa] or...

    Omitting type=".." assumes the generic display, i.e. all top level non seperate albums.

  4. Burnardo
    Member
    Posted 7 months ago #

    Thanks a lot for your simple but effective answer, Jaap.

    Changing this:

    [wppa album="1.2.4.5.7.8"][/wppa]

    to:

    [wppa type="cover" album="1.2.4.5.7.8"][/wppa]

    worked as a charm.
    The loggedin members will be feasted with the total amount of albums, but the public side is now restricted to the ones that are defined in the shortcode.

    Thanks a lot,
    Burnardo

Reply

You must log in to post.

About this Plugin

About this Topic