Multiple Accordions On One Page
#1
Posted 27 November 2012 - 04:17 PM
I am trying to implement multiple accordions on one page and can not get them to work.
I have made sure each accordion has a unique name
name="accordion1"
name="accordion2"
etc etc
I have, within each accordion, numbered them
number="1"
number="2"
etc etc
Yet it seems to only load the first set of accordions and then repeats it instead of the others (2,3,4)
What am I missing?
Thanks
#2
Posted 27 November 2012 - 10:22 PM
In your code the first two accordions you increase the number but then in the next accordions you went back to number 1. You need to keep increasing the number so that each number is unique no matter what accordion it is in.
#3
Posted 28 November 2012 - 12:02 AM
Here is the code that worked for me.
#4
Posted 28 November 2012 - 04:13 AM
#5
Posted 04 December 2012 - 10:06 PM
Hi,
Thanks!
It works .... but there is massive spaces between the rows. Minor in Chrome - Major in IE9
#6
Posted 04 December 2012 - 10:29 PM
Wordpress is formatting your spaces into paragraph tags. Use the pl_raw shortcode, but wrap your entire pages content with it.
[pl_raw]
all your stuff
[/pl_raw]
#7
Posted 04 December 2012 - 10:38 PM
THANK YOU beardedavenger !!!
That worked :-)
#8
Posted 04 December 2012 - 10:41 PM
np
Also tagged with one or more of these keywords: shortcode, multiple, accordion
Customizing AccordionStarted by mudgal , 17 May 2013 |
|
|
||
Facebook Like Button ShortcodeStarted by ginnywills , 07 May 2013 |
|
|
||
PageLines Framework →
Customizations →
Shortcode in meta settings?Started by infogroupsmb , 18 Mar 2013 |
|
|
||
PageLines Framework →
Technical Support →
Shortcode in the accordion shortcodeStarted by salestrakr , 04 Mar 2013 |
|
|
||
Accordion in Badass Shortcodes not working properlyStarted by lemonstripe , 27 Feb 2013 |
|
|












