I’m trying to add a rich text editor to my own plugin. So I googled it first of course and I found several answers on dev4press and Stack Overflow....
This question already has answers here: Inserting terms in an Hierarchical Taxonomy (7 answers) Closed 8 years ago. I am inserting an array of terms into my custom taxonomy...
I have just noticed that on my installation of wordpress, within the gallery image pages, the previous/next buttons are browsing through my entire media library rather than just those...
For the sake of this discussion, here’s a version of my query within category.php: wp_reset_query(); $category_id = get_cat_ID(single_cat_title('', false)); $my_query = new WP_Query(array( 'posts_per_page' => SOME_DEFINED_VALUE, 'cat' => $category_id,...
I’m having this code: wp_register_script('parent','parent.js', array('child'), '1', true); wp_register_script('child', 'child.js', array('grandchild'), '1', true); wp_register_script('grandchild', 'grandchild.js', array(), '1', true); wp_enqueue_script('parent'); and it works fine, rendering grandchild.js, then child.js, then parent.js...
Background: I’ve come accross this WP issue: https://core.trac.wordpress.org/ticket/41445 In short: when you make a request to a post over the REST API, if the featured image was originally uploaded...
I have defined in my config: define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/somedirectory' ); after Codex: Editing WP Config BUT <?php echo get_template_directory_uri(); ?> prints out: http://dev.domain.com/wp-content/themes/mytheme Even though it should...
When using the Gutenberg Block Editor the normal hooks for saving a post don’t have the same behavior as with the classic editor. pre_post_update save_post wp_insert_post For example, if...
I’ve got a page that calls wp_editor in the front end. Since upgrading to 4.5, the Add Media button no longer does anything at all. It works fine if...
I’ve been trying to track down why my s3 bucket files are no longer being attached to automated emails being sent out by WordPress (using the Gravity Forms Entry...