Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 89973

Custom Post Types extend WordPress to support additional content.

0 votes

Content Editable CPT Archive?

For now I'm setting 'has_archive' => false in the CPT and creating a page with the same permalink as the post type's slug (foobar) - and re-saving permalinks. The query for the listing can be done in …
Fanky's user avatar
  • 317
1 vote

Adding a Taxonomy Filter to Admin List for a Custom Post Type?

Simply add this to your functions.php or plugin code (and replace YOURCUSTOMTYPE and YOURCUSTOMTAXONOMY). (I got the code from generatewp) add_action( 'restrict_manage_posts', 'filter_backend_by_taxon …
Fanky's user avatar
  • 317
4 votes

Enable sticky posts to custom post_type

Edit 2022: You can use the plugin mentioned in @Ray's answer now! Tested and seems to save the sticky attribute in a native way, so you can use e.g. ignore_sticky_posts Original Answer: As none of the …
Fanky's user avatar
  • 317
1 vote

Add Tags to custom post type

I was also missing the tags box on admin CPT edit screen. It appeared with adding 'show_in_rest' => true, in the register_taxonomy() params.
Fanky's user avatar
  • 317