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 4588

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

0
votes
1answer
I'm using $_GET["post_type"] to direct my search to the correct templates and have used the following: <?php $search_refer = $_GET["post_type"]; if ($search_refer == 'news') { load_template(TEMPLATEP …
asked Jun 11 '12 by Rob
0
votes
1answer
I've created a custom post type and custom taxonomy (all fine so far!) but when I try to view the post it's giving me a page not found. What do I need to do to setup a template which the custom post …
asked Apr 4 '12 by Rob
2
votes
1answer
http://www.mediwales.com/v3/members/ At the moment, if you search just using a keyword it shows the correct member. But if you just search using a category it just shows the full list. What code can …
asked May 2 '12 by Rob
2
votes
2answers
I'm currently using this code to display a menu of pages. I'm using CSS to target the class current_page_item which works fine until you're on a page with a custom post type. How can I target that c …
asked May 2 '12 by Rob
6
votes
3answers
I have the following below which I have used to create a custom post type and a custom taxonomy. Within the products section I've created the categories "monitors" & "consumables". I have then creat …
asked Aug 15 '12 by Rob
0
votes
1answer
I need to show a list of custom posts but exclude any that have the custom taxonomy 51, is it possible to do it with the loop below? $pages = get_children(array('orderby' => 'post_date', 'post_type' …
asked May 10 '12 by Rob
0
votes
1answer
I have a search page that display's news items using the loop below, how can I only show posts with the status "future"? <?php while (have_posts()) : the_post(); ?> …
asked Jun 11 '12 by Rob
0
votes
1answer
I've made WP into a cms and there's a few niggling things that cause confusion. The main one is that when you create a page, you have to first select a template then enter a title then save as draft f …
asked Jun 14 '11 by Rob
0
votes
1answer
I have a custom post type with custom categories using the following: add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'products', array( …
asked Aug 13 '12 by Rob
1
vote
Can't believe I didn't see this sooner, simply solved it with this in the query: 'post_status' => 'future' So once published it just disappears from the list.
answered Apr 27 '12 by Rob
1
vote
1answer
How can I only show items from a certain category (category 51)? Here's my loop below that I need to incorporate the code into. <div class="news-content-inner"> <?php $portfolioloop = new WP_Query …
asked Apr 27 '12 by Rob
4
votes
4answers
I want to be able to allow a user to register/login via a front end form and be able to create 1 custom post which only they will be able to edit and update via a front end form. This will be part of …
asked Jul 3 '12 by Rob
1
vote
3answers
Is it possible to only show posts that have todays date or in the future? I don't want to show any posts that are in the past. Also, I want the list to show posts that have a date in the future as i …
asked Apr 27 '12 by Rob
1
vote
2answers
Is it possible to limit a search for keywords to a specific post type (say 'news') but filter the results by selected custom taxonomies? I have a news section. This has the custom post type called ' …
asked Mar 13 '12 by Rob
2
votes
3answers
I have the following custom post-type and custom taxonomy setup: add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'system', array( ' …
asked Oct 24 '12 by Rob

15 30 50 per page