Skip to content

BioLink Pro v2.7.0

Choose a tag to compare

@github-actions github-actions released this 17 May 09:37
· 1 commit to main since this release

Added

  • Configurable URL prefix. New Settings → General → Page URL prefix field controls the rewrite slug for every bio page. Default is bio (so pages live at /bio/{slug}). Change it to links and every page now lives at /links/{slug}. BioLinkPagePostType::currentSlug() reads from saved settings; the CPT re-registers + flush_rewrite_rules(false) runs automatically on save via update_option_biolink_settings. Reserved slugs (wp-admin, wp-json, etc.) are rejected.
  • Per-page slug editor on the Design page. New "Page" card at the top exposes the page title and the URL slug. Slug field shows the yoursite.com/{prefix}/ prefix on the left so you see exactly what the public URL becomes; input sanitizes to [a-z0-9-] on blur and saves via PagesApi.update({slug}).
  • setSlug() on BuilderContext — typed mutation for the slug, normalizes input + persists via the existing pages PATCH endpoint.

Notes

  • Changing the URL prefix flushes the rewrite cache, but existing search-engine links to /bio/{old-slug} will 404 until indexed under the new prefix. Don't change it on a high-traffic page without a 301 plan.
  • The BioLinkPagePostType::REWRITE_SLUG constant is now @deprecated. It still equals 'bio' for backwards compat with any external code referencing it, but the CPT registration uses currentSlug().

Install: download biolink-pro-v2.7.0.zip below and upload via Plugins → Add New → Upload Plugin.
Auto-update: if you already have BioLink Pro installed, this release will appear under Dashboard → Updates within ~12 hours (or click "Check Again" to force a refresh).