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.
By Jared Smith+
I'm using the Impulse section for a screen wide image. I'm seeing a funny thing though, whenever I turn off the page editor, all the impulse section pictures disappear. It has been saved. Any ideas. I can send you login links if need be.
With Editor ON (note, no save button)
you can see the waterfall image
When I turn editor off, it goes away