I am not sure, I understand exactly what you are trying to do. Can you please post more information, what files you are editing, the code and the error message?
The Foundation grid uses two elements – a row that creates a horizontal block to contain vertical columns. And then the columns. You can’t use the columns without the row wrap. More Info
The structure should be like this:
<div class="row">
<div class="small-12 medium-4 columns"> Your Content </div>
<div class="small-12 medium-4 columns"> Your Content </div>
<div class="small-12 medium-4 columns"> Your Content </div>
</div>
I am not sure where you want to put this code. But if it is in a template file, and you want to use the shortcode, you need to use the do_shortcode() function. More Info
Good morning,
Well it must have been a long day of coding, because what I was trying to do actually works. I am not sure why I was getting that weird error, it was most likely bad code or something out of place.
Than you for taking the time to assist and for the awesome plugin by the way!
Have a nice day.
It’s not a problem. Thank you for downloading the plugin.
Hello again,
so with some more testing I figured out what the issue is.
The code below is what I am trying to get working as I have the row div already in place in my template ex:”<div class=’row’>”.
[fp-columns][/fp-columns]
[fp-columns][/fp-columns]
[fp-columns][/fp-columns]
This does not work though as it is expecting the shortcode for a row? Is there anyway around that?
It throws this error “Notice: Undefined variable: html in C:\xampp\htdocs\wordpress\wp-content\plugins\fp-foundation-assistant\includes\class-wordpress-shortcodes-foundation-5.php on line 1216”.
The code below works, but now I am getting the helper message on the screen where the row shortcode is “Place here the shortcode tags for the column content.”
[fp-columns][/fp-columns]
[fp-columns][/fp-columns]
[fp-columns][/fp-columns]
[fp-rows][/fp-rows]
Any information would be awesome.
Thank you
The shortcode can’t work without the row wrap, as the class for the grid shortcode depends on both. The solution is to use consistently either html or the shortcode tags.
My advice is to either replace the <div class=”row”></div> with [fp-rows][/fp-rows], or just use html for the columns as well.
Again, I can’t give more specific help without seeing the code.
Bummer. Thank you for your time. I will have to rethink what I am trying to accomplish.
I am sorry for the late reply. Good luck with the site and if you have any more questions about the plugin, I’ll try and help.