Retrieve content from the Laytheme API
-
Hi @arminunruh,
I was wondering how to get some data from the API you use in building the content of Laytheme.
Is there a way to get, for example, the images from a page on another page ?Thank you so much,
Tristan -
Hey Tristan!
No I don't think there's a way to do that. I plan on creating a standalone gridder wordpress plugin that will work with any theme or that you can use to create your own wordpress theme.For Lay Theme itself there is just this event:
<script> Frontend.module("GlobalEvents").on('newprojectpagelayoutobj', function(layoutObj){ console.log(layoutObj); }); </script>
Look at the layoutObj. Its a javascript object that contains all the content of the grid. But I think this doesn't help much in your case.
-
@arminunruh Hi Armin,
is there any progress on the gridder plugin?
i've been searching through all the visual editors that work on a grid system and none compare...
really looking forward to it if you will release it, any idea when?
thanks
B -
:D it's hard to say, I'm working on a carousel update right now, then I should fix some things for lay theme, then I need to work just a few days on a client project and then I want to start with the standalone gridder plugin.
-
Hey wren, I changed my plan and going to work on sth that will take some more time. So yeah, I can't tell you when I will release the gridder as a standalone version :/
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it
I don't answer or check forum DMs, please just post on the forum.