Is there a way to call a Section via shortcode, like allows me to call a widget via shortcode?
Example of Desired Section via Shortcode:
Example of Widget via Shortcode (via the plugin linked to above):
Thank you.
8 replies to this topic
#1
Posted 29 October 2012 - 02:46 PM
#2
Posted 29 October 2012 - 02:59 PM
Where are you trying to call the section? Inside a widget?
#3
Posted 29 October 2012 - 03:31 PM
If, for example, I wanted a Hero Section within the page content area, I could use something like this if Sections were able to be called via shortcode:
The talk about widgets was just saying that it's possible with widgets (not PageLines-specific) and that I'd like the same sort of functionality in PageLines for the Sections.
Thank you.
The talk about widgets was just saying that it's possible with widgets (not PageLines-specific) and that I'd like the same sort of functionality in PageLines for the Sections.
Thank you.
#4
Posted 29 October 2012 - 03:42 PM
There are no shortcodes for page sections. You'll either need to add the section below or above the content area section. If you need to add a hero-like element to the content area, there may be a suitable HTML workaround for it.
#5
Posted 29 October 2012 - 03:46 PM
Thank you for confirming there are no shortcodes for sections. Can you or I submit that to Tracking as a feature request?
Could you tell me / provide the code for the HTML workaround you're referring to?
Thank you.
Could you tell me / provide the code for the HTML workaround you're referring to?
Thank you.
#6
Posted 29 October 2012 - 03:55 PM
Please dont submit it, sections use classes and child classes. They just wont work as shortcodes.
#7
Posted 29 October 2012 - 04:04 PM
What do you plan on having in your Hero section? That way I can point you to the right tutorials.
#8
Posted 29 October 2012 - 04:53 PM
Thanks, Simon. Bummer.
Catrina, any generic example is fine. Thank you.
Catrina, any generic example is fine. Thank you.
#9
Posted 29 October 2012 - 05:33 PM
Hero is used primarily to add content that has a button.
If you want to use the button functionality used in Hero, you can add buttons using the buttom shortcodes available here:
If you want to use the button functionality used in Hero, you can add buttons using the buttom shortcodes available here:











