The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
60 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
88 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
53 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 ...
0
votes
1answer
196 views

How can I increase the post count for custom post types only?

I have the page count set to the default 10 in my reading settings menu. However, I use my template archive.php file for all post types, including posts and books How can I change the loop so that ...
4
votes
1answer
249 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
3
votes
1answer
396 views

Custom Post Type Archives by Date (stored as meta value) WP3.1

I would like to implement date-based archive functionality (similar to original WP Archives widget functionality) for custom post type (CPT). What makes it difficult is the fact that I need to group ...
0
votes
2answers
309 views

How to make an archive page template using Wordpress 3

I have a suitable page, archives.php, located in the theme's root directory, but I cannot get it to show up as a page template. Is there something else I need to do so that it is recognized?
0
votes
1answer
266 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 ...
0
votes
1answer
929 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
91 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
62 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 ...
1
vote
2answers
688 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
3answers
838 views

Problems with 404, .htaccess, permalinks and Wordpress custom posts locally on Snow Leopard

I have a custom "about" post: function about_register() { $labels = array( 'name' => _x('About Page', 'post type general name'), 'singular_name' => _x('About ...
2
votes
2answers
1k views

Clear cache when a post is submitted

I have a question. How can I clear the cache when a post is submitted ? Actually, I need to clear two speficied pages which display these articles ? By default, I have noticed the index.php is ...
0
votes
2answers
82 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
492 views

Custom Taxonomy Archive URL rewrite

I would like to create an archive page with a list of my custom taxonomies that link to a page that shows posts with that taxonomy relationship. I registered my taxonomy like this: ...
0
votes
1answer
226 views

Custom Post Type Date Based Archive URL rewrite [duplicate]

Possible Duplicate: custom post types, wp_get_archives and add_rewrite_rule I have a custom post type called "course" and I would like to create a date based archive similar to the default ...
-1
votes
1answer
370 views

how to implement next/prev within category archive?

I click on a link in my WP site to open a category archive. I see a list of posts for that category. I click on the permalink of one of those posts to see the full post. at the top of the window are ...
1
vote
2answers
99 views

Get link to a specific template file [closed]

I was planning on creating a custom "Archives" template to create a detailed Archives page for my blog, including lists of posts by category, tag, date and author. Rather than use a static link ...
0
votes
2answers
23 views

Archive template limiting to 4 entries?

I have a category called "javascript" and it's limiting my list to only 4 entries? <?php get_header(); ?> <div class="container"> <div class="row"> <div ...
0
votes
1answer
58 views

How can I create a master archive?

I'm trying to create a master archive, and I thought maybe someone could help me out. The way I have it set up now is pretty simple. I have author archives, which simply list every post by a certain ...
1
vote
0answers
92 views

Category archive leads to me 404 page? [closed]

I’ve category named “Golf Swing Trainers”, with the slug “golf-swing-trainers”.When I click this category it leads to me to 404 page. But if, I change the slug into anything it works fine…. ...
2
votes
1answer
976 views

get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category

Thanks to @MikeSchinkel I have the following code: $term = get_query_var('term'); $brand = get_term_by('slug',$term,'brands'); // This here just to illustrate $categories = ...
-1
votes
1answer
74 views

Why www.mydomain/2012/ gives me a 404 error? [closed]

I created the file "archive.php", but apparently never reads this file Wordpress. I tried the following URLs: http://www.mydomain.com/2012/ http://www.mydomain.com/2012/04/ And the result is always ...
1
vote
3answers
602 views

Only get_posts of certain post formats

I'm trying to create a archive list with only my "normal" post format articles (not link, aside, quote, etc formats). How would I implement has_post_format( 'standard' ), or something similar, into ...
3
votes
3answers
4k views

Default archive URL wordpress

In wordpress you have a few 'default' archive URL's. Like for example: http://www.mydomain.com/2011/ generates an overview of the posts of (only) that year. If you have an category blogs the url ...
1
vote
2answers
555 views

Sort custom-posts in archive.php via meta-key?

this question is strongly related to this question where I already got a working answer. I have a custom-post-template named "wr_event" and a custom-taxonomy named "event_type". This "event-posts" ...
0
votes
1answer
2k views

Show all posts in category

I am trying to show all posts in each category. I've been searching around and it seems I need to have either the category slug or term_id to do so, like the code below. <?php ...
0
votes
1answer
139 views

How to turn custom-post archive into an overview page, listing the metadata of the posts?

The background: I am new new new to Wordpress, to CMS's in general. I have been trying for 2 days to get this to work but I am not succeeding. I about 20 different custom post types. Each post type ...
0
votes
1answer
38 views

Bumping a (tagged) post to the top of archives

One of my WordPress sites is a monthly newsletter sent out by a small team to a big organisation that employs over 1,000 people. The main site works well, but I'm working on the archive pages just ...
1
vote
2answers
175 views

Second Custom Post Type Archive

I've got an event custom post type, and using filters, I've configured the archive page to show only event in the future, and in chronological order based on a meta value (start date). I want to make ...
0
votes
1answer
153 views

Archive subtitles for different types of archives

I would like to display a custom subtitle for the different type of archive pages. I can easily know what type of archive page I'm in (date, category, etc.) but I have found nothing online that tells ...
0
votes
1answer
453 views

Pagination throws 404 error on custom taxonomy archive pages

I have created a custom taxonomy for a custom post type called "portfolio" like so: function jvs_portfolio_categories_init() { register_taxonomy( 'project-category', 'portfolio', ...
0
votes
1answer
221 views

Custom Post Type Query issue

I have a conflict issue with 2 custom post types. I have a template file archive-media.php and have created the related 'media' custom post type. This all works well, however in the sidebar I have a ...
0
votes
2answers
1k views

next_posts_link and previous_posts_link problem

Below is the code from my author.php file. The problem is that next_posts_link and previous_posts_link only generate links based on the number of posts in the blog authored by the author in question, ...
4
votes
3answers
4k views

Custom Post Type Archives by Date and Taxonomy

Lets use the classic example of a custom post type called "movies", with its own taxonomy called "genre". By registering the custom post type (with a "movie" slug), the permalinks are already set up ...
0
votes
1answer
222 views

I want my yearly archives to show a list of all posts

The default behaviour for monthly and yearly archives is to get a set of posts for that period (limited by the max-posts-per-page setting) and show them in full, with paging. I would like a different ...
2
votes
1answer
509 views

Custom post types - Use post_id in permalink structure when using has_archive => true

I recently asked this question Custom post types - Use post_id in permalink structure and solved it but as I have enabled 'has_archive' => true the solution given no longer works. Let me explain: ...
0
votes
2answers
246 views

Different layout on second page

My homepage has 1 featured post, followed by 4 posts stacked 2 on 2, like this: The featured post is only shown on the first page so the second page shows the older posts stacked 2 by 2 as above. ...
0
votes
3answers
94 views

Dynamically insert an article at the top of a taxonomy archive - or?

I'm making a directory for half a dozen sorts of venues that are located in innumerable cities in all 50 US states. My plan has been to use a custom post type for each venue type and then assign a ...
2
votes
3answers
216 views

Must permalinks always point to single post pages?

Suppose that I have a blog with few posts per month, and no comments, and I don't want to show posts in single post pages, but always "in context" (say, together with the posts in its month - or ...
1
vote
1answer
187 views

Custom archives function

I'm working on building a custom archives page for my church's website. On my archives page I want to have last week's sermon shown at the top in a special box, followed by the future sermons and then ...
0
votes
1answer
473 views

how to show all post with its contents

i have "favorite-film-video-songs-super-scene-climax" category and i want to show all of the post with contents(which is youtube video) for every post. in below link i want to show all post with ...
4
votes
2answers
1k views

How can I get posts in a subcategory to display on it's parent categories archive page?

Currently when you display an archive category page, it only displays it for the main parent, and doesn't display any of the posts that may be in the subcategories under it's parent. How can I alter ...
0
votes
1answer
174 views

Need post_type_archive_title function but in 'single'

I'm trying to pull a custom post type name/title out for use in the breadcrumb of a single-[cpt].php template file. In the archive-[cpt].php I can use post_type_archive_title() and it echo the name. ...
0
votes
2answers
245 views

Create an archive listing based on meta array

I've got an "event" custom post type, with a meta field is used for the event date. I've successfully created archive pages (year and month) based on the answer on a previous question (here). Now, I'm ...
1
vote
1answer
974 views

How to hide a specific category posts in my monthly archive?

I am using the twenty eleven theme in my wordpress site. In posts, I have two categories. One is blogs and other is News. The monthly archive displays the posts of all categories while I want that ...
0
votes
1answer
85 views

Archive of year for some categories using the featured image

I know that it should be quite easy to do but I can't seem to figure it out. Firstly, I have a category, with some sub-categories. I would like to have a page that displays all the post made in that ...
0
votes
1answer
139 views

Display direct children of the current custom taxonomy in taxonomy.php template

Let’s say i have custom taxonomy named “Location” with hierarchial structure like the following : ASIA CHINA INDIA JAPAN Fukuoka Hokkaido Okinawa Tokyo ...
1
vote
1answer
731 views

Remove author archive

I'm using wordpress as a CMS. Various users on the staff write posts that get incorporated into pages manually. As far as the outside world is concerned, this is just a bunch of static pages. I ...

1 2 3 4 5 7