When developing a section in PL5, if I wanted to echo the section's clone ID, how would I go about doing this?
In DMS, I would use:
but I can't seem to figure it out in PL5
Am following a couple of tutorials about making custom shortcodes and making them available in your site. They recommend to make a "my_custom_shortcode.php" file in wp-content folder so it survives Core wordpress and Theme updates. However, they then say to place a couple lines of code in the theme functions.php file. The one in pl-framework theme folder does not look like the best place to put that code and I can't see a shortcodes.php file in the theme.
So where is the best place and way to add custom shortcodes to a Pl5 project?
Any chance you can add anchors to the tabs shortcode (similar to ultimate shortcode plugin)?
Just annoying having to use that plugin rather than pagelines one
<h2>Tabs anchors</h2> [su_tabs] [su_tab title="Tab 1" anchor="First"] Tab 1 content [/su_tab] [su_tab title="Tab 2" anchor="Second"] Tab 2 content [/su_tab] [su_tab title="Tab 3" anchor="Third"] Tab 3 content [/su_tab] [/su_tabs] Use next links to switch this tabs <a href="#First">Open tab 1</a> | <a href="#Second">Open tab 2</a> | <a href="#Third">Open tab 3</a>
Any solution to map section not rendering inside tab shortcode.
(Map sits inside 3rd tab so map not visible on page load)
Also this just seems to effect the map section. Map shortcode renders fine.
I want to use the map section for finer control over markers and locations
Renders fine if in first page.
By John Olsson+
We're often working with ACF (https://www.advancedcustomfields.com/) that's great for user experience in the backend, 'cause we don't want out clients to be in the editor to much.
So we want to be able to use shortcodes in the editor fields, regardless of section, THIS WOULD BE SO GREAT. Is there a way to fix this, it should open up som much more functionality.
In ACF, the shortcode is for example:
[acf field="field_name"] ...for example, I want to att field_names value to display in a section, i understand I can make it in embed and so, but I want it in titles and options, the whole range.
I know I can build my own sections, that we've done, but it's not very effective, and thats what PL5 is about.
Any ideas on this, can Pagelines take this in the core? I guessing there are more than just ACF out there who can use this.