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:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it