Log1x / acf-composer

Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.
https://github.com/Log1x/acf-composer
MIT License
417 stars 57 forks source link

How to retrieve the anchor or the ID of a block in blade #255

Closed cataras closed 3 months ago

cataras commented 3 months ago

Hello,

Thanks for your great work.

Is there a way to retrieve the block anchor or ID? I can't find the information anywhere.

Is there the equivalent of $block-classes for anchors?

Thanks in advance,

Log1x commented 3 months ago

hey, no problem. that kinda stuff will be on $block->block inside of the view, so $block->block->anchor

cataras commented 3 months ago

Thank you so much @Log1x! It seems so simple! And congratulations again on your great work!