Rest-Easy
Rest-Easy copied to clipboard
Wordpress plugin to rest-ify your site with zero effort and powerful customization.
This was discovered while working on the new Sesler site, which had a menu with 1400+ items in it. By default, on every request Rest Easy will query all menus,...
The wordpress `get_queried_object()` function is very handy, and might be worth adding along side the `loop` to help with category and archive pages. Also seems like it would be great...
On a new website I'm building, the client has attached 300+ images too many pages. These all get auto-serialized on each page (so when viewing a grid page, it is...
If I try to add the category ID of a menu item as a menu item class, it doesn't end up on the final menu item. This doesn't work: ```...
Hey, I'm reaching out for help more so than submitting an issue here! I'd like to: • Retrieve all posts from a specific category and include each post's ACF content...
`rez_serialize_object` should check that the object exists before serializing - can result in infinite loop otherwise.
To make Rest Easy work better with categories/archive pages, John and I were talking about how it would be good to add `wp_query` properties as meta to the JSON data...
I've been looking into performance issues on a site I'm building. It seems easy to abuse these serializes and cause infinite loops or huge query. Specially when doing things like...
I have a shortcode in the wp-content of this post: http://bernards.local/careers/employment/. This page loads fine. If I request the parent page (http://bernards.local/careers/) it will cause a 502 error and not...
I find myself doing this pattern a lot when writing a filter: ``` $args = array( ... ); $attachments = get_posts($args); foreach($attachments as $attachment) { $post_data['something'][] = apply_filters('rez_serialize_attachment', $attachment); }...