Quick question: How do I change the copy in the CTA box after the Public Preview?
For instance: https://www.osmosis.dev/whats-next/
The red box says “This post is for paying subscribers only” and the button says, “Upgrade your account”
If the Pro hosting service allows you to connect to your installation, you can change theme files and change the Portal into whatever you like.
The pro hosting service does not allow this on the Starter plan, but does allow for custom themes starting on the Basic plan. This mean you can alter the content-cta.hbs file and other files to better match what you want the text and links to be.
For editing, as in changing files outside of the theme, the Ghost pro hosting plan does not allow this - no matter what plan you’re on. I might be wrong.
Self-hosted installs have access (obviously) through a command prompt / terminal, sFTP or – if hosting on a Digital Ocean droplet, access using the console.
You might wanna reach out to a Ghost staff member such as Kevin or Hannah and ask them about editing files outside the theme on a Ghost pro hosting plan.
The portal is a third party script hosted by unpkg CDN and in order to change it, a few steps are involved.
You need to download it, edit according to what you need, upload to your theme and change your config.production.json file (point the portal script to be loaded from your theme instead of the CDN).
Yeah… I figured that out a little later. Unfortunately, I don’t know code well enough to know what to put in there. As it stands right now, the support page basically says “create an empty file called content-cta.hbs” and that will override what they currently have.
I would love a copy/paste solution here. But the original CTA is on Ghost’s server and not in my theme, so I have nothing to copy/paste.
What theme are you using? If it’s a free theme I can check and hopefully provide code you can copy & paste. If so, I’ll provide generic text so that you understand what to replace with your own.
Any time you’re overriding a default file like this you can use the “Go to file” button on the GitHub repo and start typing the file name to get the original