URLs and routes¶
Every route Loveshack registers. All of them require the rewrite rules to have been flushed — see Installation.
Subscriber routes¶
| Route | Registered as | Purpose |
|---|---|---|
/settings/ |
Root rewrite endpoint | Frontend subscriber settings |
/subscribe/ |
Root rewrite endpoint | Sign-up and tier selection |
/subscriber-feed/{token}/ |
Rewrite rule | Personalized private RSS feed |
/subscriber-feed/{token}/{post_type}/ |
Rewrite rule | Personalized feed limited to one post type |
The feed rule maps the token into the lss_personal_feed query variable, and
the optional post type into lss_personal_feed_type.
/settings/ and /subscribe/ are reserved
Because these are root-level endpoints, a page with the slug settings or
subscribe will collide with them. Pick different slugs for editorial pages.
Stream archives¶
Each enabled post type gets an archive at the site root — with_front is false,
so the permalink structure's front base is not prepended.
| Post type | Default archive | Setting |
|---|---|---|
cp_status |
/status/ |
status_slug |
cp_image |
/image/ |
image_slug |
cp_video |
/video/ |
video_slug |
Changing a slug flushes the rewrite rules automatically.
Feeds¶
| Feed | Contains |
|---|---|
| Standard WordPress feeds | Public posts only — gated posts are excluded |
/subscriber-feed/{token}/ |
Only the posts that subscriber's tier grants access to |
/subscriber-feed/{token}/{post_type}/ |
The same, limited to one post type (post, cp_status, cp_image, cp_video) |
Update API¶
The endpoint Loveshack checks for theme updates:
Available as LOVESHACK_UPDATE_API_URL.
Admin screens¶
| Screen | Holds |
|---|---|
| LoveShack → Subscriptions | Form copy, sender identity, FluentSMTP status, Stripe keys, tiers |
| Loveshack → Theme Updates | Update API credentials |
| Appearance → Customize | All theme appearance settings |