WordPress Codesnippets

The Easiest Way To Find WordPress Code Solutions

Latest snippets

add block category

This code registers a taxonomy called “block-category” for the ‘block’ post type. The taxonomy’s label is set to “Block Categories”

Read more

add custom block

This code adds a custom block to the WordPress editor using the add_action hook. The render_callback parameter contains a function

Read more