Jump to content


Photo
- - - - -

All accordians stays open when implemented

accordian shortcode

  • Please log in to reply
6 replies to this topic

#1 chrisdhanaraj

chrisdhanaraj

    Member

  • Members
  • 29 posts
  • Framework Version:4.1
  • Country: Country Flag

Posted 15 October 2012 - 03:06 PM

Hello,

I implemented the accordian shortcode and all content stays open. Here's the test


[pl_raw]
[pl_accordion name="accordion"][pl_accordioncontent name="accordion" number="1" heading="Tile 1" open="yes"]
Content 1
[/pl_accordioncontent]
[pl_accordioncontent name="accordion" number="2" heading="Title 2"]
content 2
[/pl_accordioncontent]
[/pl_accordion]
[/pl_raw]

- See enclosed image....

Attached Files



#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 15 October 2012 - 03:09 PM

Please remove open="yes" from your code and see if the accordion remains open.

#3 chrisdhanaraj

chrisdhanaraj

    Member

  • Members
  • 29 posts
  • Framework Version:4.1
  • Country: Country Flag

Posted 15 October 2012 - 03:11 PM

Yes, it still remains open....

#4 batman

batman

    Bat Learning

  • Members

  • 2027 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 15 October 2012 - 06:56 PM

Hi
Please try with:

[pl_raw]
[pl_accordion name="accordion"][pl_accordioncontent name="accordion" number="1" heading="Tile 1" open="no"]
Content 1
[/pl_accordioncontent]
[pl_accordioncontent name="accordion" number="2" heading="Title 2"]
content 2
[/pl_accordioncontent]
[/pl_accordion]
[/pl_raw]

This work fine to me
;)

#5 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 17 October 2012 - 01:56 AM

Let us know if Batmans solution works for you or if you require further assistance.

#6 chrisdhanaraj

chrisdhanaraj

    Member

  • Members
  • 29 posts
  • Framework Version:4.1
  • Country: Country Flag

Posted 17 October 2012 - 02:27 PM

I tried the solution and they all stay open. Sorry for the delay....

#7 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 17 October 2012 - 11:08 PM

Do you have cache enabled, perhaps a plugin?





Also tagged with one or more of these keywords: accordian, shortcode