lazy-blocks
lazy-blocks copied to clipboard
Get post,categories,taxonomies
The plugin is great and very useful. I know the plugin is in early stage but can we have the possibility of getting posts, categories ??
eg. I want to create a testimonial section, for that, I want to select categories and from that categories, I want to get the post. Will that be possible to get all categories ??
I got this tutorial on how to import posts https://www.ibenic.com/create-gutenberg-block-displaying-post/ but couldn't achieve the desired result. This may be helpful to you.
Run into needing this on almost every project, would be great if lazyblocks could handle this out of the box.
Ideally i'd like to be able to select an individual post type post, an individual taxonomy item and X posts from a post type
@nk-o I created a select dynamic control based on your custom control template. Would you accept a PR if I would transform it to a regular control based on this repo or should I rather publish it as a separate wordpress plugin?
@janwidmer we have plans to make this control in the Pro plugin version. You can make a separate plugin for it.
@nk-o ok thanks for the quick reply. :-)
@ravishakya @matt3224 i published a plugin, if someone wants to give it a try: https://wordpress.org/plugins/lzb-select-dynamic/
Of course, it's an initial try, some the options you described are not there (yet). I will probably enhance it as soon as I need those options..
@janwidmer I downloaded your plugin https://wordpress.org/plugins/lzb-select-dynamic/ Its not working inside the repeater in lazy block. Anything i can tweak to make it work.
@demahagit could you please open an issue in my repo https://github.com/janwidmer/lzb-select-dynamic and post any helpful information (Printscreen / JS Exception from Console..) there?
Hello Nk,
It's working now. I have created another issue to get posts as per the category selected.
Regards, Deepti
On Wed, Jun 23, 2021 at 3:19 PM Jan Widmer @.***> wrote:
@demahagit https://github.com/demahagit could you please open an issue in my repo https://github.com/janwidmer/lzb-select-dynamic and post any helpful information (Printscreen / JS Exception from Console..) there?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nk-crew/lazy-blocks/issues/8#issuecomment-866695231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKEAL7XHXICVWNI7XKBMITTUGU2DANCNFSM4FSST4SQ .
This feature is available in the Lazy Blocks Pro https://www.lazyblocks.com/pro/