digitoimistodude / air-light

💨 WordPress starter theme - designed to be minimal, ultra-lightweight (< 20 kB) and easy for all kinds of WordPress projects. 7+years/1000+hours of development and still updating daily! We prefer the original WordPress way of doing things so no strange templating languages or frameworks here.
https://airwptheme.com
MIT License
957 stars 141 forks source link

Custom ACF Blocks not available on pages #226

Closed villekujansuu closed 1 month ago

villekujansuu commented 1 month ago

In this version custom ACF Blocks are not available on pages unless the line 140 is changed to page' => 'acf', in functions.php. If that line is removed, pages have all core blocks and all ACF blocks.

This becomes an issue if there is a need to have both custom ACF Blocks and some selected core blocks on page.

ronilaukkarinen commented 1 month ago

Thanks for informing. I agree, this needs to be improved further. No release is not yet made for this (it's rc which means it's not there yet), it's only in the dev-version. In retrospective should'be left that in its own branch.

We'll improve it asap.

villekujansuu commented 1 month ago

The version I'm using is actually 9.4.4. Don't know where I got version number 9.5 :D

Edited the title with right version.

ronilaukkarinen commented 1 month ago

Technically there is no version where this change is present, yet. But the latest main shows the latest version.

https://github.com/digitoimistodude/air-light/blob/b05b3980e85a454b1f0297c4d90c6d78ce652145/CHANGELOG.md?plain=1#L1-L4

villekujansuu commented 1 month ago

I see. I accidentally downloaded wrong package. Shouldn't work tired late at night. Thanks for the quick reply.

ronilaukkarinen commented 1 month ago

Fixed in the latest main/dev (9.5.0rc). Will be established in the upcoming 9.5.0. Thanks again for the notion @villekujansuu!