The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
1answer
132 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
119 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
329 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
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
213 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
106 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
44 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
333 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
157 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
37 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
9 views

how to make separate category term archives by post type

I've searched around, and many others are struggling with similar questions that don't seem to have been answered well. So please help reduce this misery! Suppose you've got an off-the-shelf ...
0
votes
0answers
16 views

Gallery image archive page

I need to create an image gallery archive page. Actually I need something like where user will be able to create an image gallery with a few images and with a title through admin panel. The gallery ...
0
votes
0answers
16 views

How can I list posts in an archive but grouped by categories

In an archive of a term I want to list the posts but grouped by another taxonomy terms for example im in taxonomy archive "books" list all posts by a taxonomy term of author Author post post ...
0
votes
0answers
17 views

Archive Page Isn't Showing Article Excerpts

I'm using the _tk theme (bootstrap + _s) and in the reading form I've set the Posts page to a static page because I'm using a static front page. I've also set it to show a summary for each article. ...
0
votes
0answers
20 views

How to count the number of monthly archive?

<?PHP $num_cats = wp_count_terms('category'); echo $num_cats. '<br/>'; ?> I get the number of total categories from the above code. How can I get the total categories based monthly ...
0
votes
0answers
28 views

Date Archive pages 404 error

I am building my own theme and realized that all date archive pages (all date, month and year) are throwing a 404 (its a locally hosted site). Its not theme specific as I thought earlier, because I ...
0
votes
0answers
33 views

Load new Posts on Scroll on Page

See this reference site: http://alwaysjudging.com/archive/ It's loading new posts on scroll down, similar to Infinte Scroll plugin. (But I'm unable to get the Jetpack Infinite Scroll plugin to work on ...
0
votes
0answers
21 views

Transfering static site to wordpress and retaining category by month paginations

Firstly apologies for the long post. I have a project in the works to transfer a static html new site into a cms. I've chosen wordpress, because it seems to be the easiest to maintain and manage from ...
0
votes
0answers
65 views

How to display list of taxonomy terms of all posts in taxonomy archive?

I have 3 separate taxonomies, all with their own terms. When a term is clicked and the user is taken to that archive, I want to display a list of all the taxonomy terms associated with all the posts ...
0
votes
0answers
30 views

Modify taxonomy-$taxonomy-$term.php to include posts from all blogs in multisite

How should I modify the taxonomy-$taxonomy-$term.php template to include posts from all sites in the network? I've been looking into the query_posts method from the Custom Queries Codex article, and ...
0
votes
0answers
26 views

Create a link to a yearly archive of post for a custom post type?

I've got a custom post type, and I'm building an archives.php for it. I'd like the archive page to link to sub-pages. Each sub-page would list the CPT's by year. How can do this?
0
votes
0answers
18 views

Add comments to any of several posts in an archive listing?

I just had a client ask for this and I am not sure it is even possible (or doable in anything close to staying in our time constraints/budget). I have a custom post type that only consists of very ...
0
votes
0answers
11 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
50 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
19 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
49 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
175 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
39 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
48 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
316 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
58 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
44 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
21 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
57 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
44 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
71 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
240 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
29 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
520 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
25 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
30 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
82 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
65 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
68 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
182 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
44 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
77 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
69 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
72 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 ...