The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
43 views

Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar

I have 8 custom post types (which are actually for 8 different blogs and used as "blog landing pages"). Each custom post type is also a Blog Category and each has several sub categories to it. For ...
1
vote
0answers
67 views

Page Template as Custom Post Type Archive

My goal is to have the slug www.domain.com/resources used by a Page Template rather than an Archive Page, and have single CPT posts as children of that slug, such as www.domain.com/resources/post. ...
0
votes
1answer
19 views

Editable Meta Data for Custom Post Type Archive Template

My question is one of theming best practices. I constantly running into an issue were I have to display editable content on a custom post type archive page for client work - such as an image, body of ...
0
votes
1answer
41 views

How to display CPT archives?

I have a site where we merged two blogs, one in the normal blog and one in a custom post type. Everything is fine except we cannot get the monthly archives to display for the CPT. We've tried a ...
0
votes
0answers
33 views

Permalink Rewrite with Archive - Archive gets 404

I have a custom post type, "toys", with a custom taxonomy, "toy_series". I wanted to get the custom taxonomy in the permalink: domain/toys/toy_series/toy-name I got that working just fine by ...
0
votes
1answer
40 views

Query Posts that have Custom Taxonomy

I'm having trouble querying posts that have multiple tags from a custom taxonomy. For example, if I have a post called "Strawberry Splice," it has the Meal Types (custom taxonomy) "Gluten Free" and ...
0
votes
1answer
54 views

Adding custom post types to archive.php

I have 3 different post types in my blog. When I click on a category of a custom post, I redirect to a 404 page, because by default archive.php does not recognize custom post types. I have found this ...
0
votes
2answers
52 views

How to make an archive page displaying posts in a date range

I'm trying to make a couple of Page Templates for different Pages that should act as an archive to display posts (a Custom Post Type actually) in a certain date range. The website it concerns is ...
0
votes
0answers
28 views

Combine Different Taxonomies in Permalink

I have 3 different custonomies for a custom post type "doctor", my taxonomies are a,b,c what I want to achieve is to make all the possible combinations of the taxonomies as posts or archives. I want ...
0
votes
0answers
20 views

How to make a custom page that if the user click the list of taxonomy, the content of the custom page will change

As you can see in the image i got list of taxonomy above. the output that i want is if the user click one of the taxonomy the content below will change according to the taxonomy. I just want to have ...
0
votes
2answers
61 views

Pagination fault in custom post type archive page [duplicate]

I create ad custom post type register_post_type( 'videos', $args); and custom taxonomy for that register_taxonomy( 'video_category_categorie', 'videos', $args ); Maximum number of post displayed is ...
0
votes
1answer
93 views

Custom post types and tag archive pages/permalink structure issue

I've been struggling to get the permalink structure to be correct on my custom post types (at least, I believe this is what I believe the problem is at this point - please correct me if you think ...
0
votes
0answers
42 views

Sorting “menu_order” does not work in WP Query with multiple post types

When i use my WP Query as follows: $post_types = array('research'); $args = array( 'posts_per_page' => 10, 'orderby' => 'menu_order', 'order' => 'asc', ...
0
votes
1answer
51 views

Custom post types archive

I'm developing my first custom theme from scratch (using Roots as base framework). The theme has 2 CPT, one for events and one for associations with a correlation one to many between the two (an ...
0
votes
0answers
32 views

Pagination on Custom Post Types filtered Archive Page not working correctly (jumps to the first Post)

This is my Custom Post Type "newyork": add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'newyork', array( 'labels' => array( ...
0
votes
0answers
45 views

Site loads very slow for archive custom post type page

I created a directory website which has a page that displays all the listings (1,005) This page takes VERY long to load. Is there any way to speed this up? Its using a custom post type listing. There ...
0
votes
1answer
31 views

How can I get Wordpress CPT archives and page templates to work with prettified permalink settings?

I'm having very weird issues with my permalinks and template files on this site I'm building. I've created several Custom Post Types. These all have archive pages in my template structure named ...
0
votes
0answers
119 views

Custom meta Title for custom post type archive from page

I've set up some custom post types, and created custom archives, eg in the following format: archive-books.php (With a template name of "Books Template"). I then have a page (/books/) created in ...
0
votes
1answer
16 views

Plain <a> links in single-class.php and archive-class.php not working

This seems like it should be super-easy to resolve, but it has me stumped. All the links on my page added via get_header() and get_footer() work just fine. The links added via single-class.php and ...
1
vote
1answer
38 views

How to List All Custom Post Types Names (Not Posts)

Having Some Custom Post Types Like "Projects", "Products" and "Events" I need to list them in a page. Please be advis that I do not want to list any POST here! instead I just want query the name of ...
0
votes
2answers
164 views

Can't get post id on page that is a custom post type archive

I have a custom post type archive archive-projects.php that I am using as a page template because I have some custom fields that I want to display. I am trying to get the post id of this page but ...
0
votes
0answers
42 views

Custom post types - Archive or parent/child for navigation

So, I want to redesign my website using WordPress (as CMS) and Bootstrap (as front-end). Now, I've been pretty successful at doing so, but I have one specific problem. I have a tutorial website and ...
1
vote
1answer
45 views

Custom post type templating problem

I have a custom post type named 'product', with taxonomies 'brand' and 'type'. I'd like to have Archive Page A: sidebar with all the 'brand' terms linking to their respective archive page list of ...
0
votes
1answer
52 views

How can I give CPT archive correct body class?

I've created multiple custom post types with archives set to true with a custom slug. However, all of these archives have the body class of blog and home and no class related to the post type. I'm ...
0
votes
0answers
77 views

Notice- undefined variable post and trying to get property of non-object

i created a custom post type interview for that i also created custom post taxonomy interview_category and that custom taxonomy have some terms like students, teachers and some more. i trying to get ...
0
votes
1answer
73 views

Custom Post type and Custom taxonomy with URL rewrite worked but template did not

I search a lot but couldn't get, just got partial answer , I declared custom post type "store" with taxonomy "city", what I am trying is to make list of store based on city list and make URL like post ...
0
votes
1answer
43 views

Templates list in “Page Attributes” metabox is inaccurate

This may be a simple fix but I've spent a few hours trying to resolve it already. Template names that no longer exist are listed on the Page Attributes templates lists in the Wordpress Admin under ...
1
vote
2answers
225 views

How to create archive page for taxonomy terms within custom post type

I am needing to create an archive page custom taxonomy terms that are within a custom post type. It's set up as CPT > Custom Taxonomy > Taxonomy Terms. I have a custom post type called "Projects," ...
0
votes
0answers
39 views

how post by category related to archive post date - how to?

I'm having a really bad time to make this work .. I have a archive template, which works fine (build by custom-post-type, call archive), the archive section works perfectly, and dsiplay my post in ...
0
votes
0answers
73 views

Change custom_post_type permalink to post_type/year/month/post_title

I've create a archive template based on a new post type using this functions: add_action('init', 'demo_register_post_type'); function demo_register_post_type() { register_post_type('archive', ...
0
votes
0answers
78 views

Filter Posts using Letters in archive page

I have created an archive for a custom post type called archive-artists.php. I want to achieve the following: Implement an A-Z letter control which filters the posts based on the letter selected by a ...
0
votes
1answer
43 views

Stop Custom post type from being searched via URL

I am developing a website in WordPress and I have used a custom post type for people to use. The custom post type only shows if the user is logged in and is the author of it, this shows on the profile ...
0
votes
1answer
162 views

Hide child term posts on parent term pages

I have created a custom post "company" and custom category "company category". I have a question here, I want to hide child category post in primary category . Any suggestions?? Example : ...
0
votes
1answer
48 views

Permalink of custom post type partly broken

I'm running into some issues while working with a custom post type (CPT). The problem is that the permalinks of the CPT are fine for a single post but not for the archive/overview page. The website ...
0
votes
1answer
89 views

WordPress custom post type archive with description

I have a common design pattern I'm not entirely sure how to best execute in WordPress. The layout is a listing of post teasers (title, trimmed body, image) on an overview page. Let's say example.com ...
0
votes
2answers
46 views

pre_get_posts post_meta event

I wish pre_get_posts to filter posts that appear in the archive-events.php and taxonomy-eventcat.php templates. I have a post_meta in use named o_event_start that stores a value in DATETIME ...
1
vote
1answer
177 views

Display only post types that are direct children of the current taxonomy

I have a hieratical category structure using Taxonomies, with a custom post displayed within them. Currently the higher level categories display all the posts that are in their child categories. How ...
0
votes
1answer
97 views

Custom Post Type Custom Archive Page Not Working

I've created a custom post type and taxonomy for a portfolio loop: // Portfolio CPT function portfolio_cpt() { $labels = array( 'name' => _x( 'Potfolio Items', 'post type ...
0
votes
1answer
67 views

Remove the “View” Link in Post edit Admin

add_filter( 'post_row_actions', 'remove_row_actions', 10, 1 ); function remove_row_actions( $actions ) { if( get_post_type() == 'my_cpt' ) unset( $actions['view'] ); return $actions; ...
0
votes
0answers
50 views

wp_get_archives using a custom date field instead of post date?

I would like to use the wp_get_archives() function but instead of generating a monthly list of links based on the post date I would like to generate the links based on a custom field date. Any idea ...
0
votes
1answer
135 views

Posts per Page on custom Taxonomy Template

I'd like to show 20 posts on my custom tax template, using this filter: function customize_customtaxonomy_archive_display ( $query ) { if ( ( $query->is_main_query()) && ( is_tax() ) ...
0
votes
1answer
85 views

Custom Post Type Archive Links Not Working

I have multiple custom post types set up. I've been through this process many times, on many sites and have never once had a problem with it. The post type is registered as 'glossary'. The archive is ...
0
votes
3answers
217 views

Use one template only for custom post type archives?

I'm currently using archive.php as a generic listing for categories, tags, authors, etc. However, my custom post types have a very customized archive page that's completely different from archive.php. ...
0
votes
1answer
88 views

latest posts-widget displays all posts on archive page but works great anywhere else

I noticed the latest posts widget in my footer displaying all posts. Anywhere else on my page, it displays only the amount of posts it should. I am using a custom theme and this is my archive.php: ...
0
votes
1answer
354 views

Getting custom taxonomy posts on archive page

Hi I am not sure if the question is understandable or not but what I am trying to achieve I will explain. I have a custom post type called menu item and custom taxonomy called menu item type. CODE ...
1
vote
0answers
32 views

Is it possible to have a custom post type with feed but without the archive?

In Wordpress 3.9.2 I couldn't find the way to have a custom post type which would have the feed permalink like this: example.com/custom-post-type/feed/ But didn't show the archive (show 404) ...
0
votes
1answer
75 views

CPT archive as home page

I am very new to WP coding. I am working for a University where each faculty has been allocated a CPT. We would like it so that the CPT archive looks the same as the main site. I have created the ...
0
votes
1answer
166 views

Custom post type archive organized by category

I'm trying to display a custom post type archive page which displays all the articles of a a custom post type in columns. The columns organize them in their assigned category. On the main page, I do ...
3
votes
2answers
151 views

Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?

I am building a theme in which I have a post type, which will have an archive in a grid layout. You're probably thinking, "Just use the CPT archive!" Well, there are some cons to that method that I'd ...
-1
votes
1answer
94 views

Combining custom taxonomy posts with default posts on one archive page

I'm trying to get custom archive posts and default posts combined onto one archive page which I have managed... sort of but I can't get pagination to work either using the pagenavi plugin or the ...