Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nanoSLider in component
#5
(2013-05-13, 17:38:46)raowyr Wrote:
(2013-05-13, 15:56:21)Carlos Wrote: You could insert the php code in a component and use the dynpages plugin.

Hi.
First of all, thanks.

I already use dynpages, but, in this case, i can't use it or i don't know how.

The problem is how can i use php code (to call nanoSlider) if the plugin don't offer (or maybe i don't know how!!!) a function to call but only a script call (% %).

I wanted to do a similar thing and I was able to put it in a template by the following method-

Make an empty page with just the nanoslider shortcode and options in it. I called it 'sliderpage'
Untick the page option "include this page in menu"
Use the getPageContent('sliderpage') to include in a template.

You may have to wrap it in a div to make sure it positions correctly and clears other elements.
Reply


Messages In This Thread
nanoSLider in component - by raowyr - 2013-05-13, 15:35:42
RE: nanoSLider in component - by Carlos - 2013-05-13, 15:56:21
RE: nanoSLider in component - by raowyr - 2013-05-13, 17:38:46
RE: nanoSLider in component - by lesh - 2014-07-25, 02:52:59
RE: nanoSLider in component - by wdburgdorf - 2015-11-08, 09:05:54
RE: nanoSLider in component - by Carlos - 2013-05-14, 00:53:12



Users browsing this thread: 1 Guest(s)