How can I filter block registration based on post-type? (Block alignment settings)
I want to disable the .alignwide and .alignfull block alignment options (remove them from the editor UI) on the ‘post’ post-type only. I … Read more
I want to disable the .alignwide and .alignfull block alignment options (remove them from the editor UI) on the ‘post’ post-type only. I … Read more
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 … Read more
I have been trying to output content of all post-types (Posts, Pages and CPTs) based on a term of a custom taxonomy that … Read more
So I am running the following query: <?php $args = new WP_Query(array( ‘post_type’ => ‘attachment’, ‘posts_per_page’ => -1, ‘oderby’ => ‘title’, ‘order’ => … Read more
I have registered a custom post type “Animals” and also two custom taxonomies (“Vertebrate” and “Type”) assigned to it, which have their own … Read more
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 … Read more
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 … Read more
I am developing a website for a record label and the basically it uses quite a few custom post types for various pieces … Read more
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 … Read more
I just want to remove Comment’s column in all post-types and in a single function My current function , Have to do each … Read more