Jump to content
Sign in to follow this  
pagerun

shortcodes

Recommended Posts

pagerun

Just looking at some websites using pagelines and they are using shortcodes to create columns:

for example 2 columns: one_half one_half

or 3 columns: one_third one_third one_third

Could you pls reference the documentation for this? I don't see it in the less documentation

Thanks

Share this post


Link to post
Share on other sites
Danny

Hi,

I am not sure what you're referring to when you say "Less Documentation". However you can see the PageLines grid here - http://demo.pagelines.me/tools/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
pagerun

Ah my mistake - I was looking at the pagelines showcase page, but I just realised that some of those sites are no longer using pagelines.

The issue though with the pagelines grid, is that for example if i want 3 equal columns, the 4 span each, the columns are very close to each other.

If I want to add a space, it doesn't seem possible. If i add a span 1 between each column, then the columns cannot be equal width, one of the columns would need to be a bit wider.

The spaces are total 2 span from the total width of 12, leaves 10, can't divide by 3. One column needs to be 4 and the other two columns are 3 span each.

Is there a way to addi some space between 3 columns and keeping them equal?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • jeomiland
      By jeomiland+
      Howdi
      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?
      Thanks
      john erik
    • Jason
      By Jason+
      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>  
    • Jason
      By Jason+
      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.
       
      Thanks
    • bnapoli
      By bnapoli+
      On my site www.anewbeginning.com the "toggle" function mysteriously stopped working.  I have tried all browsers, tried disabling plugins, removing all the relevant CSS but still cant understand why it isn't working.
      The toggle is placed on this page: http://anewbeginning.com/?page_id=15965 and http://anewbeginning.com/?page_id=10779 but it does not display.
      On my other Platform5 websites, that exact code works fine: see here http://4aa.d11.myftpupload.com/?page_id=123
      Code is the same. Please help, thank you!
    • micstepl
      By micstepl+
      Pagelines seems to "disallow" the (a) usage and/or (display) of shortcodes.
      Specifically I need shortcodes in "description" of "tag/catagory" in order to display images/fontawsome, before a category.
      Please can you provide a fix for me to allow. 
×