Adding Buttons to Your Content
Buttons are a super useful way of drawing your audience's eye to a call to action, often at the bottom of a page.
Prospectus Plus offers a way to add a button to any piece of content on your site - whether that be a page or a course - by way of a simple shortcode.
A shortcode is a small snippet of code that instructs the system to output a recognised feature. It will need to be copied in the exact format you see here in order to work. Here it is:
[pp_button link='https://www.google.com']View full information[/pp_button]
You'll need to update the text in order to customise the button label and behaviour. The pp_button link property will define where the button links to and the content property will define the text inside of the button on the front end.
For example, the front end output of the code above will be a button whose text reads 'View full information'. When clicked, the button will link off to the Google home page.
How do I add a button to my content?
Prospectus Plus offers a way to add a button to any piece of content on your site - whether that be a page or a course - by way of a simple shortcode.
A shortcode is a small snippet of code that instructs the system to output a recognised feature. It will need to be copied in the exact format you see here in order to work. Here it is:
[pp_button link='https://www.google.com']View full information[/pp_button]
Which parts of the shortcode do I need to change?
You'll need to update the text in order to customise the button label and behaviour. The pp_button link property will define where the button links to and the content property will define the text inside of the button on the front end.
For example, the front end output of the code above will be a button whose text reads 'View full information'. When clicked, the button will link off to the Google home page.
How this looks in the backend
How this looks on the front end
Updated on: 23/08/2024
Thank you!