Jump to content
TourKick (Clifford P)

Call A Section Via Shortcode

Recommended Posts

TourKick (Clifford P)    1
TourKick (Clifford P)

Is there a way to call a Section via shortcode, like http://wordpress.org...ze-pages-light/ allows me to call a widget via shortcode?

Example of Desired Section via Shortcode:


This is my collection of Boxes

[plboxes]

I hope you liked my collection of Boxes.

Example of Widget via Shortcode (via the plugin linked to above):

This is my Search Box widget area.

[otw_is sidebar=otw-sidebar-1]

Use it to search my site.

Thank you.

Share this post


Link to post
Share on other sites
TourKick (Clifford P)    1
TourKick (Clifford P)

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:


This is my Hero section

[plhero]

I hope you liked my Hero section.

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.

Share this post


Link to post
Share on other sites
catrina    103
catrina

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.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
TourKick (Clifford P)    1
TourKick (Clifford P)

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.

Share this post


Link to post
Share on other sites
Simon    247
Simon

Please dont submit it, sections use classes and child classes. They just wont work as shortcodes.

Share this post


Link to post
Share on other sites
catrina    103
catrina

What do you plan on having in your Hero section? That way I can point you to the right tutorials.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
TourKick (Clifford P)    1
TourKick (Clifford P)

Thanks, Simon. Bummer.

Catrina, any generic example is fine. Thank you.

Share this post


Link to post
Share on other sites
catrina    103
catrina

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: http://demo.pagelines.me/tools/


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×