0
votes
0answers
29 views

getarchiveswhere filter returning correct results, but wrong permalink

possible duplicate of Custom Post Types and archives I'm using getarchives_where filter to return custom post type archives in a template. function Cpt_getarchives_where_filter( $where , $r ) { ...
1
vote
2answers
126 views

Date archives for custom post type

I have seen many questions/posts regarding this, but have yet to find a decent solution. Basically I am trying to do what wp_get_archives does, but for a custom post type (personally I am unsure why ...
0
votes
1answer
147 views

Yearly Archive from a custom date metabox (Event Start Date)

I have created a custom post_type called (event) and here's the code // Register Custom Post Type Events function custom_post_type_events() { $labels = array( ...
0
votes
0answers
336 views

wp_get_archives(); Change output of link

Is it possible to edit the output of the wp_get_archives link at all? I'd like to prefix the link with a string. At the moment the output is something like url.com/2013/10 what I'd like it to do ...
2
votes
1answer
2k views

custom post types, wp_get_archives and add_rewrite_rule

I've searched to see if anyone came up with a solution to a peculiar problem I'm having but did not find anything that was close to what was happening in my case. I have two custom post types - let's ...
2
votes
1answer
720 views

Display all custom post types in archives.php

How would I do this? archive.php only has this: wp_get_archives('type=monthly'); And wp_get_archives() does not have a parameter to display all post types. Also I think archive-[post_type].php is ...
2
votes
1answer
1k views

Extend the wp_get_archives output with '?post_type=foo'?

I've gotten my custom post types to display as it should in date based archives; the structure example.com/year/month/day (and above) works properly as long as it's extended with ...
1
vote
2answers
399 views

just can't get date-based archives per post-type to work

I expected that wp3.1 with the support for archive-{post_type}.php would solve my problems. However, I am still struggling to get it working. What I want is: a custom date-based archive page per ...