BioLink Pro v2.7.0
Added
- Configurable URL prefix. New
Settings → General → Page URL prefixfield controls the rewrite slug for every bio page. Default isbio(so pages live at/bio/{slug}). Change it tolinksand 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 viaupdate_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 viaPagesApi.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_SLUGconstant is now @deprecated. It still equals'bio'for backwards compat with any external code referencing it, but the CPT registration usescurrentSlug().
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).