Insert signup form in post

There are two different ways to handle memberships in Ghost.

  1. Portal: everything is managed via the modal & config - no coding, or almost no coding required
  2. Theme customisations: inline in the page, requiring coding in handlebars, html & css

They are not mutually exclusive so you can mix and match as you need to. The docs here explain both:

If what you’re looking for is a no-code approach then you need to change your mental model from having things displayed inline on pages to opening the Portal modal on the page you need.

Using portal you can create a signup button that loads the signup portal modal, or using theme customisations you can build your own signup form, pricing page, or whatever you like.

For a signup or pricing link, the best option (IMO) is /#/portal/account/plans because if the member is logged out they’ll see the option to signup and the prices, and if the user is logged in they’ll see the option to change their plan. All the available links are shown in the portal settings area of Ghost admin, as per the first screenshot in the docs pasted above.

You can use these links where ever you like: in Ghost’s navigation, in post content, in theme code and if you use an absolute URL they also work on 3rd party sites.