Tagged Questions
-1
votes
1answer
25 views
How can I force URL of a custom post type archive to use a page template?
I have the following custom post type:
if ( $args->has_archive ) {
$archive_slug = $args->has_archive === true ? $args->rewrite['slug'] : $args->has_archive;
if ( ...
0
votes
1answer
55 views
Template file renders on local install, not on web
I've been building a website that involves a child theme of Twenty Twelve and a custom post type with associated custom taxonomy, "area". I've built a template file (cribbed from code found elsewhere) ...
0
votes
1answer
189 views
How to create template for taxonomy results limited by Custom Post Type?
I've got a Custom Post Type with a Custom Taxonomy set up. So how do I create an archive template to display posts from that CPT, limited by taxonomy?
Here's the deal:
The CPT is called Shows. Each ...
0
votes
2answers
878 views
Custom post type archive category page results in 404
I've created a custom post type:
register_post_type('campaign',
array(
'labels' => array(
'name' => __("Campaigns"),
'singular_name' => __("Campaign"),
),
...
0
votes
1answer
103 views
Specifying a template for custom post type pages
My main projects page is bringing in some data that I have entered in for custom post types. There are basically a few categories like "photo", "video", etc. When you click on one of these it will go ...
0
votes
1answer
489 views
Page is defaulting to archive page and not designated template
I created a page called "Projects" through the wordpress admin
I created a template called "Projects"
Set the "Projects" page to use the Projects template.
How come when I navigate to the Projects ...