WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] Problem with PHP (8 posts)

  1. helloengage
    Member
    Posted 1 year ago #

    Hi there,

    I tried to use the <?php wppa_albums(19, 'slide'); ?> and I put it into my site. I don't have an album 19, so it gave me an error. I then made it to say:

    <?php wppa_albums(1, 'slide'); ?>

    When I did this, it actually showed nothing on my site. I don't know why it didn't display anything. Am I missing something? Do I need code above or below it to get it to work with this method?

    Thank you!
    --
    Joel

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

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Try this:

    <?php echo wppa_albums(1, 'slide'); ?>

  3. helloengage
    Member
    Posted 1 year ago #

    Thanks so much!

    Also, is it possible to have the galleries open to a page like this:
    http://wppa.opajaap.nl/my-album/?locale=en_US&wppa-album=59&wppa-slide&wppa-occur=1&wppa-photo=2187

    Rather than opening up to a page like this:
    http://wppa.opajaap.nl/my-album/?locale=en_US&wppa-album=59&wppa-cover=0&wppa-occur=1

    There is redundancy on our site with one-too-many clicks. We have to click to the gallery page to see only 6-8 photos in thumbnail version, and then to click to a larger version.

    We would like it to just land right away on the larger version, with the smaller images under it.

    Thanks so much!
    --
    Joel

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    <?php echo wppa_albums(1, 'slide'); ?>

    This works, does it???

    Try this:

    [wppa type="slide" album="53"][/wppa]

    as content of the page.

    For full documentation of shortcodes see http://wppa.opajaap.nl/shortcode-reference/

  5. helloengage
    Member
    Posted 1 year ago #

    Hi there,

    Sorry if I'm being redundant. I did realize I think I misspoke about what we were looking for...

    So when you put your shortcode for ALL albums, you get a page like this:
    http://wppa.opajaap.nl/my-album/

    We are using the code:
    %%wppa%%

    What we are wondering if if you click one of those gallery links on the MAIN gallery page (using the shortcode %%wppa%%), it would open of the gallery page to this:
    http://wppa.opajaap.nl/my-album/?locale=en_US&wppa-album=59&wppa-slide&wppa-occur=1&wppa-photo=2187

    Rather than opening up to a page like this:
    http://wppa.opajaap.nl/my-album/?locale=en_US&wppa-album=59&wppa-cover=0&wppa-occur=1

    Is this something that is possible with the plugin's settings? Or is there a change we need to make to the short code so that the galleries open this way when clicked?

    Thanks so much!

    --
    Joel

  6. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    The Slideshow link on the album cover links to the slideshow.
    The View .. photos link on the album cover links to the thumbnails.
    The Title link on the album cover links to what you specify on the Photo Albums -> Album Admin -> Edit -> Edit Album Information -> Link Type selection box. Set to The album photos as slideshow.

  7. helloengage
    Member
    Posted 1 year ago #

    THanks!!!

    Is there anyway to get turn off the "Automatic Slideshow Start" and just have it be the photo? We would like to let the user turn it on, and not have it be on "auto".

    Thanks again!

    -
    Joel

  8. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Table IV-B3

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags