How to replace the Gutenberg default block with a custom block?
How to replace the Gutenberg default block with a custom block?
How to replace the Gutenberg default block with a custom block?
Create Gutenburg Block to render inline SVG
If I’m understanding you correctly, you’re just seeing Gutenberg in Full Screen Mode (set as default in WP 5.4). You can turn it off using the More Tools and Options control (the 3 dots in the top right).
I found the culprit. I had to change the nonce check in save_custom_post_type() to: if ( !isset( $_POST[‘metabox_nonce’] ) || !wp_verify_nonce( $_POST[‘metabox_nonce’], basename( __FILE__ ) ) ) { return $post_id; }
how to use a Text component in javascript?
Gutenberg Shortcode will turn html to html entity
How to increase width of code block in WordPress blog?
This is more of a PHP question than a WordPress one but you could do the following: function wp_template_lock_example() { // Make an array of your post types $post_types = array(‘subject-imposed’, ‘subject-free’, ‘dissertation’); // Loop the array and apply the template details to each. foreach ( $post_types as $post_type ) { $post_type_object = get_post_type_object( $post_type … Read more
At first, extracting results into a file with: # create a file needed curl –globoff –silent “https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request[browse]=blocks&request[page]=1&request[per_page]=400” | jq “.plugins[] | { name: .name, url: \”https://wordpress.org/plugins/\\(.slug)/\”, short: .short_description, description: .description }” > wp-block-plugins.json curl –globoff –silent “https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request[browse]=blocks&request[page]=2&request[per_page]=400” | jq “.plugins[] | { name: .name, url: \”https://wordpress.org/plugins/\\(.slug)/\”, short: .short_description, description: .description }” >> wp-block-plugins.json Now, when … Read more
Get value of custom checkbox from Gutenberg sidebar in plugin