The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
296 views

has_archive for default post type

So I have several CPTs set up but I want to have all my default posts listed under /blog. I was hoping I could somehow enable has_archive for the default post type but I have yet to succeed. Any ...
4
votes
1answer
1k views

Custom Post Type Archives by Date with Custom Permalink

I'm a bit stuck with getting the custom permalink for custom post type (CPT) archive to work. I've registered my 'press_release' CPT as following: add_action('init', 'press_release_post_type_init'); ...
0
votes
1answer
369 views

custom post type not getting archived?

I'm used the plugin More Types to create a custom post type (News). I'm also using the plugin Smart Archives Reloaded to have an archive of my custom post type. The problem is when i click on a month ...
5
votes
3answers
2k views

How to use a custom post type archive as front page?

I'd like to use a custom post type archive as a site's front page, so that http://the_site.com/ is a custom post type archive displayed according to my archive-{post-type}.php file. Ideally I ...
4
votes
1answer
959 views

How to filter custom post type archive by meta value

I have a problem where I'm trying to build a calendar plugin for a client. I'm having trouble getting a date based archive for the custom post type I'm using. I'm not too well versed in how the ...
0
votes
1answer
466 views

WordPress sitemap with Custom Post Types

This is a really neat idea but I'd like to expand upon it. In his post, David Kennedy writes out some code to allow a basic wp_list_pages type feature for Custom Post Types to use as a sitemap. His ...
0
votes
1answer
106 views

Should I change these content meta types before building complex archive page?

Hi and thanks in advance for reading this long question. I'm about halfway through building a site for a NYT bestselling author, and have hit a point where I realize I may not have organized myself ...
0
votes
3answers
872 views

Pages not appearing?

I've created 6 different custom post types, each with their own archive. I've also created a page with the same name as the custom post type, and a sub-page called 'About' for each. For some reason, ...
0
votes
1answer
232 views

Add meta data to the custom post type ARCHIVES page

i can make an easy template for displaying custom post types. but what i'd like to do is add some editable text to the top of my loop. for example: Hey wow, we really make cool products. I think ...
1
vote
1answer
612 views

Extending AZIndex plugin to use custom post types and custom taxonomies

I desperately need to be able to display something exactly like this: http://bottlesup-07112011.31two.com/bottlesup-retailers/ 5 columns of custom post type posts sorted alphabetically by custom ...
1
vote
1answer
888 views

Archive list for custom post type categories

I am using a recipe plugin that uses a custom post type of 'recipe'. I currently have multiple lists of recipes from each category on a page. I am trying to get the title of each category list to link ...
0
votes
3answers
3k views

How to disable pagination (next/previous links) on post type archive?

How can I remove the next and previous links in a custom post type archive page, but only for that post type? I know I could wrap any function in if ( get_post_type($post) == 'myposttype' ) {} but I ...
1
vote
1answer
988 views

I can't set meta_key in my custom post type query

I've created a custom post, events, and saved the meta data event_year to each event. I'm trying to get a year's event archive. When I go the the following URL, the meta_key and meta_value are not ...
1
vote
0answers
421 views

Date archive shooting 404 when months and days are quarried [closed]

I know you guys have seen hundreds if not thousands of 404 questions. I assure you I have done everything in my power. 1. updates permalinks 2. using /%post_id%/%postname%/ for structure 3. have ...
5
votes
1answer
3k views

Custom Post Type Template - Archive

I have a custom post type, called 'job', and I have the following templates in my theme: single-job.php (works fine, displays single job as expected) archives-job.php (is not recognized?) ...
2
votes
2answers
637 views

How to list custom post types?

Here's what I'd like to do: a) Create a custom post type and write panel for a menu item called "My Stuff." b) "My Stuff" will behave like a category -- but the content will not appear in the main ...
1
vote
1answer
195 views

How to use has_archive but disable feed per post type?

What is the best way to disable feeds per post type but keep has_archive enabled?
4
votes
1answer
2k views

Sort Custom Post Type Archive by Taxonomy Term

What is the best method (as of 3.1 or 3.2 beta) to sort a custom post type archive by a given taxonomy term? I'm trying to make a staff page and I want to sort employees by department. So the ...
1
vote
1answer
626 views

An empty Custom Post Type Archive page returns 404 in WP 3.1

I have set up a Custom Post Type called "Portfolio". If I view the CPT's Archive page without adding any posts to it (/portfolio or /?post_type=portfolio), it returns a 404 page. Is there a way to ...
0
votes
1answer
2k views

Archives for Custom Post Types (without Pages)

I'm basically looking to extend the default archives widget so that it not only displays a {month : year} list of the default Posts but also includes my new custom Post Type. From this example I was ...
3
votes
1answer
4k views

Get monthly archives for custom post type

I know this is a rather common topic, but I can't seem to resolve the issue I'm having. Any help is greatly appreciated, I'm spinning my wheels at this point. Using Custom Post Type UI plugin, I've ...
3
votes
1answer
698 views

Custom Post Type Archives with 0 Posts Redirects as 404

I'm working with the new custom post type archives in 3.1 and I noticed that when my post type has 0 posts, the archive for the type results in a 404. Looking at the order of hooks being processed, ...
10
votes
8answers
8k views

Adding custom post type archives to a WordPress menu

Is there a way (besides adding a Custom Link) to add a custom post type archive to a menu in WordPress? If it's added using a custom link (e.g. /cpt-archive-slug/), WordPress does not apply classes ...