Tag title not being returned in page title of tag archives

I found my error. I had elseif ( tribe_is_upcoming() && ! is_tax() ) as a previous conditional, so that was getting applied to the tag pages before it got to the is_tag() conditions. Correcting this to elseif ( tribe_is_upcoming() && ! is_tax() && ! is_tag() ) allowed it to get to the is_tag() conditions.

Include custom fields in search

you can create your own search creating a file called search.php in your theme, there you can customize your search however you want. probably you already have a way to call it, however you can call it with get_search_form();

How to extend SelectControl with data from my theme

You can use wp_localize_script() to pass JavaScript variables to the editor: $asset_file = include(get_template_directory() . ‘/path/to/blocks/index.asset.php’); wp_register_script( ‘pb-theme-blocks’, get_template_directory_uri() . ‘/path/to/blocks/index.js’, $asset_file[‘dependencies’], $asset_file[‘version’] ); wp_localize_script( ‘pb-theme-blocks’, ‘pbThemeBlocksVars’, array( ‘classes’ => array(), // Your theme classes go here ) ); Then in your edit function: const classes = pbThemeBlocksVars.classes;