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 :/
Need custom programming for your Lay Theme site?
I regularly add new features to Lay Theme for free, based on user feedback. But if you or your client need something more specific, I’m happy to offer custom paid programming tailored to your project.
Email info@laytheme.com with the subject "Custom paid programming for Lay Theme" and a short description of what you need — I’ll reply with a cost estimate.
Custom features I build often make it into future Lay Theme updates, so your idea might benefit the whole community.
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