lazy-blocks icon indicating copy to clipboard operation
lazy-blocks copied to clipboard

Get post,categories,taxonomies

Open ravishakya opened this issue 7 years ago • 9 comments
trafficstars

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 ??

ravishakya avatar Aug 31 '18 06:08 ravishakya

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.

ravishakya avatar Aug 31 '18 07:08 ravishakya

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

mattpilott avatar May 10 '20 20:05 mattpilott

@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 avatar Oct 11 '20 18:10 janwidmer

@janwidmer we have plans to make this control in the Pro plugin version. You can make a separate plugin for it.

nk-o avatar Oct 12 '20 09:10 nk-o

@nk-o ok thanks for the quick reply. :-)

janwidmer avatar Oct 12 '20 14:10 janwidmer

@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 avatar Oct 23 '20 12:10 janwidmer

@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 avatar Jun 23 '21 07:06 demahagit

@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?

janwidmer avatar Jun 23 '21 09:06 janwidmer

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 .

demahagit avatar Jun 23 '21 12:06 demahagit

This feature is available in the Lazy Blocks Pro https://www.lazyblocks.com/pro/

nk-o avatar Nov 08 '22 22:11 nk-o