You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.
Luke Carbis edited this page May 15, 2019
·
5 revisions
Q. How do I access the "Additional CSS Class" setting in my template?
A. This setting is saved using a pre-defined slug: className.
You output it using block_field('className') or echo block_value('className').
Q. What prefix does Block Lab use for custom blocks? WordPress uses core for the blocks that come standard with WordPress (e.g. core/paragraph, core/image), so what does Block Lab use?
A. Custom blocks built with Block Lab are prefixed with block-lab. For example, if you created a custom block with the name feature, it would be registered as block-lab/feature.