The Stack Overflow podcast is back! Listen to an interview with our new CEO.
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 48370

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

0
votes
1answer
Is there a plugin or code of sort that can display the last posts in a custom post type of a blog author? I know there are plugins/codes to display the last posts of the author, but I want to display …
asked Jul 25 '14 by Bernie
1
vote
For some reason, 'user_id' => $user->ID, is not working since I did not set global current_user on. The first three lines should be replaced with something like this: <?php $args = array( 'us …
answered Sep 8 '14 by Bernie
1
vote
1answer
I am trying to get all the comments of the logged in user in the "foods" CPT but I'm still with no success. Here's my code: <?php $args = array( 'user_id' => $user->ID, 'post_type' = …
asked Sep 7 '14 by Bernie
0
votes
Try adding the return as well in the else{}, like this: function template_chooser($template) { global $wp_query; $post_type = get_query_var('post_type'); if( $wp_query->is_search && $post_ty …
answered Sep 23 '14 by Bernie
-1
votes
1answer
What I'm trying to do is similar to this one but we have a bit of difference in getting our info. Basically, when a user creates a post (under suggestions custom post type) on my site, it is not publ …
asked Sep 6 '14 by Bernie
2
votes
1answer
I need a page to display all posts (in Foods custom post type) that have comments by the logged in user. The list just needs to show the title with link to the title. Is this possible? What I've tr …
asked Sep 8 '14 by Bernie