Skip to main content

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.

After activating the Esquina Shortcodes Plugin, a top-level EsquinaWeb menu entry appears in the WordPress admin sidebar at position 30, identified by the dashicons-superhero icon. From here you can configure every aspect of the plugin — API credentials, feed defaults, and the related post recommendations feature — without touching PHP configuration files. The EsquinaWeb menu contains four pages:
PageSlugPurpose
EsquinaWebesquinaweb-dashboardAuthor links and plugin resources
YouTubeesquina-youtubeAPI key, channel ID, and feed defaults
Facebookesquina-facebookAccess token, page ID, and pagination settings
Recomendacionesesquina-recomendacionesRelated post recommendations settings

Dashboard Page

The dashboard is the first page you see when you click EsquinaWeb in the admin menu. It is purely informational and does not save any settings. It displays a grid of cards with links to the author’s websites, social profiles, professional profiles, documentation, and plugin releases. The dashboard grid contains the following link groups:
  • Sitios WebEsquinaWeb, EsquinaGamers, EsquinaAnime
  • Facebook — EsquinaGamers page, EsquinaWeb page
  • YouTube — EsquinaStudio channel
  • TikTok — EsquinaStudio profile
  • Profesional — LinkedIn, GitHub profile
  • Documentación — knowledge base and official documentation
  • Plugin WordPress — GitHub repository and releases

YouTube Settings Page

Navigate to EsquinaWeb → YouTube to configure the YouTube Data API v3 integration. Settings are stored in the esquina_youtube_settings WordPress option (wp_options table). All values set here become the defaults for the [youtube_largo] and [youtube_shorts] shortcodes. Individual shortcode attributes always override these defaults.
api_key
string
required
Your YouTube Data API v3 key. Displayed as a password field with a show/hide toggle. If left empty, the plugin falls back to the ESQUINA_YT_API_KEY constant defined in wp-config.php.
channel_id
string
required
The YouTube channel ID (begins with UC…). The plugin derives the uploads playlist ID from this value automatically (converting UC…UU…) without an extra API call.
max_largos
integer
default:"6"
Maximum number of long-form videos (duration > 60 seconds) to display. Accepts 1–100. Set to 0 or all to enable unlimited AJAX loading.
columns_largos
integer
default:"3"
Number of columns in the long-video grid. Accepts 1–6.
batch_largos
integer
default:"6"
Number of long videos loaded per AJAX “load more” request. Accepts 1–50.
max_shorts
integer
default:"6"
Maximum number of Shorts (duration ≤ 60 seconds) to display. Accepts 1–100. Set to 0 or all to enable unlimited AJAX loading.
columns_shorts
integer
default:"4"
Number of columns in the Shorts grid. Accepts 1–6.
batch_shorts
integer
default:"8"
Number of Shorts loaded per AJAX “load more” request. Accepts 1–50.

Facebook Settings Page

Navigate to EsquinaWeb → Facebook to configure the Facebook Graph API integration. Settings are stored in the esquina_facebook_settings WordPress option. All values set here become the defaults for the [facebook_posts] shortcode. Individual shortcode attributes always override these defaults.
access_token
string
required
Your Facebook Page Access Token. Displayed as a password field with a show/hide toggle. If left empty, the plugin falls back to the ESQUINA_FB_PAGE_ACCESS_TOKEN constant defined in wp-config.php, or to the esquina_fb_access_token WordPress filter.
page_id
string
required
The numeric Facebook Page ID. Only digits are accepted — any non-numeric characters are stripped before the API request is made.
limit
integer
default:"25"
Number of posts to request per Graph API call. Accepts 1–100. This is the limit parameter sent to the /{page_id}/posts endpoint.
per_page
integer
default:"4"
Number of posts displayed per page in the frontend feed widget. Accepts 1–20. When the user navigates past the last locally loaded page, a new AJAX request is made automatically using the Graph API cursor.

Recomendaciones Settings Page

Navigate to EsquinaWeb → Recomendaciones to configure automatic related post recommendations. Settings are stored in the esquina_recomendaciones_settings WordPress option. For a full description of every field, see the Recomendaciones feature page. A quick reference of available settings:
SettingKeyDescription
EnabledenabledCheckbox to activate/deactivate the feature
TitletitleHeading text above the recommendations block
Quantityposts_per_pageNumber of posts shown (2, 3, 4, 5, 6, or 8)
Modemodelatest (by date) or random
Layoutlayoutgrid or carousel
AutoplayautoplayCarousel only — auto-advance slides
SpeedspeedCarousel only — 5000, 3000, or 2000 ms
SizesizeCarousel only — small, medium, or large
Show thumbnailthumbnailDisplay featured image on each post card
Show category linkcategory_linkAppend a “Ver más artículos de [Category]” link

Credentials Stored in the Database

Credentials saved through the admin settings pages are stored in the WordPress wp_options table and take priority over any ESQUINA_YT_API_KEY or ESQUINA_FB_PAGE_ACCESS_TOKEN constants defined in wp-config.php. This means you can deploy and update credentials directly from the admin UI without touching PHP configuration files — useful for managed hosting environments where direct file access is restricted.

YouTube API Setup

Step-by-step guide to creating a YouTube Data API v3 key.

Facebook API Setup

How to generate a Facebook Page Access Token for the Graph API.

Recomendaciones

Full documentation for the automatic related post feature.

Security Best Practices

Recommendations for keeping your API credentials safe.

Build docs developers (and LLMs) love