Jump to content


Photo
- - - - -

tabs

tabs

Best Answer James B , 19 April 2013 - 10:45 PM

Hi there,

 

Wrap the tabs code in [pl_raw] tags, this will ensure the code is read correctly. I've copied in the example from the demo page below for you to see, place your code in where the shortcode is in the example.

 

You may find that Wordpress inserts line-breaks when using Shortcodes on different lines. To prevent this from ruining your day, wrap problematic shortcodes in RAW. Example: rawSC.png?v=1363434364

Go to the full post


  • Please log in to reply
1 reply to this topic

#1 8216az7373

8216az7373

    Super Member

  • Members
  • 100 posts
  • Country: Country Flag

Posted 19 April 2013 - 10:24 PM

Pagelines > frameworks >

 

Pagelines Tools > Tabs

 

Issue: Im trying to use the pagelines tools code that creates tabs (see below)

 

  1. [pl_tabs][pl_tabtitlesection type="tabs"]
  2. [pl_tabtitle active="yes" number="1"]Title 1[/pl_tabtitle]
  3. [pl_tabtitle number="2"]Title 2[/pl_tabtitle]
  4. [/pl_tabtitlesection][pl_tabcontentsection]
  5. [pl_tabcontent active="yes" number="1"]
  6. Lorem ipsum dolor sit amet, consectetur adipiscing elit
  7. [/pl_tabcontent]
  8. [pl_tabcontent number="2"]
  9. <img class="pl-imageframe" alt="" />
  10. [/pl_tabcontent]
  11. [/pl_tabcontentsection]
  12.  
  13. [/pl_tabs]

 

 

However, when I view it on my site the tabs do not line up horizontally. One tab or another is always out of place (See

Please Login or Register to see this Hidden Content

)

 

)

 

 



#2 James B

James B

    Advocate

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

Posted 19 April 2013 - 10:45 PM   Best Answer

Hi there,

 

Wrap the tabs code in [pl_raw] tags, this will ensure the code is read correctly. I've copied in the example from the demo page below for you to see, place your code in where the shortcode is in the example.

 

You may find that Wordpress inserts line-breaks when using Shortcodes on different lines. To prevent this from ruining your day, wrap problematic shortcodes in RAW. Example: rawSC.png?v=1363434364







Also tagged with one or more of these keywords: tabs