A page showing more than one post in the main loop.

learn more… | top users | synonyms (1)

2
votes
0answers
37 views

Filtering a custom post type by custom taxonomy in archive template

I've seen this question posted in different forms before, but most of those solutions are centered around the admin interface, and I haven't found any answers that apply to the front end. I've got a ...
1
vote
0answers
18 views

Yearly Archive for Categories with dropdown

this is my first post, I already read a lot of threads and tried a few ways but none of them worked. I have a website with two pages, which show the posts of a categorie "news" and the other one shows ...
1
vote
0answers
33 views

Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown

I have a CPT called 'online-lots' for displaying items in an auction. The posts are grouped by custom taxonomy called 'sale' (e.g. '07_15 July Sale)', meaning that a whole catalogue of items can be ...
1
vote
0answers
88 views

Prevent 404 when using pre_get_posts to filter an archive page

I have added a custom taxonomy named "area" to the default "post" post type. It's meant to organize posts by geographical area. In category pages I've added a dropdown that allows the user to filter ...
1
vote
0answers
14 views

display archive as collapsing links

I would like to output the following - 2015 -October - my post is good - another post September - 2014 - January -February I want to be able to output a nested listed of the ...
1
vote
0answers
223 views

change default post archive page link

I can't figure how to change the default post archive link. I've got few custom post types (for instance video_news, slug video), if I type www.blogname.com/video I get the archive.php. And every ...
1
vote
0answers
30 views

Custom post type archive page thinks I'm not logged in

I have created some custom post types using the Types plugin, and created their archive pages by copying my theme's archive.php and renaming it archive-{post type slug}.php. When I view these archive ...
1
vote
0answers
40 views

Use “archive” as slug for custom post type

I need to have a custom post type slug and its associated taxonomy's slug to have value "archive". Any other value is ok, I've tested it, so there is no problem with the code per se. I guess the path ...
1
vote
0answers
299 views

Custom Taxonomy Term Archive Page Template that Filters 2 or more Taxonomies

For a local directory, i have a 'businesses' CPT with 2 taxonomies - 'location' and 'type'. I am trying to figure out the best way to create taxonomy term archive pages such as: example.com/state/...
1
vote
0answers
175 views

Pagination in relation to archive.php

A small problem here, I just don't know how to change this because I'm a self taught newbie. I made a child-theme from the simone-theme with a static front-page. To it I have the archive.php as the ...
1
vote
0answers
287 views

Default 'post' post type archive slug?

I have a wordpress site, which has a front-page.php rendering a custom front page, so that this template will show no matter if WP admin settings is set to static page or show posts. The default ...
1
vote
0answers
57 views

How to use multiple archive templates for a taxonomy?

I have created a custom post type (product) with a taxonomy (brand). I need to have the basic archive pages (type A) and then custom ones (type B) to create a product comparison page which esentially ...
1
vote
0answers
58 views

Store partial database to an archive database time to time

As the community knows me that I'm not a PHP Developer by core, but trying to be one. With the company I'm working, I developed many WordPress powered News Portals, where- They publish at least 30 - ...
1
vote
0answers
171 views

custom taxonomy archive by year

there is one custom post type News there are 3 taxonomy terms(like category). 1). press-release 2). in-the-news 3). events i have list out all this three category. now what i am looking for is ...
1
vote
0answers
41 views

wordpress archive a user

Please note this question was originally created in stack overflow. I have moved it here due to recommendation. I apologize if this can be answered elsewhere. I tried searching around with no answers....
1
vote
0answers
327 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 ...
1
vote
0answers
119 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 ...
1
vote
0answers
70 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
69 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 this:...
1
vote
0answers
349 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
182 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
64 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
415 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 field....
1
vote
0answers
184 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
42 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
11 views

List titles returned on Archive page in right widget

Hopefully someone can help with this! I currently use the TOC+ plugin to create tables of content in my right widget, which works great for posts and pages. However, for dynamic content in my ...
0
votes
0answers
14 views

Taxonomy archive: Query all posts first, and then group by taxonomy term?

I have two taxonomies: 'season' and 'style'. On my 'season' archive template, the following query groups all the 'season' posts by their 'style' term. This works great. But the problem is that I ...
0
votes
0answers
27 views

Custom post type archive option

I have a custom post type of 'channel', within which there's different channels - all of which have parent/children relationships for geographically-oriented sub-channels. I want an archive (using a ...
0
votes
0answers
22 views

Year archive permalink structure redirecting to home

I'm having issues with the permalink structure of my yearly archives. http://testsite.com/2016/04/ works, but http://testsite.com/2016/ redirects to http://testsite.com My blog base page is: http://...
0
votes
0answers
38 views

Hide empty categories from get_categories

I'm trying to hide the empty categories (with no posts associated) from a list in an archive page. I'm using hide_empty as suggested on Wordpress codex but it's not working, the code outputs all ...
0
votes
0answers
34 views

How to display total views of all posts of one category?

Is there any way to display total views of all posts of one category? How to show that number on archive page? I have used this code to count views of each post: function getPostViews($postID){ $...
0
votes
0answers
24 views

How do link to the most recent post in a category (Cornerstone theme)?

Hello friends :) I am in a pickle. I am creating a website in X/Cornerstone for an artist who has many projects , each has of which has its own Wordpress site. All of them rely on blog posts to ...
0
votes
0answers
21 views

Custom Field - Save Pageviews For Specific Time Period

I have a custom field called page_view to save page views. Now I need another custom field called page_view_last_24_hour to save page views in last 24 hour. Is it possible to use custom field to ...
0
votes
0answers
31 views

How to allow users to select post order in any archive page?

I have build a something like forum using WordPress (Not using plugins). Now I want to display select filed to select user to post order ( Most recent posts, most active posts, most votes post, etc),...
0
votes
0answers
36 views

Custom filtering/search

I would need to do custom search for my archive page that would filter based on metakeys, freeword and couple select options. Probably my best option is to use the normal wordpress search ...
0
votes
0answers
33 views

Loop through custom post type taxonomies

I have created custom post type products and I want to show categories on products archive. I have this code <div class="container"> <div class="boxes"> <?php $cat_args = array( '...
0
votes
0answers
23 views

Redirecting archive page (blog) to normal page

While trying to redirect an archive page to a normal page using .htaccess I can't figure out how to make it work. I've tried using those three lines: Redirect 301 /blog$ /mvo-database RedirectMatch ...
0
votes
0answers
14 views

Unexpected template for different cat name & slug

I just shifted the website from staging to live There is category name = blog slug = blog And a page name=blog slug=blog(given by mistake) using template Blog which show posts from category ...
0
votes
0answers
25 views

WooCommerce - Display Grandchild Categories on Archives Rather Than Child Categories

In WooCommerce I have two main categories that both have subcategories that go two levels deep. As such the two categories have child categories and grandchild categories. I currently have ...
0
votes
0answers
35 views

Hierarchical permalink for taxonomy archives

Hi I have a custom post type "book" and a taxonomy "authors". Currently taxonomy archive permalink works as: localhost/book/child-author-term and localhost/book/parent-author-term No problem if ...
0
votes
0answers
17 views

Shows default archive page instead of Custom archive page

I have registered custom post and taxonomy with this code. Then created archive-{{post_type}}.php that is archive-book.php for me. I need to get archive-book.php while visiting "localhost/book/{{...
0
votes
0answers
26 views

Tags & categories in post not found how can I fix?

I am setting up a custom theme with as base template underscore. New I am completing the last bits and bolts ... but it seems that the categories and tags are not working: http://ab-isolutions.nl/dev/...
0
votes
0answers
12 views

Is there a way to combine Permalink Settings?

Image from the Codex on using Permalinks: How might this relate to custom post type archives? They claim that you can create custom URL structures for archives, but the Codex page only talks about ...
0
votes
0answers
36 views

Having a problem with Next and Previous Links

I've run into an issue with next/previous (which I implemented on archive / author pages successfully by just following the codex instructions). I have created a custom category page for "Pine Trees" ...
0
votes
0answers
33 views

Custom nav menu current item custom link problem

Because I want to add <span class="dashicons [class]"></span> inside each link of my menu I needed to create a custom made nav menu. I did this by the code below which works great, but ...
0
votes
0answers
28 views

Newsletter/Publication Archive

I work for a non-profit that offers Newsletters to our members and we are looking to add an archive of all past issues for our members (in pdf format). We do want to restrict access just to members (...
0
votes
0answers
18 views

Disable archiving of old posts?

I need to disable archiving. We want to have all posts, no matter how old, remain in the roll with the newer posts even if you have to page back to get to them. I've been searching, and most of what ...
0
votes
0answers
54 views

Way to add archives as a menu item?

Is it possible to add an Archives dropdown -- like the Archives widget -- as a menu item in Menus?
0
votes
0answers
16 views

Way to filter hundreds of posts on a paginated archive page?

I have a client who wants to filter subcategory posts on a category archive page, which I can handle, but there are hundreds of posts. It's just the featured image and title, but even so it would have ...
0
votes
0answers
73 views

Change plugin's has_archive = true to false?

When a plugin registers a post type and sets has_archive to true, is there a way to change it to be false? I don't want the plugin's post type to have an archive, but can't figure out how to turn it ...