The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
1answer
21 views

Custom Taxonomy Archive Page for Parents AND Children?

I have a custom taxonomy called Product Category, which has a range of parent categories, then each parent one has subsequent child categories. Is it possible for the archive page i/e ...
0
votes
1answer
444 views

/tag/tag_name/page/2 gives a 404 error

I created my own template for list of entries for certain tag (tag.php), It will shows up 10 entries, and with Previous & Next link. <?php $paged = get_query_var('paged') ? ...
0
votes
3answers
383 views

Remove category from query (show all posts in archive.php) pre_get_posts()

I am using pre_get_posts() to allow all posts to be displayed on any category archive. This is because I will provide a javascript sorting and filtering method using isotope.js. Any category page will ...
0
votes
1answer
414 views

Archive with months of current year only

I'm trying to figure out how to get the following archive navigation: JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC 2012 | 2014 Thus, a list with the months of the current or selected year ...
0
votes
0answers
5 views

Catalog/Archive page products and adding weight choice per product-all items are added to cart

I am using the following code to create a choice of quantity on my catalog/archive page with over 40 products. It looks close to what I try to achieve. Unfortunately, when I change 1 item, the cart ...
0
votes
1answer
1k views

Custom post type archive page pagination

I have set up an archive page for my custom post type reference, where I use a query to get all posts of type reference. This works, but when I try to paginate the result, it doesn't work. Right now, ...
-1
votes
0answers
20 views

How to show posts ONLY in SUBcategories using wordpress?

use wordpress and I want my posts be shown only in my subcategories. How can I do that? Right now my Raven posts are being shown under Birds as well. But I only want them to be shown under ...
0
votes
1answer
404 views

Category specific months list in sidebar.php

What have made me pulling my hair apart for while, how to output category specific month list. I've been searching for the same problem and solution cannot find any lucky so far... Anyway, I have two ...
0
votes
5answers
7k views

get term archive url / link

I created custom post types & custom taxonomies for these. Example: actors (taxonomy) for movies (post type). Now I want to show up in my widget some terms and a more link for the actors terms ...
0
votes
1answer
600 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
17 views

Category Archive Permalinks

So my blog has been running well since last time i asked a question here. But now, i've got another question, i'm having problem with the category archives permalinks So my category tree looks like ...
0
votes
1answer
14 views

Missing content on author archive page

I got problem when I deal with the 'author archives' pages. Initially I used default 'archives.php' from my theme. Then I add a 'author.php' page, tested on my local machine, it was ok to show the ...
2
votes
1answer
425 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
0answers
8 views

Show a full list of writers articles in their archives

The writers archives are only displaying articles for the current month. Meaning, every article they've done before this month isn't showing. :( Its says "show more" but nothing opens. This is causing ...
0
votes
4answers
75 views

How can I use archive-{post_type}.php theme template?

I've got a staff_member custom post type, with 'has_archive' => true. I've got an archive-staff_member.php template, with /* Template Name: Staff */ In backoffice, to add it to the nav menu, I ...
1
vote
2answers
408 views

Menu Disappears on Category Pages

I have a site whose navigation disappears on category pages for posts in the ‘post’ post type, but not for posts in any of my custom post types. The ‘post’ post type and post of the custom post types ...
4
votes
2answers
1k views

Post Format Archive template name for theme folder?

What should I call the archive file for a post format? Ex archive-gallery.php? (doesn't work) I would like to create a list of all the gallery formats with a preview and some custom taxonomies thrown ...
0
votes
2answers
31 views

How to get related category/categories in WordPress archive page

I am using WooCommerce in WordPress. I have few categories of products like these, Example: Product 1 Category (//parent) -- Category 1 -- Category 2 -- Category 3 -- Category 4 Product 2 Category ...
2
votes
1answer
2k views

Remove “Category:”, “Tag:”, “Author:” from the_archive_title

I have the following code in my theme's archive.php: <?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ?> This gives me titles like "Category: Russia", "Tag: ...
0
votes
2answers
57 views

How do I visit archive-post.php?

I have a simple file with the loop in it to get all posts called archive-post.php, but I'm not sure how I get to it in the URL? http://www.examples.com/post/ gives me a 404 How can I see the archive ...
0
votes
2answers
1k views

How can I use “getarchives_where” to get monthly archives for static pages?

I would like to get monthly archives for static pages. I tried to use the next code: add_filter('getarchives_where','my_archives_filter'); function my_archives_filter($where_clause) { return "WHERE ...
0
votes
0answers
9 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 ...
0
votes
1answer
388 views

Create template for taxonomy results limited by Custom Post Type

I've got a Custom Post Type with a Custom Taxonomy set up. So how do I create an archive template to display posts from that CPT, limited by taxonomy? Here's the deal: The CPT is called Shows. Each ...
1
vote
1answer
52 views

Display posts from only one post form in custom query and exclude in main query

I am trying to first display four posts with post-format-aside (all assigned to current tag) and then display the "real" archive (exclude post-format-aside) for the specific tag. Right now I am using ...
0
votes
0answers
24 views

How to conditionally check for author archive when is_author() fails to work because the author has no posts

I am using the author archive to output user profiles, however the is_author() function only works if the author has a post. If I visit an author archive page directly IE: /author/author-11, it has ...
0
votes
0answers
27 views

Category archives

According to the WordPress docs, to show a Category archive you simply need to create a file with the right file name i.e. category-slug.php category-ID.php category.php archive.php However what ...
0
votes
0answers
6 views

Rewrite Rules and Archives

I have a URL that looks like this http://localhost/mysite/publications/2015/ and using the Rewrite Rules Inspector plugin released by WordPress I get the following 2 matches for that URL: ...
0
votes
1answer
9 views

Permalinks - Archives

The WordPress docs say: WordPress offers you the ability to create a custom URL structure for your permalinks and archives. https://codex.wordpress.org/Settings_Permalinks_Screen I see how this ...
-1
votes
2answers
52 views

How can I get the ID for an archive page? [closed]

I have woocommerce page for my products that is treated like an archive page. I need to get the ID for the archive page but obviously if I use $post->ID or get_the_id(), etc. I get the id for the ...
0
votes
1answer
35 views

Make tag archive display post are ordered by post format

I would like to set up an archive page for tags where posts are displayed separated depending on post format, first post-format-aside then an archive with all posts except the posts already displayed, ...
0
votes
1answer
30 views

Return the name of the post type

I have this in the archive.php file of my theme: <?php else : ?> <h1 class="archive-title"><?php printf( __( get_post_type() ) ); ?></h1> <?php endif; ?> And it ...
0
votes
1answer
46 views

Change title in head on Archive page

I'm having problems with figuring out how I can change the title on my archives pages. I now have a title like this: <title>Jobs Archive - The Company</title> But I would like to have a ...
1
vote
0answers
29 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 ...
2
votes
2answers
748 views

How to create archive page for taxonomy terms within custom post type

I am needing to create an archive page custom taxonomy terms that are within a custom post type. It's set up as CPT > Custom Taxonomy > Taxonomy Terms. I have a custom post type called "Projects," ...
0
votes
0answers
22 views

Get X posts for all post types on Taxonomy term archive

I'm working on a tabbed archive page for taxonomy terms. Ultimately, I want each tab to show the 10 most recent posts for an individual post type with a "see all" link at the bottom of the tab that ...
0
votes
1answer
26 views

Add hour to archive link?

I have searched about this on internet but hopeless. The default of archive link is yoursite.com/year/month/day . My site is about news so i want to add hour to archive link to become ...
0
votes
1answer
22 views

Get current title of archive.php

I want to get current title at file archive.php My code : if ( is_category() ){ echo "CATEGORY"; } else if( is_tag() ){ echo "TAGS"; } else if( is_author() ){ echo "AUTHOR"; } else ...
0
votes
1answer
2k views

Regex problem in an add_rewrite_rule

I'm working on a category page for a custom post type called articles in WP 3.1, and I'm having some trouble with extracting the page number. The url: /articles/category/background/ Currently, what ...
0
votes
1answer
35 views

Rewriting archive page slug to be different than custom post type slug

I am having trouble changing the slug of my archive page. The goal is to create a page that can be edited from the back end of WP with the slug 'speakers', but that has already been taken by the ...
0
votes
1answer
41 views

Dynamic category name in query post

I want to make the following query_posts to use the current page's category name. For example, the user is located at: examplesite.com/category/apples/, and i want to use "apples" and for a different ...
4
votes
2answers
712 views

Create permalink structure for one taxonomy archive per custom post type

So, I've been going crazy trying to figure this out. Essentially, I've created two custom post types, 'the_case_study' and 'the_video', with respective slugs 'case-studies' and 'videos'. I've also ...
0
votes
0answers
31 views

CPT archive drop down list

after adding the function from here i try <select name=\"archive-dropdown\" onChange='document.location.href=this.options[this.selectedIndex].value;'> <option value=\"\"><?php echo ...
1
vote
2answers
481 views

Date archives for custom post type

I have seen many questions/posts regarding this, but have yet to find a decent solution. Basically I am trying to do what wp_get_archives does, but for a custom post type (personally I am unsure why ...
0
votes
1answer
22 views

How to set default archive image without overriding first attached image? [closed]

I have hit a wall. I have archive pages with some posts that have featured images which display fine. Some posts don't have featured images but the first attached image displays. Some posts have no ...
0
votes
0answers
10 views

Add author archives to Wordpress Appearance Menus Screen?

I am trying to figure out how to add a list of all blog authors to the Appearance Menus screen, so they can be added to menus with the same functionality as Pages and Posts, etc. (Not custom links.) ...
0
votes
2answers
84 views

Proper way of making custom post type landing page or archive page

I always run into an issue with creating archive or landing pages for custom post types and wanted to know how others handle this. If I want to have a landing page for a custom post type, however I ...
0
votes
1answer
39 views

archive per year with monthly

I have an archive that shows all the post on monthly now i want is to group them per year like 2015 Jan Feb March 2014 April May I'm using this code. <?php wp_get_archives( array( 'type' ...
0
votes
1answer
48 views

next and previous year month and day for archive page

is there php code for next and previous year,month,day link in archive page i just need something like that <-previous [year] next-> <-previous [month] next-> <-previous [day] ...
0
votes
0answers
25 views

How to get a single archive page to display my various custom post types respective terms?

Is there a way to make a single archive show the respective terms/categories of multiple custom post types ? So far i have been able to make use of a single archive.php to display my various custom ...
0
votes
1answer
26 views

Redirect or Prevent Viewing of Custom Taxonomy's Archives?

I've contacted the theme developer but never got a response back... I'm also curious to see if anyone else has done this with any theme. To give you a live example: ...