I want every structure entry to have a follow up page, http://thisismysite.com/handle/slug/followuppage.
So every slug, get a follow up page with different content but the same template. Is there a simple way of doing this?
Thank you in advance!
I want every structure entry to have a follow up page, http://thisismysite.com/handle/slug/followuppage.
So every slug, get a follow up page with different content but the same template. Is there a simple way of doing this?
Thank you in advance!
You can setup a dynamic route for /handle/<slug>/followuppage
and route the requests to your follow-up page template. From that template you’d have access to a variable called slug
that you would then use to query for your structure entry.
{% set entry = craft.entries.section('mystructure').slug(slug).first() %}
{% if not entry %}
{% exit 404 %}
{% endif %}