Title: Shortcode for Albumn
Last modified: November 19, 2018

---

# Shortcode for Albumn

 *  [agidulyan](https://wordpress.org/support/users/agidulyan/)
 * (@agidulyan)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/shortcode-for-albumn/)
 * I tried to replace gallery id in the shortcode [cws_fgp_galleries theme=grid 
   gallery_id=72157702962162574 show_title=1 thumb_size=square_150] but there is
   some error:
 * Warning: Invalid argument supplied for foreach() in sitename/www/wp-content/plugins/
   flickr-viewer/shortcodes/partials/results_grid.php on line 99
 * What’s wrong?

Viewing 1 replies (of 1 total)

 *  Plugin Author [nakunakifi](https://wordpress.org/support/users/nakunakifi/)
 * (@nakunakifi)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/shortcode-for-albumn/#post-10906150)
 * Hello
 * Are you still having this issue?
 * If you are certain the ID is correct, perhaps Flickr had a status issue?
 * If it is your own Flickr account (agidulyan) when I looked you have no Galleries
   created. The galleries shortcode specifically searches your Galleries, not Albums
   or Photostream.
 * Either way the warning should have been handled more elegantly.
 * I’m onto it, thank you for highlighting this.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Shortcode for Albumn’ is closed to new replies.

 * ![](https://ps.w.org/flickr-viewer/assets/icon-256x256.png?rev=1622888)
 * [Flickr Viewer](https://wordpress.org/plugins/flickr-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flickr-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flickr-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/flickr-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flickr-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flickr-viewer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nakunakifi](https://wordpress.org/support/users/nakunakifi/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/shortcode-for-albumn/#post-10906150)
 * Status: not resolved