This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*Replaces the "description field" on the Author edit page with a tinymce editor*/ | |
add_action("jjm_author_tax_edit_form_fields", 'add_form_fields_example', 10, 2); | |
function add_form_fields_example($term, $taxonomy){ | |
?> | |
<tr valign="top"> | |
<th scope="row">Description</th> | |
<td> | |
<?php wp_editor(html_entity_decode($term->description), 'description', array('media_buttons' => false)); ?> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Gutenberg Block customization for this theme. | |
*/ | |
// gutenberg disable for posts | |
//add_filter('use_block_editor_for_post', '__return_false', 10); | |
// gutenberg disable for post types | |
//add_filter('use_block_editor_for_post_type', '__return_false', 10); |