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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 12404

Custom Post Types extend the WordPress back-end to support additional, non-Post content.

2
votes
"Allows Parent to be specified" means that the post type behaves more like pages than posts. What you are trying to achieve is not possible with core functions, but there's a plugin wich does almost …
answered Feb 23 '12 by swissspidy
1
vote
While the post type can add support for post formats using 'supports' or add_post_type_support(), it's up to the theme to say which formats will actually have an impact on the front end. Example: add …
answered Apr 3 '18 by swissspidy
0
votes
Just briefly looking at the code, the first thing I spotted is 'post_type=game&posts_per_page=4&paged=$paged'. Because you're using single quotes, paged will never equal the current page. You should …
answered Jan 22 '18 by swissspidy
0
votes
If anyone comes across this question. WordPress Codex says the following to 'orderby' => 'meta_value' and the order param: Note also that the sorting will be alphabetical which is fine for strings …
answered Feb 28 '12 by swissspidy
9
votes
WordPress has a handy function called post_exists() which allows you to find an existing post by its title, content, and/or date. It returns the post ID on success or 0 otherwise. In your case, you c …
answered Jan 18 '18 by swissspidy
0
votes
When registering a custom taxonomy, register_taxonomy() accepts an update_count_callback argument. This callback function will be called when the count is updated. The default callback is _update_pos …
answered Feb 9 '18 by swissspidy
0
votes
get_the_category() is for getting the default post categories and get_the_tag_list() for the default post tags. For custom taxonomies you must use get_the_terms(), i.e. get_the_terms( 'categoria-vide …
answered Jan 26 '18 by swissspidy
1
vote
The error message is pretty clear: Invalid taxonomy.. You're hooking to init to register your custom taxonomy, however you're calling get_terms( 'type' ) right away, before init is fired and therefor …
answered Mar 13 '18 by swissspidy