Squirrly SEO
WP LinkCanvas integrates with Squirrly SEO automatically. When Squirrly SEO is active, bio pages use per-language SEO title, meta description, canonical URL, and Open Graph tags from the fields in the bio page editor rather than Squirrly’s defaults.
Detection#
WP LinkCanvas detects Squirrly SEO via the SQ_VERSION constant. No configuration is required — install and activate Squirrly SEO and the integration is live immediately.
What is injected#
On bio pages, WP LinkCanvas overrides the following Squirrly outputs using Squirrly’s native filter hooks:
| What | Filter used |
|---|---|
| Meta title | sq_title |
| Meta description | sq_description |
| Canonical URL | sq_canonical |
| Open Graph tags | sq_open_graph |
All four filters are hooked at priority 50. On all other pages, these filters pass through unchanged — the integration only activates when the current request is a bio page.
Priority and Squirrly’s pipeline#
Squirrly processes its SEO values in two stages. At priority 50, the values are plain strings or arrays — the title is a string, the description is a string, the canonical is a URL string, the OG data is a keyed array. At priority 99, Squirrly’s packTitle, packDescription, packCanonical, and packOpenGraph methods wrap these values in their final HTML tags.
WP LinkCanvas hooks at priority 50 — before the packing stage — so it replaces the raw values. Squirrly then wraps them in HTML correctly. This approach avoids having to manipulate raw HTML strings and ensures Squirrly’s output pipeline runs normally.
Setting SEO fields#
In the bio page editor, each language tab has an SEO section with:
- SEO title — overrides Squirrly’s page title in
<title>andog:title - Meta description — overrides Squirrly’s description in
<meta name="description">andog:description - Open Graph image — overrides Squirrly’s og:image. Falls back to the bio page avatar if no SEO image is set
If the SEO title or description fields are left empty on a language tab, Squirrly’s own logic runs as normal for that page.
Canonical URL#
The canonical URL is always set to the correct language-specific bio page URL (e.g. yoursite.com/ar/links for the Arabic version) via the sq_canonical filter. This is handled automatically.
Open Graph tags#
The sq_open_graph filter receives Squirrly’s Open Graph data as an array with standard og: keys. WP LinkCanvas injects og:title, og:description, and og:image into this array before Squirrly converts it to HTML meta tags.