The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
1answer
269 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
351 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
168 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
346 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
3answers
4k 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
135 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
666 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
45 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
164 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
832 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
1k 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. /** * ...
1
vote
1answer
2k 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
138 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
686 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
340 views

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
539 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
410 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
350 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
1k 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
686 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
119 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
163 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
683 views

Wordpress widget which displays archive tree [closed]

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
295 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
38 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
71 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
359 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
221 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
47 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 ...
1
vote
1answer
1k 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 ...
2
votes
2answers
1k views

How do you split multiple-column loop on category archive page?

I am creating a custom page template with multiple loop like this http://demos.gabfirethemes.com/advanced/category/football/ You can see there are posts split up into multiple columns: One featured ...
1
vote
3answers
5k views

Displaying category archive of custom post types

I am woefully late to the party on Custom Post Types and only started using them quite recently, so apologies if my questions seems idiotic, but I can't seem to find an answer to my question. I've ...
0
votes
1answer
1k views

Advanced archive url structure (category, tag and date)

Is it possible to create a permalink structure like this: mysite.com/category/books/tag/read/2010/01 Or at least something like this: mysite.com/category/books/?tag=read&year=2010&month=01 ...
1
vote
1answer
87 views

permalinks issue and archives

I have an issue with a site running on WP 3.3 where when we make the permalink anything by "/%post_id%/%postname%/", the archive pages break and become 404s. After some research, I came to understand ...
0
votes
1answer
198 views

How to get pagination working with “Pending” Posts

I'm working on a site that allows users to browse through pending posts/content on the front-end. However, I can't seem to get pagination working with those posts. I've got a custom query that ...
0
votes
1answer
85 views

Display an archives name

I want to display the current archives name, so for the url below I could do something like this <h1><?php echo "answer" ?></h1> which would output something like this ...
1
vote
1answer
140 views

Template hierarchy about pagination after front-page.php

Quick, simple. I have front-page.php working in Wordpress, and these loops over the main loop for my latest posts. The problem is the pagination template. When I get to site.com/page/2, it shows the ...
0
votes
1answer
78 views

Displaying a list of tags in my archives page

I'm looking to display a list of tags on my archives.php page. Here is the search archives page. I have archives by month <ul> <?php wp_get_archives(); ?> </ul> Archives by ...
1
vote
1answer
3k views

Filter query_posts by tag slug on “Tag Archive” page (when tag is 2 or more words)

I'm using the following to bring up a tag archive page: <?php query_posts( "tag=". '' . single_tag_title( '', false ) . '' ); ?> This works perfectly for all tags of one word only, but any ...
0
votes
1answer
30 views

adding my posts (author posts) in menu

I want to add "my posts" to main menu. By clicking on this, each logged-in user will see his/her own posts. I don't know how the link structure should be to add on the menu.
0
votes
1answer
356 views

Custom taxonomy or custom page templates?

I'm trying to decide whether it would be more appropriate to create two new custom taxonomies or if custom page templates would be easier. Here's the scenario: I have 2 custom posts types: "Cocktail ...
4
votes
1answer
796 views

has_archive=false on the default post type

On the default post type, why does the has_archive property equals to FALSE? $type_obj = get_post_type_object('post'); var_dump($type_obj->has_archive); // FALSE
1
vote
2answers
2k views

Using a different template per Custom Taxonomies for single term archive pages

I have 2 custom taxonomies, each with a number of terms: tax1 term1_1 term1_2 tax2 term2_1 term2_2 term2_3 I am trying to have each taxonomy usea different template file for each its ...
0
votes
1answer
185 views

How to create an archive section of a Wordpress site

I have created a WordPress site, nothing out of ordinary, except that the posts - that are shown in the home page - are filtered by a fixed category, and place the filtering code in the home.php ...
0
votes
2answers
77 views

Styling Previous/Next Pages differently from Index

A friend of mine pointed me towards using child elements to style my index page so that I could have one loop and several different visual styles (a featured post, a smaller sub-featured post, and ...
7
votes
2answers
443 views

Permalink Structure for Multiple Post Type Archives by Taxonomy

Recently I have been working on an advanced WordPress project, and I'm stuck with changing permalink structure for custom post types. I have created 3 post types lets say: type1, type2, type3 and a ...
1
vote
2answers
2k views

Displaying page content in category archive (archive.php)

I'm new to template editing in wordpress and I'm trying to get a page description to show up on my site but it is not appearing. The URL I'm trying to get to display the description is here: ...
0
votes
1answer
587 views

Filter the post listing for a particular category from archive month list

I have the month year archive list in my sidebar. After clicking on any month, all posts on that month is listed. Now I how can I filter the post listing for a particular category? What I mean is ...
0
votes
2answers
116 views

Archive pages have smaller font then the rest of my website [closed]

I have my awesome wordpress website here that I have been working on for weeks now and all is great with it except for one thing! For some reason when you try to look at the archives pages the whole ...
0
votes
1answer
307 views

How to view all posts (on site, not admin) that are uncategorized?

I had a horrible problem a long time ago that had me end up importing a backup of most of my posts. I'm now using WordPress 3.3.2 and I would like to view all of the uncategorized posts from the site ...