The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
2answers
428 views

Why is the custom taxonomy archive page redirecting me to a single post? [closed]

I have a custom taxonomy, artist, that is related to three custom post types: videos, posts and letters. I have an taxonomy-artist.php template that should display the archive for a given artist. ...
2
votes
1answer
151 views

Arrange and separate posts

On a particular archive page I've created, I'm listing a number of posts by post name and they're listed in alphabetical order. Is there away to have them separated even further? As in all posts ...
0
votes
1answer
268 views

Filter/Sort Post Form On Taxonomy page

I am trying to create a form on the taxonomy template that will be able to filter the posts the current user is viewing. I want to use a few drop downs and submit button to do so. My code looks like ...
1
vote
0answers
58 views

Advanced author permalinks

I'm trying to build permalink structure for author archives that would allow me to display different custom post types posts in 'subpages/subarchives' of author archive. So the idea is to change ...
0
votes
1answer
109 views

Query Custom Post Type and sort by year

How do I create a page template were I can query all the posts from the Custom Post Type - let's say - "project" and order the results by year, displaying the year value at the beginning of each group ...
0
votes
1answer
1k views

How do I make archives.php for one category only?

I have a basic archives.php file. I was trying to get it to display only posts from category 1. When I do query_posts('cat=1'), the URL is then ignored and all posts in category 1 are displayed. For ...
1
vote
2answers
568 views

Archive listing of posts by publish year (multiple years)

I have an archive page showing all blog posts (in a specific category). With a growing number of posts, I want to separate these by publish year. For example (simplified), I'd like the following: ...
2
votes
1answer
133 views

Custom post type with tags

My understanding is, that custom post types can share tags with the posts also. I have created tags and applied them to a blog post and a custom post type. Yet when I click on a tag it only returns ...
0
votes
1answer
91 views

How do I display the next 3 posts in the sidebar?

I'm building a simple "company news/press release" site. We'd like to display the latest five post excerpts on the home page with the next three post titles (six through eight) and a single "Archives" ...
1
vote
2answers
149 views

Displaying Archives List

I'm displaying list or archives using <?php get_archives('monthly', '', 'html', '', '', FALSE); ?> and my list displays December 2012 November 2012 etc However I would like to format ...
0
votes
1answer
123 views

Set a hard-coded page-template (post-type-archive) as home/front-page of my wordpress blog?

under Settings->Reading I can set which page should appear immediately when visiting my site as "home-page". In my case I want the archive of my custom-post-type named "events" as home/front-page of ...
1
vote
0answers
194 views

Category archives with monthly pagination

How would I go about doing the following: I need to setup a prev/next type pagination where posts within a category archive are split into months. For example, if I navigate to the News category, I ...
4
votes
1answer
372 views

How to Add jQuery Infinite Scroll to My Custom Archive Page

I currently have a custom archive page that displays my current post at the top and then links to all of my older posts below that. However, I need to break up the page so that it displays the ...
0
votes
3answers
131 views

Custom post types not using archive structure

I've been banging my head against my iMac trying to figure out what's wrong. I've also trolled these archives and have tried the following things to fix: flush permalinks remove possibly conflicting ...
0
votes
1answer
119 views

Custom Post Type with archive page but no detail page

I want to have custom post type that have only title and archive page, but no detail page. Here is what custom post type code: add_action( 'init', 'register_cpt_trivia' ); function ...
0
votes
1answer
69 views

Archive links don't work when clicked

I have archive links in my theme that get the archives for a specfic category ('blog) like so: <?php wp_get_archives('cat=6'); ?> When i click on the link for the archives is just loads the ...
1
vote
1answer
135 views

Category index featured image

I wish to set a featured/header image for each of my category archive pages, how would I go about doing this without hard coding each category into the theme? An example of the page is at ...
0
votes
1answer
159 views

Insert code on specific taxonomy archives

On a woocommerce site, I am trying to insert a piece of code on all category pages. The code I am using is: function my_code() { if ( ! is_tax('product_cat') ) return; ?> <!-- my ...
1
vote
1answer
131 views

How to add subcategories to the blogroll?

I'm looking for a way to create subcategories in my blogroll... For example: Downloads -> Windows -> Mac -> Linux I want to create a real page (not a widget) where the main categories and ...
7
votes
2answers
297 views

Get rid of Wordpress category, tag and author archives?

I have searched the net with no success on what should be an easy thing. I have a highly customized blog with pages, sub pages and posts. While I rely heavily on the use of categories and tags I ...
2
votes
1answer
206 views

How can I organize/create an archive listing by Year and month

I thought this would be simpler using the basic widgets that WP provides but its not. I need to create 2012 Decemeber November ... 2011 December ... The month items would be links to that ...
1
vote
1answer
282 views

WP_Query() returns null when results exist!

I really, really don't get it. On my archive.php and category.php it doesn't find any content. I know the correct templates are loaded, but WP_Query just don't find any content. This is what i've ...
2
votes
1answer
149 views

How to create tabled index of posts in a certain category

I have a tech blog, what I want to do is to create an index page for articles in a certain category. For example, I want all the articles under the category "WordPress BasiX" to be arranged in an ...
0
votes
1answer
227 views

How to get the month argument from permalink in wordpress?

I am working on a custom Wordpress template for the archive. I have the archive set up by category but now I want to organize by category and month but I can't figure out how to access the month ...
2
votes
2answers
2k views

Get custom post type slug for an archive page

How do I discover the custom post type slug when I'm on an archive page? For instance if /products/ fires the archive-products.php template, how (pragmatically) do I get the post type slug? Thanks
1
vote
0answers
98 views

Disable date based archives for all categories except one

I want to remove all date base archive url permalinks (url_rewrites) from my site, excluding for only 1 category. How can i do that. For example: www.example.com/category_1/2012/ -> 404 error ...
0
votes
2answers
472 views

paginate function in archive for custom-post-type

I have a custom-post-type for events and use the normal archive.php template to list all previous events. The thing is that I use a custom query for my event-post-type inside archive.php like this … ...
1
vote
0answers
39 views

Checking if a specific date archive is being displayed

The is_month(), is_year() or is_week functions don't accept arguments. Are there any other functions available that I'm able to use to determine if I'm viewing specific month/year/week archive ? Or do ...
1
vote
1answer
144 views

Custom-post-type-archive: posts sorted/filtered by year?

I have a custom-post-type wr_event whose posts are sorted by meta_key "event_date". Therefore I have this handy function … function get_event_list( $latest = true, $order = 'ASC' ) { echo ...
0
votes
2answers
655 views

Event Archive by Month

I'm creating an events site for a theatre in wordpress - at the moment I have set up a custom post type for Events and am using a custom field 'event_date' (which formats to YYYY-MM-DD) to order the ...
1
vote
1answer
917 views

Custom permalink for search and pagination

@Chip Bennet helped me out in a previous question and posted his entire pagination function. This function works perfectly fine for me but I'd like to have custom permalinks in german. /** * ...
0
votes
1answer
1k views

How To Modify The Loop in archives.php To Have 11 Posts Per Page and CSS Styling

I edited my loop in archives.php in order to work with pagination and with the Category Post List Widget. I basically pieced it all together from random code and ideas and am now so far from the ...
0
votes
1answer
111 views

Permalinks not working on MU network with domain mapping

I'm using a theme with custom taxonomies. I want to use corresponding archives. If I try the template out on one network it works, and on another the permalink will take me to 404. The only difference ...
0
votes
3answers
484 views

How to Remove a Title from All Category and Tags Page?

I am trying to remove the title from all my category and tags page. So far, I have been using this code http://pastebin.com/xxmyw7BP. It works but not perfectly. The title of my category and tag ...
0
votes
1answer
281 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
1answer
452 views

Include Custom Posts Type in Year/Month/Date Archive

I am looking for solution where I able to get all custom post types in year, month and date archive list. So it can be filters by anything either year, month or date. I am looking for function ...
0
votes
1answer
246 views

Change behavior depending on content length

I have a large amount of posts and some only have one sentence. This means for some posts all the content can be read in an archive without needing to go to the posts single page. For these posts I ...
1
vote
0answers
313 views

Meta query with multiple custom fields for archives page ordering problem

I'm modifying the query for archives pages so that the posts showing up on year, month or day pages are queried by there custom field (start-date and end-date) and are sorted by custom star-date ...
1
vote
1answer
839 views

Category List (Archive) Page Template By Category

I feel like this is probably a duplicate question, but cannot find the search terms to find what I'm looking for. Is it possible to have different category list (archive) pages (or views/templates) ...
0
votes
1answer
470 views

How to have multiple archive pages?

I am building a site that needs pages such as News, Events, Projects and People. My question is, how should I achieve this in WordPress? Do I use custom post types? And if so, how do I have a page for ...
1
vote
1answer
107 views

Archive.php filtered by pre-determined category

My archive.php template is formatted perfectly to list out posts from a certain month and year. However, I only want this template to show from a specific category. I can query for the specific ...
1
vote
0answers
146 views

Constructing An if Statement with is_category(); in archive.php

I am trying to use an if statement with is_category() in order to build a bigger piece of code later. I can't get the code to recognize the if statement though. Basically below I've posted the coding ...
0
votes
1answer
496 views

Wordpress widget which displays archive tree

I'm a complete newbie, so would appreciate some help. Is there a wordpress plugin that can display all posts/archives as a part of a tree structure? With high-level parents being year and children ...
0
votes
1answer
206 views

Create a Custom Path to Archive

To get at archive pages (by default) the path is /%category%/ Which is fine. But how would i change it to have a static string prefix before the category variable (e.g. /archive/%category%). Same ...
1
vote
0answers
36 views

Path to Pages Resolves to Archive instead of Actual Content

When I upgraded to 3.4.1, the root level pages (ones that I had before, and any page I have afterwards) do not resolve to the actual page. No matter the name (so i don't think there is a slug issue), ...
0
votes
1answer
67 views

Problem with permalink structure for Wordpress custom post_type archive template

I have looked at other similar answers to this question but not finding my way. I am using Custom Post Types plugin for a custom post_type called 'product' and has_archive is set to 'true' in the ...
0
votes
2answers
239 views

Wordpress loading index page instead of archive.php

I have index.php archive.php ... When I go to domain.com, it loads index.php, which is expected. But, when I go www.domain.com/page/2/, it loads the correct posts (as in, the posts in the second ...
1
vote
1answer
205 views

Archiving annual festival site

I have a query regarding managing a wordpress setup, I am sure others have been in a similar situation and was wondering what would be the best solution. I manage an annual festival's website, each ...
1
vote
0answers
44 views

List Custom Post Types by Date Archive [duplicate]

Possible Duplicate: Rewrite rule for Custom post type Monthly and Yearly archive I'm not sure if I'm missing something or what! But I've been trying to get this right for past couple of ...
0
votes
1answer
999 views

Display all months with posts and inside each month show the 5 latest posts

I need to display all the months that have active posts, and inside each month I need to display at least 5 posts that are tied to each month.. the HTML will look like this: News items ...