Platform 5 comes ships with a lot of features that are revolutionary compared to its predecessors.
Today we are going to dig into the Shortcode aspect of Platform 5. With in Platform 5 you are now able to add sections to posts and pages right into the content via a shortcode generator. The button can be found above the post editor toolbar.
Adding a section to your post or page is simple and pain free. To begin start a new post or edit an old one.
You should see a shortcode button with the PageLines logo next to it. Clicking the button opens up to some new options. Look for the button that says Pagelines Section. You should now see all the sections that you have installed available to you.
To add a section to the page simply choose a section and give it a unique id (this is very important without the id you will not be able to edit it on the front end) and select insert shortcode.
You should now see something similar to this.
Congratulations you have just insert your first section with in a post.
How do I edit my section?
To edit your newly added section you will need to publish the post or page and view your post and turn the page builder on. You will notice that the section has a tab that when clicked allows you to edit it like a regular section.
You have all the options available just like any other section.
The sections you generate are connected. For example, if you add a section to a post and then use that same shortcode anywhere else on your site it will use the same settings as the one with in the post. So you could configure one and the data will carry over.
Also this will add a bit of flare and uniqueness to your posts.
Try adding a popthumbs into your post instead of the traditional method of adding media or the flickslider and you will instantly see how this can improve the look of your posts.
Currently you can’t save the shortcodes you generate. So unless you write it down you will have to go back to the post you generated it on and copy and paste it.
I found it useful to make a page called shortcodes and save all your generated shortcodes with in WordPress with a description.
Site wide Call To Action (CTA): Generate a shortcode either an elements or embed (if you want to build your own). Copy the short code and return to the front end and paste the shortcode in a textbox that is within a container. From there you can build your CTA .
After you have styled your CTA save it as a template and you now have a site wide CTA that can be placed anywhere. So now if you edit one they will all be updated.
For information on shortcodes and Platform 5 click here