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

learn more… | top users | synonyms (1)

0
votes
0answers
26 views

archive-{$post_type}.php not working [duplicate]

My has-archive is set to true in the register_post_type. My archive-portfolio.php exists. I've tried flushing rewrite rules. I've tried a lot of other stuff, and after every step, I reset/saved/...
1
vote
1answer
32 views

Author archive doesn't work [closed]

I'm trying to solve an issue on my website : www.jack35mm.fr I didn't make the theme (just bought it), but the thing is : the author archive page doesn't work. I mean : http://www.jack35mm.fr/author/...
0
votes
0answers
25 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 ...
1
vote
2answers
60 views

The loop seems stuck to a single (now deleted) post

At first I thought it was an ACF problem, but printing some values helped me to find out that somehow my Loop seems stuck on a single post, but only when some fields are concerned. To sum up my setup:...
0
votes
1answer
17 views

get_the_terms_list output last child only

I'm using get_the_term_list on an archive page which currently outputs all categories that a post is in with links. My question: Is it possible to only display the last child category, not any ...
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
1answer
75 views

How to remove category titles?

When I go into certain categories, there is a page title that says "Category: category_name", like this: I would like to remove the "Category" from that title. I've already looked around quite a ...
0
votes
1answer
28 views

Bundle a page with custom url and a function

I have a plugin that allows users to bookmark posts and I want to create a page/archive/index for all those bookmarked posts. What I've done so far is: created a menu link that is displayed if user ...
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 ...
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/{{...
-1
votes
1answer
95 views

How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?

So I made some custom posts and taxonomies.. http://example.com/?product_category=mytaxonomyterm&lang=it Till here, all fine: I get a 'mytaxonomyterm' taxonomy archive. Btw, lang is because I'm ...
1
vote
0answers
94 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 ...
0
votes
1answer
30 views

Archives widget doesn't work?

I've seen the same thing in every theme I've tried: Main page shows ten (or more) most recent posts. Click on a month in the archives list, more than a year back, and Wordpress generates the exact ...
1
vote
2answers
42 views

Private theme update with zip archive without deactivating the theme

I have a private theme and I want to deploy new theme versions of it as smoothly as possible. I've heard about: hosting the theme somewhere like wp-updates.com using plugins to update theme ...
1
vote
1answer
185 views

get_post_type_archive_link('post') returns current category archive

I am using get_post_type_archive_link('post') on my index.php page to get the url of all posts from all categories. I'm using it in a filter. I have listed all the categories separately using $...
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
1answer
30 views

I want to show my post for limited time, how is it possible?

I want to make one website like a newspaper, so i want to show my daily post for one day or limited time, after one day previous post will go to archive and no longer show on web page, how is it ...
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 ...
0
votes
1answer
20 views

How can I relate custom post types?

I've got a custom post type of product and one of case study. Each product has a series of related case studies. How in Wordpress can I relate these items? I'm using CMB2 and a custom multiselect ...
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
1answer
22 views

Is a list page usually called an archive page in Wordpress?

If I have a custom content type of events, and I want a page that shows all the events, is this known as an archive in Wordpress? This would be the link http://example.dev/?post_type=event that ...
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
1answer
24 views

Display Day names with wp_get_archives instead of date

Im basically trying to show the archive for 1 week and instead of displaying the date, i want to display the day names. like monday-sunday. right now im using this code wp_get_archives('type=daily&...
0
votes
0answers
36 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
1answer
47 views

is_page() not working with archives?

I am creating a dynamic menu and in my foreach loop I am running a is_page using the page title: <li class="<?= (is_page($tlp->post_title) ? 'active' : '');?>"> </li> This ...
0
votes
2answers
167 views

Show archives by year from just one category

yesterday @jas helped to how to show archive by years in my nav. It works fine, but there is the second one little problem. The @jas's solution filter me posts from all categories by year, I'd need ...
0
votes
1answer
111 views

Adding archive years to my menu

I'm Wordpress newbie and despite of reading many articles, I'm able to put archive years to my main menu. Menu contains pages and I need to add an archive. My current menu: - Home (page) - About (...
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
1answer
22 views

Archive - Show Video from First Post

I am relatively new to developing in WordPress. The way my posts are structured is the post title with a video underneath followed by text. The videos supplied by my client are in JavaScript tags. ...
0
votes
0answers
56 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
18 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
77 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 ...
0
votes
0answers
77 views

How to create a custom archive by year, month, week

I have been searching for something that will do what I need, but have not found it. What I'd like to do is create an archive page that looks like this: 2015  October    ...
1
vote
1answer
93 views

From where is archive.php getting its posts?

My archive.php starts like this: get_header(); ?> <?php if( have_posts() ): ?> <div id="container" class="portfolio-wrapper"> <?php while( ...
0
votes
0answers
55 views

Index.php Not Showing Custom Posts / Terms

I have my index.php page set up and is displaying my posts page as well as category archive pages without any issues. The problem however, is trying to display posts for custom taxonomy archives. The ...
0
votes
1answer
56 views

Echo taxonomy name - second level

I have the following taxonomy: Location: Province --City ----Suburb Province --City ----Suburb How can I echo the names of "Suburb" (second level) on an archive page? So, for example: Location: ...
0
votes
1answer
82 views

Current author archive in navigation menu

I want logged-in user see her/his own author archive page link in top navigation menu,say (a link to a list of all her/his posts). What I achieved so far is this: function my_nav_menu_author_link( $...
0
votes
0answers
78 views

Custom post type pagination page 2 404 error

Sorry to repost this but I haven't found a solution to my problem. I registered a custom post type instructor-emails and when I try to make the archive one post per page, the other pages return a 404 ...
0
votes
1answer
64 views

Make archive page show up in search results?

I'm trying to get the archive page of a category show up in the search results. I've developed the following setup. A category is a store, the archive page is the store's main page. Every store has ...
-1
votes
1answer
149 views

Custom archives page by month and year - nesting problem

I'm attempting to add a custom archives page within wordpress, outputting a complete list of archives by year and month. The code below works, more or less, but a html validator outputs errors saying ...
1
vote
0answers
235 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 ...
0
votes
1answer
37 views

Get archive post type name

I want to make function, which gets me a post type slug (or object - doesn't matter) of post type displaying in Archive page, or even on archive pages of its taxonomies. Is it possible? I have this ...
0
votes
0answers
114 views

date archive future posts

Im using cpt for events and i need to display them in a calendar. most of the events are future. i managed to query the right ones by post_status at the archive, but I need to do the same at the ...
0
votes
2answers
42 views

Is there a way to multiply archive loop results sequentially?

I am trying to make my own version of this I've implemented bootstrap grid in my attempt. I'm very close, but the <div class="row"> being looped is causing problems. I want to just be able to ...
0
votes
0answers
11 views

wrapping post count with <!— posts -->

I need to display number of posts on my blog, but the post number needs to have a <!-- posts --> before and after it (instruction from an antenna site I'm truing to join). I have found code ...
0
votes
0answers
400 views

How to create a category filter on custom archive template?

I am trying to filter posts by category on a custom archive / template page. My template page currently has a custom query which displays posts from four specific categories. Then I have a select (...
0
votes
1answer
204 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 taxonomy-...
0
votes
0answers
29 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 ...