I want to disable the .alignwide and .alignfull block alignment options (remove them from the editor UI) on the ‘post’ post-type only. I have tried using this block registration...
If so, how should the query URL be formatted? I’ve tried: post_type=cat1&post_type=cat2 post_type=cat1,cat2 post_type=cat1+cat2 This bug report says you could use post_type=cat1&post_type=cat2 if not for the fact that “all...
I have been trying to output content of all post-types (Posts, Pages and CPTs) based on a term of a custom taxonomy that they must share (meaning if they...
So I am running the following query: <?php $args = new WP_Query(array( 'post_type' => 'attachment', 'posts_per_page' => -1, 'oderby' => 'title', 'order' => 'ASC', 'post_status' => 'any', 'post_parent' =>...
I have registered a custom post type “Animals” and also two custom taxonomies (“Vertebrate” and “Type”) assigned to it, which have their own specific terms, for “Vertebrate” it will...
I have one issue I’m trying to resolve hours ago searching around the web but can’t by now. Any Idea or clue is welcome… I’m trying to migrate a...
I’m confused about some of the messages that can appear on a post entry/edit screen in the admin area: $messages['post'] = array( 0 => '', // Unused. Messages start...
I am developing a website for a record label and the basically it uses quite a few custom post types for various pieces of information. My problem is that...
I’m trying to return only pages in search results. This is working: /?s=term&post_type=post It returns only posts, no pages. But the opposite is not working: /?s=term&post_type=page This is returning...
I just want to remove Comment’s column in all post-types and in a single function My current function , Have to do each post-type like this : function remove_post_columns($columns)...