Social Gallery Block

Plugin Banner

Social Gallery Block

by Ronak J Vanpariya

Download
Description

Social Gallery Block is a lightweight and powerful WordPress plugin designed to showcase your Instagram content effortlessly. Unlike many other plugins, it doesn’t require you to create a complex Facebook or Instagram App to fetch public data.

Whether you are using the modern Gutenberg editor or the Classic editor, this plugin has you covered with its native block and versatile shortcode.

Key Features:

  • Gutenberg Native: A dedicated “Social Gallery” block with live preview and easy customization.
  • Versatile Shortcode: Use [instagram_post_grid] in any post, page, or widget.
  • Performance First: Features built-in 1-hour transient caching to speed up your site and avoid Instagram rate-limiting.
  • No App Hassle: Fetch public profile details without needing an Instagram API App.
  • Interactive Grid: Images link directly to the original Instagram posts for better engagement.
  • Privacy & Security: Uses a server-side proxy to serve images, preventing CORS/CORP issues and protecting your visitors’ privacy.
  • Highly Customizable: Control columns, post counts, and image cropping directly from the editor or shortcode attributes.

Want to contribute?

Check out the project on GitHub: https://github.com/vanpariyar/gutenberg-instagram-post-grid/

Shortcode Usage

Display your grid anywhere with:
[instagram_post_grid username=”instagram” columns=”4″ count=”12″]

Available Attributes:
* username: (Required) Your Instagram username.
* columns: Number of columns (1-8).
* count: Number of posts to show (1-12).
* cropped: yes or no to toggle square cropping.

  1. Upload the gutenberg-instagram-post-grid folder to the /wp-content/plugins/ directory, or install directly through the WordPress plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Gutenberg: Search for the “Social Gallery” block in the editor.
  4. Shortcode: Use [instagram_post_grid username="your_handle"] anywhere on your site.
  1. The Gutenberg Block settings and real-time preview.

    The Gutenberg Block settings and real-time preview.

  2. The Instagram grid layout as seen on the frontend of a website.

    The Instagram grid layout as seen on the frontend of a website.

  3. Preview Images

    Preview Images

  4. Preview Images WordPress

    Preview Images WordPress

Does this require an Instagram Access Token?

No! This plugin fetches data from public profiles using Instagram’s web API, so you don’t need to generate or maintain access tokens.

Can I use it on private accounts?

No, Instagram’s public API only allows fetching data from public profiles.

Why am I seeing a “Rate Limit” error?

Instagram limits the number of requests from a single IP. Our plugin uses caching to minimize these requests, but if you still see this, wait a few minutes and it should resolve itself.

Social Gallery Block – Instagram gallary block is wonder full plugin

By rajesh2203 on October 21, 2020

Hey, I have used this plugin, very fast images loaded on the site without braking time. this helps full for speed optimization, So I recommendation please use this plugin for the get the Instagram post. it's nicely loaded the Instagram post 🙂

2.1.0

  • NEW: Added [instagram_post_grid] shortcode support.
  • NEW: Images now link to original Instagram posts.
  • NEW: Added 1-hour server-side caching for better performance.
  • IMPROVED: Refined API headers to prevent 401/429 errors.
  • IMPROVED: Better error reporting in the Gutenberg editor.
  • FIX: Resolved image proxying and loading issues.
  • CHORE: Updated metadata and documentation for WordPress.org submission.

2.1

  • Fix the plugin name and working on gallery not showing

2.0

  • Fix the gallery is not rendering after Update

1.8

  • Minor Changes (Typo and Name Fix)

1.0

  • Initial: First Version
Back to top