The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
6 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
31 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
11 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
23 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
27 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
25 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
55 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 : ...
-1
votes
0answers
28 views

Create multi level Archives by Year - Month - Week [duplicate]

Im trying to realise a multi level menu ( by hover) of the archives post. I'd like it work like a multilevel dropdown list menu, First level should be the Year; second level the month; last level ...
0
votes
1answer
35 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
53 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
24 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
53 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
49 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
30 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
27 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
55 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
57 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
111 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
51 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
132 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
30 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
68 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
105 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
110 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 ...
0
votes
1answer
59 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 ...
0
votes
1answer
151 views

Excluding a Custom Post Type with a specific tag using pre_get_posts

I have an archive page that lists a custom post type called 'event'. I have event posts with the tag 'regular', (the tag has an id of 53). I'd like to exclude these. I tried using pre_get_posts and ...
0
votes
0answers
38 views

How to create a posts archive page showing only the date and the post title

I have the following question about how to create an archive page on my website. As you can see opening this link: http://lnx.asper-eritrea.com/ Under the header slideshow I have 3 boxes, the second ...
2
votes
1answer
33 views

How to get_queried_object on multiple objects?

My Setup I have a custom post type "zap_apartments" with 2 custom taxonomies "zap_audience" & "zap_cities". I wrote some RewriteRules to access all "zap_apartments" for a "zap_audience" + ...
0
votes
1answer
38 views

Have two (permalinks) urls for a same custom post type

I have an specific situation which I´ll try to explain. In the website I developing right now we have fairs (event) and every fair has a profile page. Lets call ns_fair custom post type and its loaded ...
0
votes
1answer
146 views

Custom post type is showing custom home page, not archive page

I have a custom post type set up (two, actually) that are not displaying properly. I am hoping that it is the same issue with both post types. Here is my code for one of the post types (portfolio). ...
0
votes
1answer
128 views

Query var removed after rewrite

I have a WordPress blog that uses custom post types, which I'm creating using the WCK plugin. One of which is the post type shows. A permalink to a specific show, then, appears as: ...
0
votes
0answers
56 views

When in a archive, display the posts by hierarchical taxonomy term.

All of my posts belong to hierarchical taxonomy (a) but not all belong to taxonomy (b) and (c). How would one go about displaying the list of posts in any archive in a manner of taxonomy (a)'s ...
0
votes
0answers
78 views

Date Archive template per category

I have the following template structure currently: category-news.php category-magazine.php category-filmography.php Each page has a different sidebar, and each page has an archive widget in that ...
0
votes
2answers
91 views

Categories and Tags not working!

I'm at the final debugging stages for a major web design project I've been working on for the last 6 months. The site itself is based on the has become a bit of a behemoth (merging 4 existing sites ...
0
votes
1answer
41 views

Archive page of filtered posts

I'm sorry if my question may seem strange, but I've only recently started fiddling with WordPress development, as I was given a project already largely developed (I'm not saying it was well developed ...
0
votes
1answer
24 views

How to show all of aspecific post type that has taxonomy and a specific term

i have a post type called directory_listing, i have a taxonomy called 'place' and I have terms in that tax for place1 and place2. I need to display all the 'directory_listing' posts that use the term ...
0
votes
1answer
51 views

Output yearly archive within a page

I've almost got what I want working from cobbling bits but I need a bit of help finishing it up. What I'm trying to do is output the following (for a custom post type) within a page template (not a ...
0
votes
0answers
35 views

Create a link to a yearly archive of post for a custom post type?

I've got a custom post type, and I'm building an archives.php for it. I'd like the archive page to link to sub-pages. Each sub-page would list the CPT's by year. How can do this?
0
votes
2answers
154 views

Custom Taxonomy Template Error: Catchable fatal error: Object of class WP_Error could not be converted to string

Been trying to chase this error down: "Catchable fatal error: Object of class WP_Error could not be converted to string" Here's the page: I have a custom post type and taxonomy: taxonomy: ...
1
vote
0answers
104 views

Custom post type archive pagination query issue

I'm using the following query to paginate a custom post type archive. The number of posts on the first page is 11 (due to the page layout) and 12 on the following pages. The problem is that while the ...
0
votes
0answers
21 views

Monthly Archive page for custom post type [duplicate]

I'm using roots starter theme and create an archive-news.php file to show posts from my custom post type called "news". Works fine. Now, I want to show posts by month. Then I created a list of month. ...
0
votes
0answers
27 views

How to display the FAQ Archive page in my menu

I'm using the Wordpress standard menu. I've also created a custom post type. I'd like to include my custom post type archive page (the all item) in the Appearance -> Menus, but so far I can select ...
0
votes
0answers
55 views

How can I create a portfolio archive for my portfolio CPT?

Sorry if I'm not asking the right question but, here's what I'd like to try and do... I'm working on this site I used a nice theme that included a portfolio CPT which I'm using for their product ...
1
vote
0answers
116 views

add_rewrite_endpoint() and Custom Post Type Archive

I've got a custom post type. Let's call it books. I'm adding a new rewrite endpoint called pages. I want the url /books/pages/2/ to work but I don't see any rewrite rules generated by WordPress for ...
4
votes
1answer
84 views

What are the advantages of using a custom post type archive?

I'm currently working on a theme that makes heavy use of custom post types to structure the content. To display a lot of the content I am using the respective archive-$posttype.php but this seems in ...
0
votes
1answer
26 views

Rewrite rules causing hole

I am using rewrite rules to catch /events/date/* Events is the custom post type I am working with. So archive-events.php, is normally my index, but with my rewrite rules, I need to identify a ...
0
votes
0answers
4 views

What variables from the main query do I take over to make an archive load a page out of the loop? [duplicate]

My question is a little confusing, I realize, but I'm not sure how else to word it -- sorry! I might be going about this the wrong way but I want to do with a CPT archive what WordPress does with the ...
0
votes
1answer
18 views

Return the name of the post type

I have this in the archive.php file of my theme: <?php else : ?> <h1 class="archive-title"><?php printf( __( get_post_type() ) ); ?></h1> <?php endif; ?> And it ...
1
vote
1answer
253 views

How to redirect custom post type archive to first term of associated taxonomy?

I have a custom post type 'countries' and a taxonomy 'cities'. My cities are: boston, new york... I want my archive-countries.php redirect to the first term taxonomy. I mean, if my URL is ...
0
votes
0answers
137 views

Custom query var rewrite for custom post type archives widget plugin

I have a website soon to be delivered to the client. The client absolutely wants the following URL to be without the appended query variable: http://beta.example.com/inav1/2012/?post_type=new How ...