The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
1answer
105 views

Display post links under month in paginated archive

I'd like to create an archive that lists posts under a month header. The months would just be plain text and the post titles, obviously, would link to the posts themselves! So: October 2013 Post ...
2
votes
1answer
100 views

Custom Post Types and archives

I have a custom post type: cats When I visit http://mysite.com/cats I see all of my cat posts displayed using the template file archive-cats.php I filtered getarchiveswhere to only return posts from ...
2
votes
1answer
299 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( ...
1
vote
1answer
38 views

Show full posts in archive

I have an issue where I need to display the full posts in my archive page. E.G. I have >two posts and I would like to have EACH of them displayed in full in the archive page. Thanks! How would I do ...
1
vote
0answers
45 views

Sorting a specific taxonomy by archive date using URL

OK, so I'm looking for a way to sort a specific taxonomy by archive date using the site URL. Say the custom taxonomy ("sort") value is "fruit" then then you would currently get all the posts marked ...
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 ...
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 ...
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 ...
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
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
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 ...
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
0answers
3 views

Calendar active state when on a post?

I am using the calendar as navigation for a blog. My main issues is when you click a day from the calendar: 1) it goes to that day's archive page instead up first post of that day. 2) when you get ...
0
votes
0answers
30 views

Create a filter that is using 2,3 or more custom fields

I want to integrate a archive search by custom field into my website. I have this tutorial. It works fine, but I need to integrate more custom fields. Ex: I want to integrate 2 more custom fields ...
0
votes
0answers
12 views

How to add rewrite rules adjust to permalink structure

I want to create an Archive Widget for Custom Post Type (product). I let my client to change permalink structure by himself. So, my question is: how to add rewrite rules adjust to permalink ...
0
votes
0answers
33 views

How to add archives (with pagination) to page template?

So the site I'm building has a few different archives pages. For the newest one I'm building, I tried to copy the archive.php I've got: page-archives.php: <?php get_header(); ?> <section ...
0
votes
0answers
51 views

Custom post type category page not working

I have a custom post type called 'emp_case-studies'. Archive and Hierarchical are set to true. My archive-emp_case-studies.php and single-emp_case-studies.php are performing as expected. However, ...
0
votes
0answers
26 views

Archive by months with pretty url?

I wanted to able to get the archive months working, I tried this http://codex.wordpress.org/Function_Reference/wp_get_archives#Last_Twelve_Months but it only gets the last 12 months, what I wanted ...
0
votes
0answers
38 views

Archive Page - How to output a specific custom field instead of post content

I have several custom post types and I am using archive.php and it works fine, but now the client wants to replace the post content with a custom field called ingredients for the custom post type ...
0
votes
0answers
146 views

Query multiple taxonomies plugin with ajax, archive loading posts outside filters

I have a custom post type called jobs and within I have several taxonomies: Job type (full-time, part-time, practice, etc), Country, Job Area (design, development, etc). I'm using the plugin from ...
0
votes
0answers
32 views

Custom post type archive with taxonomy

Hmm OK, I'll try to be as clear as possible. I have a CPT named "custom_type" with the args (one of many) rewrite('slug' => 'space') and has_archive => 'spaces'. My first question. When calling ...
0
votes
0answers
30 views

Is it better to use filter for the_content in archive pages?

I'm using advancd-custom-fields plugin and I'm about to modifiy my acrhive content page that is shown frontend. I use the file personnel-archive.php (because the custom post type used is personnel) in ...
0
votes
0answers
19 views

Modify link in widget archive

I want to add Google campaign to link in default wordpress widget archive. How can I do this?
0
votes
0answers
43 views

How do I create a custom archive page that my client can edit?

I've created a custom post type. I have set has_archive as true and understand I could also set it to has_archive => 'ctp' I also know that if I name a template file archive-cpt.php Wordpress will ...
0
votes
0answers
32 views

How can I redirect all wordpress tag subdirectory (subfolder) to another one (archives/tag)

I changed my permalinks and it working fine but I need to redirect old tag folder to archives/tag to not lose links which google indexed below is my .htaccess file in the root of my recipes site ...
0
votes
0answers
67 views

How do I display popular USERS based on USER PAGE views?

My website has user detail pages, specifically for Subscribers. I would like to list, maybe 5, of the most popular users based on their detail page views within a one month period. How should I go ...
0
votes
0answers
146 views

WP blog posts index URL

I want to use WP for a site that blog is just one aspect of it, and I don't want requests to home_url list blog posts (post_type=post), I want them be to fetched using another URL. This topic ...
0
votes
0answers
22 views

Multiple posts categorized by day?

I would like to set up my home page so that multiple post uploads (with no limit to the number of posts which can be uploaded) can be categorized by the day. These post uploads will mostly be videos, ...
0
votes
0answers
457 views

Genesis Grid Loop - Category Page

I would like to display posts in a Genesis Grid loop on all archive/category pages. So far I have followed Gary Jone's Tutorial: (http://code.garyjones.co.uk/genesis-grid-loop). Unfortunately, the ...
0
votes
0answers
24 views

Print Archive post

this code <?php wp_get_archives( array( 'type' => 'yearly', 'limit' => 12 ) ); ?> print me only year 2013. And this code print me all post: <?php wp_get_archives( array( 'type' ...
0
votes
0answers
29 views

Problem accessing archive posts when not in root

I'm working on a new site and I'm having a problem with accessing archives. I've created a custom post type called 'sport', and I've changed the permalinks settings, so to access the sport section I ...
0
votes
0answers
76 views

Orderby comment_count ignored if multiple orderby values

I'm trying to order my archive page by comment_count then title. add_action( 'pre_get_posts', 'my_change_sort_order'); function my_change_sort_order($query) { if (is_archive()) { ...
0
votes
0answers
55 views

How can I set up the URL for a category archive for a custom post type?

I'm working on a site www.site.com that has an additional post type: project. In registering project, I've declared "taxonomies"=>array("category") so that I can categorize the essays. Works fine. ...
0
votes
0answers
64 views

'Blog Archive' suddenly appeared on custom post type; how to remove

I have all of a sudden started seeing Blog Archives Post navigation (as below) rather than every post in that custom post type. I changed something in the Wordpress SEO plugin which has since been ...
0
votes
0answers
152 views

wp_list_categories() to link to list of posts from one custom post type and one term

Sorry for this title. I've created 2 custom post types called 'audio' and 'video'. I share them a taxonomy called 'category' with 4 terms 'cat1', 'cat2',... In my 'audio' template page, I'd like to ...
0
votes
0answers
34 views

Archive by custom date

I've got a modified version of get_calendar() to use a custom date field to display events by the date they are happening rather than using the post_date. Clicking on a date on the calendar brings you ...
0
votes
0answers
87 views

Custom post types + categories

I am asking for plugin advice: I want to build a directory website for companies and products. I have impleneted these as custom post types with additional data fields. Between products and companies ...
0
votes
0answers
39 views

Dynamic Custom Tax Archive Page?

Is it possible to have a page that dynamically shows a range of categories/custom taxonomies along with their posts? Category 1 - Post from above cat - Post from above cat - Post from above cat ...
0
votes
0answers
69 views

Query/Loop multiple taxonomies in taxonomy template

How to Query multiple taxonomies in taxonomy template, ex. taxonomy-schools.php Please help, Ihave spend many hours trying to fix this.. Here's my code: <?php $term =$wp_query->queried_object; ...
0
votes
0answers
41 views

Display custom posts archive for different tags?

I have the following query that I want to display all the posts for a tag. So when the user goes to the tag archive (not taxonomy!) it will show all the posts with that tag. What do I need to add to ...
0
votes
0answers
22 views

Make only one CPT available by slug

I did a lot of research until I figured out how to remove the slug from a custom post type. I used the method described in this post here. So I have RewriteRule ^bereiche/(.+)$ /$1 [R=301] in my ...
0
votes
0answers
39 views

Use global query parameters in new WP_Query for presenting separate results in tag archive

wp_reset_postdata() does not seem to work here. I'm building a custom tag archive template, which should feature results from different post types in diferent boxes. <?php $query_stringa= ...
0
votes
0answers
72 views

Display results from two Custom Post Types in page template

What I have is Created a new page with slug monuments Created a template file at my theme's folder that will show all records with post_type monument. [UPDATE] 3.I forgot to mention that each ...
0
votes
0answers
44 views

Featured entries on top of the archive page

Following is the code of my archive.php I want to display 8 posts at top which are in "featured" category AND current archive term (current archive term can be category, custom taxonomy or tag). ...
0
votes
0answers
36 views

home.php and the first page of the archive

I have a home.php template file in our Wordpress blog that displays a special first page as the front page of our blog (Short post excerpts, posts from categories, photos, etc, etc). Now I want to ...
0
votes
0answers
13 views

Help with recreation of custom archive area

I have a client who would like to emulate the way the archive works on this site, http://www.garancedore.fr/archives/ We're not so much bothered about the ajax reloading, but rather the /archives/ ...
0
votes
0answers
96 views

Yoast SEO Plugin auto-disables date-based archives, fix?

Have had Yoast activated for some time and noticed recently that trying to access date archives redirects to blog homepage. I made sure that in "Date Archive" settings, "Disable the date-based ...
0
votes
0answers
68 views

Group post archive by last two weeks and months

I want to show an archive menu in each page in the following manner: Today Yesterday This week Last week This month Last month Earlier How could I do that?
0
votes
0answers
68 views

Display posts on a separate page from certain authors?

I've been working on this for days. I've tried the WP codex, Google searching, etc, and I know I'm not doing something right but my patience has run out :( . I have 3 authors. I am trying to display ...
-1
votes
0answers
16 views

Pagination in Archives Page

I create a archive page who list files in certain category. <?php /* Template Name: Archives */ ?> <?php get_header(); ?> <div id="content"> <div ...