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"
Bookmarks inbookmarks:mine
inbookmarks: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 6344

Custom Post Types extend WordPress to support additional content.

2
votes
2answers
I'm using WordPress as a customised CMS for my fishkeeping website. Currently I'm developing a Custom Post Type called species which produces an information sheet about a specific species of fish. W …
asked Dec 22 '11 by turbonerd
0
votes
OK, I've made a few subtle changes which have helped me to solve the problem. Firstly, a function to change the Title of the post. function custom_post_type_title ( $post_id ) { global $wpdb; …
answered Dec 25 '11 by turbonerd
0
votes
OK, this was actually a problem with another plugin. When using more than one Custom Post Type and the save_post action, a wp_nonce should be used to verify which plugin the action is actually coming …
answered Jan 23 '12 by turbonerd
1
vote
Something like this might work: <?php while (have_posts()) : the_post(); ?> <?php if ( 'future' === get_post_status( the_ID() ) ) : ?> <div <?php post_class(); ?>> <div class="news-it …
answered Jun 11 '12 by turbonerd
4
votes
2answers
The default WordPress search setup isn't really working for my website's setup. I have two custom post types (species, glossary) which I'd like to search for, as well as the standard post type. The …
asked Jun 18 '12 by turbonerd
0
votes
1answer
I have a Custom Post Type called glossary. I set up parent posts called "A", "B", etc. The glossary terms themselves are then set with the appropriate initial as their parent post. So, for example, "a …
asked Feb 21 '12 by turbonerd
0
votes
1answer
I have a custom post type called species which consists of a number of meta_fields. Ideally, what I'd like, is a word count for each species profile (that's just the term I use for a singular post of …
asked Jul 24 '12 by turbonerd
6
votes
2answers
I'm currently in the process of redeveloping my website. I've decided to use WordPress as its CMS, rather than coding everything from scratch. It's a fishkeeping website, consisting of species profil …
asked Jun 20 '11 by turbonerd
5
votes
4answers
IMPORTANT UPDATE: I've realised that my problems could also lie with the WordPress 3.3 update. A while ago I posted a solution to my own question about searching Custom Post Types. At that time, I …
asked Jun 8 '12 by turbonerd
1
vote
2answers
I know that I can require all of the comments on my site to be moderated, but is there a way of forcing moderation for a specific custom post type (i.e. my CPT "species") whilst allowing instantaneous …
asked Jan 21 '12 by turbonerd
0
votes
1answer
I'm sure this must be something simple, but I can't for the life of me work out why this isn't working. if (!class_exists('FeaturedItem')) : class FeaturedItem { var $plugin_url; function …
asked Jan 18 '12 by turbonerd
3
votes
3answers
I have a Glossary CPT. Title, editor, slug and featured image. I would like to add a filter to Post content (and content of my other CPT "species") which looks through all of the content in each post …
asked Feb 8 '12 by turbonerd
0
votes
1answer
As per this thread I'm scheduling a wp_cron every hour which runs a function. The function I'm running is reasonably lengthy and I didn't want authors to have to deal with the waiting times. My quest …
asked Feb 19 '12 by turbonerd
0
votes
1answer
I'm using WordPress as a Content Management System. I currently have a few different Custom Post Types: featured, species, answers, forums and glossary. These are all bespoke and wouldn't work with …
asked Oct 23 '12 by turbonerd
2
votes
3answers
When viewing non-custom Posts, you get the likes of this submenu: I'm not using a title - I'm using custom columns with two fields concatenated: Is there any quick and easy way of adding the sub …
asked Jun 25 '11 by turbonerd

15 30 50 per page