The Esquina Shortcodes Plugin is a free WordPress plugin that lets you embed dynamic content blocks anywhere on your site — YouTube video feeds (long videos and Shorts), Facebook page posts, responsive category grids, post counters, and latest-entry lists — all using plain shortcode syntax with no coding required.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Jhon-mantila/pluging-wordpress/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install the plugin via ZIP upload or Git clone and activate it in WordPress.
Configuration
Set your YouTube API key and Facebook token through the admin panel or wp-config.php.
Shortcode Reference
Browse all six shortcodes with full parameter tables and copy-ready examples.
Guides
Step-by-step guides for obtaining API credentials and following security best practices.
What’s included
YouTube Videos
Display long videos (>60 s) in a responsive grid powered by YouTube Data API v3.
YouTube Shorts
Showcase Shorts (≤60 s) in a portrait-optimized grid with AJAX infinite loading.
Facebook Posts
Pull your Facebook page feed via Graph API v25.0 with photo and video support.
Category Grid
Render a visual grid of categories with featured-image backgrounds and post counts.
Post Counter
Output the published post count for any category slug inline on a page.
Latest Posts
Show recent posts in vertical list, grid-1, or grid-2 layout with thumbnail support.
Quick start
Download and install
Download the latest release ZIP from GitHub Releases and upload it via WordPress → Plugins → Add New → Upload Plugin, then activate.
Configure your APIs
Go to EsquinaWeb → YouTube and EsquinaWeb → Facebook in the WordPress admin and enter your API keys. See the YouTube API Setup and Facebook API Setup guides for how to obtain credentials.
Add a shortcode to any page
Edit any page or post and insert a shortcode. For example, to show a 3-column YouTube feed:
Key features
- Quota-efficient YouTube API — uses
playlistItemsinstead ofsearch.list, consuming roughly 2 API units per page instead of 100. - AJAX dynamic loading — YouTube and Facebook feeds load more content on demand without a full page reload.
- 12-hour YouTube caching and 5-minute Facebook caching via WordPress transients to minimise API calls.
- Automatic related-post recommendations appended after every single post, configurable as a grid or Netflix-style carousel.
- Secure credential storage — API keys and tokens are stored in the WordPress database or
wp-config.php, never exposed in shortcode markup. - Compatible with WordPress 6+ and PHP 8+.
All shortcodes work without any shortcode attributes once you have saved your credentials in the admin settings pages — the plugin reads them automatically.