• For some reason, I could never get the Album shortcode to work. I ended up having to remove this if statement from the get_album_display function:
    if ( in_array( $album->getGphotoId(), $show_albums) )

    And even then, I was only getting the Google Account’s Image thumbnail, instead of the album cover.

    Quick note:

    You have ‘max_results’ twice in both of your shortcode files:

    // Extract the attributes into variables
    extract( shortcode_atts( array(

    ‘max_results’ => $options[‘max_results’],

    ‘max_results’ => $options[‘max_results’],

    ), $atts ) );

    https://wordpress.org/plugins/google-picasa-albums-viewer/

The topic ‘Note and Problem in Plugin Code’ is closed to new replies.