Jump to content

Archived

This topic is now archived and is closed to further replies.

dchetson

Where to Put Grid Shortcodes?

Recommended Posts

dchetson+    2
dchetson

Trying to sue grid shortcodes to create nested columns. Really dumb question, but where do you enter the shortcodes? Tried in the CSS area but that doesn't seem to work.

Share this post


Link to post
Share on other sites
Guest   
Guest

dchetson,

 

You would use them within your page/post content or anywhere else you would use a shortcode where you want your grid to go.

Share this post


Link to post
Share on other sites
dchetson+    2
dchetson

So on the html of the individual page? What if I want this to be consistent across all pages? Do I need to insert into html on each page individually?

Share this post


Link to post
Share on other sites
Guest   
Guest

dchetson,

 

The shortcodes merely provide the necessary html markup for the grid to work.  I'm not exactly sure what you are trying to achieve with them.  What are you trying to do?

Share this post


Link to post
Share on other sites

  • Similar Content

    • caspersjan
      By caspersjan
      Dear Pagelines, dear Evan,
       
      Grid Shortcodes is doing its simple work solidly, it probably never gets much praise. I am glad that it has been continued through all of Pagelines iterations since it arrived on the scene!
       
      However now I have a problem I fail to understand. I thought the spans can add up to 12. I am trying to achieve a three column set-up, like this:
       
      [row] [span8]Text[/span8] [span2]Text[/span2] [span2]Text[/span2] [/row]   But it breaks, i.e. the third column is put on a new page. If I try this it doesn't work either:   [row] [span3]Text[/span3] [span3]Text[/span3] [span3]Text[/span3] [/row]   Am I doing something wrong or leaving something out? You can see the page here: http://animatinglibraries.com/wordpress/?p=247 (underneath the second <hr> divider, "Report"/"Group size"/"Sessions") For a practical fix I used this solution - just making the wide column narrower:   [row] [span7]Text[/span7] [span2]Text[/span2] [span2]Text[/span2] [/row]   But I'd like to use the whole line - without the margin at the front and end that the 7/2/2 solution entails. Maybe you can help - I am as ever grateful for your assistance.   Yours faithfully, Jan.        
    • jamieg270
      By jamieg270+
      Hi Grid shortcodes don't seem to be working when nested. I am using DMS 2.0.5 I have deactivated all plugins leaving just the Paglines Updater, DMS Professional and Grid SHortcodes.
       
      This is my shortecode:
      [row] [span6] content here [/span6] [span6] [row_a] [span6] content here [/span6] [span6] content here [/span6] [/row_a] [/span6] [/row] Is there something I'm doing wrong? I've used this before on DMS v1.x.x without problems....
       
      I can't show you the result the file size for upload is too small to be able to attach the image!! However the [/row_a] and then [/span6] are being rendered in text on the page and the second nested column gets set as if its in its own row below the first. I don't have another DMS install to test this is so I'm not sure its reproducible. 
       
      I'm going to have to add the columns in using divs and classes as the client needs to see this tomorrow. 
       
      If I get the chance I'll set up a separate install to test aqain and give you an example to look at.
    • rpacker
      By rpacker
      I have installed the Grid Shortcodes plugin for Framework and the documentation links for Evan Mattson are broken.  Is there any documentation still online? Is this plugin no longer intended to be used? I can't seem to find a user interface for the shortcodes, that is, if there is one.
       
      Thanks.
    • jamieg270
      By jamieg270+
      Hi,
       
      I installed Grid Shortcodes as I thought it would be easier for my client to use when using columns. However I'm now getting a php error wherever I use them.
       
      Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/cypherde/public_html/pfc/site/wp-content/plugins/grid-shortcodes/grid-shortcodes.php on line 102

      Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/cypherde/public_html/pfc/site/wp-content/plugins/grid-shortcodes/grid-shortcodes.php on line 102

      Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/cypherde/public_html/pfc/site/wp-content/plugins/grid-shortcodes/grid-shortcodes.php on line 102
       
      You can see this at http://pfc.cypher-design.net/site on the first tab on the feature box.
       
      The feature box is custom code I've added into a custom section using a custom post type so the client cn update the tabs without my input.
       
      Any insight into the cause would be great.
       
      Thanks!
×