The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
1answer
152 views

Category page only displaying the posts from a custom type

Situation I have two cpt: Projects Works In these two CPT I share the same taxonomy 'Category', and the same terms: Architecture Landscape Interior Design I have URLs like ...
0
votes
2answers
1k views

How to get the custom post type from an archive page?

In my website I have three custom post types: scripts, scenes and plugins. When visiting the archive page of a single post type (i.e. by going to mysite.com/plugins) you correctly see all the posts of ...
0
votes
2answers
64 views

Create archives by author role

I have a site that will have some custom roles (capabilities), and I would like to have archives that list authors based on their role. authors.php list the profile of one author, but there is no ...
2
votes
2answers
2k views

Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'

What I am trying to do? My blog uses a custom taxonomy called edition with terms like us-canada (6), eu (7) and india (8) -- term slug (ID). I want to make sure that posts not assigned to any ...
0
votes
1answer
167 views

Apply custom taxonomy archive template to children

There is a slight problem that I cannot figure out by myself: I created a custom post type (tours) with custom taxonomy (tour categories). I have created a taxonomy-tour-categories.php to display an ...
0
votes
1answer
109 views

weekly archive for custom category

<?php $args = array( 'cat' => '2', ); ?> <?php wp_get_archives($args); ?> I pull out the custom category with the above codes, it works fine & shows up ...
0
votes
1answer
148 views

Overwriting TwentyTwelve template file with child theme template, but lower in the hierarchy

I've (I think) an interesting problem here. What I want to do is create a global archive page, with everything on it. Dates, authors, categories etc all on one page. I have a child theme, with ...
2
votes
1answer
371 views

How can I get archives for specific category without category_base in the url?

I'm using this code to get archives for a specific category: function extend_date_archives_add_rewrite_rules($wp_rewrite){ $rules = array(); $structures = array( ...
0
votes
1answer
34 views

Find out in which kind of archive am I

in archive.php file, I want to know, which type of archive I i'm in. For example, if I i'm in archive for category Personal I'd like to be able to display it in header of the archive. Of course, I ...
1
vote
2answers
127 views

Cache previous versions of website?

I'm working on a new site for a charity. They publish a printed magazine & we would like the website to always reflect the current issue of the magazine. So far I have a front page (home page) ...
0
votes
1answer
56 views

Tag Posts showing in wrong places

Am using a custom template (tag.php) to show posts related to tag. So when someone clicks on say tag ‘A’ then he/she gets redirected to my tag.php layout instead of default template for archives. I ...
0
votes
1answer
319 views

Create /archive page in Wordpress Theme

I'm trying to create a Wordpress theme, and I'm having a little difficulty with creating an easily accessible archives page. First off, I'm not referring just to the standard archive.php in the ...
0
votes
1answer
100 views

Assign CPT archive page attributes

I have a custom post type recipes which uses the archive-recipes.php template automatically. I have a Wordpress page called Top Recipes which is set to use the archive-recipes.php template in the ...
0
votes
1answer
69 views

Use an archive as the parent of a page?

how can I solve the following problem? I have the category "Events" with the permalink www.myblog.com/events/ and of course single events like www.myblog.com/events/lets-party/. Now I want to add a ...
2
votes
1answer
194 views

Archive dropdown styling not applied

I am trying to add a custom dropdown for archives but struggling with couple of mistakes that might be the reason why it doesn’t work. The CSS only gives my dropdown the width, not the other styles ...
0
votes
1answer
47 views

How to make a list of posts displaying them 5 by 5 with a “next posts” link?

I have been googling for the past 2 hours and haven't been able to figure this out, mainly because I am missing the right terminology, in other words, I don't know what I want in "wordpress words". ...
0
votes
2answers
965 views

Custom post types archive redirect

I had a custom post type with slug as (sometext) which I changed to (someothertext) And it works great So for example : my posts with urls like http://localhost/sometext/innerposts gets ...
0
votes
1answer
187 views

Custom Post Type archive

Hey all first off im a WP newbie so go easy! Ive been searching for a couple of days now to see if I can find the answer to this but cant get anything definitive. I have a custom post type called ...
0
votes
1answer
276 views

Twenty Twelve Calender Widget <a title=“”>post titles</a> creating disturbance

In my modified Twenty Twelve theme, when I'm hovering onto the calender widget's date, there is a acronym-like balloon showing that date's post titles. Thing really is an anchor title: <td> ...
0
votes
1answer
106 views

Stop header code from showing in category page?

Hi I'm using the code below to show different header images in my custom template archives. Only problem is that it is also showing the headers in the category templates. go to ...
0
votes
2answers
174 views

Creating 'posts page' loop based on the page itself

The setting Settings -> Reading -> Posts Page is set to my 'News' page, and the loop for the home.php template is populated with posts... great. However I want to also be able to create another ...
0
votes
2answers
1k views

How do I remove a category from a wordpress loop>

I have a question. I need to have, in my archive.php file, a exclusion of a specific category. given what I have now, how would I make that happen? Here is the code: <?php ...
0
votes
1answer
268 views

Wrap the “show_post_count” between div

How can I wrap the "show_post_count" between a div? (from the wp_get_archives()) Do I need to edit the function for that? Or could I do something like this with pseudo css? <div ...
0
votes
0answers
12 views

Split archive results in rows and columns [duplicate]

Possible Duplicate: How to mark every 3rd post I want to redesign my Archives template, so I want do display posts from archive in 3 columns and 6 rows. I have the following code: ...
0
votes
1answer
421 views

Change permalink structure for pagination only

I am using following functions to display pagination on archive pages of my site. <?php previous_posts_link('< Previous', $loop->max_num_pages); ?> <?php next_posts_link('More >', ...
0
votes
1answer
953 views

is_singular won't call my functions?

Hi i'm using this code to call for a different stylesheet for a single post type but the problem is, It won't call the stylesheet. It's in header.php, i also tried placing it in single.php <?php ...
0
votes
1answer
56 views

How can i display in themplate file only a few post

How guys , i my archive themplate i have 3 tipe of themes: -poster -complex -simple How can i display a certain number of post for arhive themes: Ex: for my poster i want to display 24 posts(only ...
0
votes
1answer
428 views

Archive page showing wrong month

My site's archive page is echoing wrong Month name. Though the URL is 2012/11/, it's echoing the month December 2012. I found nothing wrong with the code: <?php if ( is_day() ) : printf( __( ...
0
votes
2answers
608 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
185 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
327 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
59 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
124 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
1answer
790 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
168 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
98 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
193 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
139 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
245 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
519 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
163 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
147 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
78 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
147 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
229 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
140 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
337 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
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
349 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 ...