Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
13 views

Building a filterable archive, show all results when search is empty [on hold]

I'm trying to build a filterable archives page for example user could filter to show only content from a specific category, to do this I'm editing the search.php template. Problem is when I do an ...
0
votes
1answer
39 views

WordPress custom post type archive with description

I have a common design pattern I'm not entirely sure how to best execute in WordPress. The layout is a listing of post teasers (title, trimmed body, image) on an overview page. Let's say example.com ...
0
votes
0answers
31 views

Post type archive pages with custom query

Apologies if this is something trivial, but I can't seem to get it right and I can't quite find the correct way to tackle this from previous questions. I am building my own theme. I have the normal ...
0
votes
0answers
27 views

archive.php can't find categorized posts

I keep getting the "Oops, post not found!" error message when I try and view all posts from a specific category. I think the issue is stemming from the fact that I'm actually using Custom Pages with ...
0
votes
1answer
28 views

Archiving posts in wordpress

I will have lot of posts in my wordpress site. And I want a archiving functionality. I have a separate section in my site which will show only the archives, and the archived posts will not show up in ...
0
votes
3answers
69 views

wrong template for page of archive

I am trying to add pagination to the archiveof my custom post type. Right now it is structured by year & month and I want to add pagination and I fail miserably. So its like this: <!-- ...
0
votes
0answers
25 views

Archive sorted by month - separate

I was looking for my answer in this forum but without success (so far..). Case is following - I have a news page with sidebar that shows archive (last 12 months). I'm using following code: <?php ...
1
vote
0answers
10 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 - ...
0
votes
1answer
22 views

I Need to use Month , year in my all archives and pages of my wordpress site

I need to have month/year in all my pages in my wordpress site . For example : If that the page title is " Online exams " I need to have it like " October 2014 online exams" . I have around 10-12 ...
0
votes
1answer
34 views

Wordpress showing wrong category name

I'm using: $category = get_the_category(); echo $category[0]->cat_name; to display the current category as a header in an archive template (example of local url is ...
0
votes
0answers
21 views

wp_get_archives using a custom date field instead of post date?

I would like to use the wp_get_archives() function but instead of generating a monthly list of links based on the post date I would like to generate the links based on a custom field date. Any idea ...
0
votes
0answers
18 views

How to create archive page for items in custom taxonomies within custom post types

I'm working on building a portfolio system that's setup with a custom post type (portfolio_items) and a custom taxonomy (portfolio_category). One of the portfolio categories is called "Branding" and ...
1
vote
0answers
38 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 ...
0
votes
0answers
28 views

Page 2+ of taxonomy archives does not recognise sort-order from dropdown

I'm using a custom taxonomy archive and I want the user to be able to organise it by 'latest' or 'alphabetical' along with other custom fields in a dropdown form. Seems to be working fine on the first ...
1
vote
1answer
42 views

Custom Post Type with static page for archive

I have created a custom post type 'books', but I don't want to use archive-books.php to list the books. I need to use a static page to list my books because I would like to add content using the ...
0
votes
1answer
94 views

Custom post type / taxonomy rewrite archive page 2 gives 404

I've followed the code based off this and everything is working perfectly -How to create a permalink structure with custom taxonomies and custom post types like ...
0
votes
1answer
20 views

Blog pages show at most unrecognized by code

This is the code I use to grab my post archives and style the first post differently. (Full code linked.) This code does not seem to be recognizing the "Blog pages show at most" setting under ...
1
vote
0answers
26 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 ...
0
votes
0answers
8 views

Archive a subdomain under the main domain

We have a primary domain. Each year, we create a wp-installation under a subdomain with a city title. For example the primary domain is x.com. We then create a subdomain a x.com/NY which may use a ...
0
votes
0answers
5 views

Updated Answer to Archive Listings Filtered by Date Values in a Custom Field/Post Meta?

I'm looking to see if there is an updated solution to this problem that was solved 4 years ago. Archive Listings Filtered by Date Values in a Custom Field/Post Meta? A problem I'm having is that ...
0
votes
0answers
12 views

How can I use the archive functionality based on a custom field instead of the post date?

I'm building a product release date calender. Each post will have a custom field with the release date in it. I'd like to use WordPress's already built in archive functionality with the release date ...
0
votes
2answers
30 views

Post archive for certain post format

I am using the following code for a custom archive of all posts: $taxonomy = 'category'; $param_type = 'category__in'; $term_args = array( 'orderby' => 'slug', 'order' => 'ASC' ); ...
0
votes
3answers
105 views

Use one template only for custom post type archives?

I'm currently using archive.php as a generic listing for categories, tags, authors, etc. However, my custom post types have a very customized archive page that's completely different from archive.php. ...
0
votes
0answers
21 views

Archive query not working correctly

I think I am missing something while trying to create an archive page for my post type I decided to put three levels of data in one post type and was going to separate it by templates depending on ...
0
votes
1answer
37 views

Display future posts in archive

I'm using the following code to display an archive of posts. <?php // Get years that have posts $years = $wpdb->get_results( "SELECT YEAR(post_date) AS year FROM wp_posts WHERE post_type = ...
0
votes
0answers
50 views

Archive page display all posts which are listed under multiple categories or tags

Say I have some posts that I want to display which are listed under the categories "Video Games" and "Reviews". Or I have some posts under the tags "Mario" and Four-Stars". I initially came to ask a ...
0
votes
2answers
52 views

archive-{custom_post_type}.php not getting recognized wordpress

I have registered a custom post type city with 2 taxonomies city_categories and cities. But wordpress is taking archive.php instead of archive-city.php, don't understand where am I mistaking. It works ...
-1
votes
1answer
35 views

List archive year - post by post

I want to do a list archive "post by post", but separated by year. Like this: <h2>2014</h2> <ul> Post 4 Post 3 Post 2 Post 1 <ul> <h2>2013</h2> <ul> Post 3 ...
0
votes
0answers
34 views

Archive.php is not displaying tags

I have a fairly standard "if" construct to detect what archive.php should display (see below) I also have a custom post type and a custom category. When a user clicks a displayed category (taxonomy) ...
0
votes
1answer
45 views

Creating a archive for taxonomy terms, not the term results

So I am attempting to build the first page in my navigation hierarchy to choose product categories. I have a custom taxonomy called collections. I would like to create a page that loops through all ...
0
votes
0answers
22 views

Yearly Archive Page?

Is it possible to have Wordpress automatically create yearly archive pages; simarily to how it creates monthly archive pages. For example: blog/2013/07/ shows all the posts form July, 2013 and like to ...
0
votes
0answers
16 views

Combined Category+Tag Archive Page

I am currently developing a music blog. I am using Wordpress categories for the artists and the Wordpress tags for featured artists. I want to combine the archive pages for artists and features into ...
3
votes
2answers
100 views

Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?

I am building a theme in which I have a post type, which will have an archive in a grid layout. You're probably thinking, "Just use the CPT archive!" Well, there are some cons to that method that I'd ...
0
votes
1answer
44 views

Combining custom taxonomy posts with default posts on one archive page

I'm trying to get custom archive posts and default posts combined onto one archive page which I have managed... sort of but I can't get pagination to work either using the pagenavi plugin or the ...
0
votes
0answers
12 views

How to Create Category Template list Subcategory?

im have database category -Category 1 --S1 Category 1 --S1 S1 Category 1 --S2 S1 Category 1 --S2 Category 1 -Category 2 --S1 Category 2 -Category 3 How to create check in Category as: Is go to ...
-1
votes
3answers
62 views

is_home() vs is_archive()

I have set my front page set to be a static front page, "Home," and my Posts page is set to my "News" page. When on my News page, is_home() returns 1 as expected but is_archive() returns 0. I would ...
0
votes
0answers
33 views

How to create a posts archive page showing only the date and the post title

I have the following question about how to create an archive page on my website. As you can see opening this link: http://lnx.asper-eritrea.com/ Under the header slideshow I have 3 boxes, the second ...
0
votes
1answer
18 views

Permalink, links a page to the homepage

So I'm using the 'post-name' pretty permalink structure. I have a page called The Trust, the slug of this page is the-trust. But when i go onto www.mydomain.com/the-trust, it shows the the homepage. ...
0
votes
1answer
68 views

Root level category, tag, author and archive pages to work

I want root level Wordpress urls to work for category, tag, author and archive page. For example right now categories pages are. domain.com/category/cat-name/ it shows posts under cat-name ...
0
votes
0answers
34 views

Custom post type plugin archive page doesn't work?

I am creating a custom post type plugin. In that I have added a custom archive template and single page template. The single page template works fine, whereas the archive template is not working. ...
0
votes
0answers
28 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
1answer
34 views

pre_get_posts conflict with archive posts

Currently using bbPress as a forum. But now I have some conflict and archive post page is displaying instead of forum? How should I proceed? Any ideas? EDIT: Actually found the causing problem. It ...
0
votes
2answers
82 views

Increase number of posts in archive page

Currently my website archive page is showing 5 post per page. I need to set it to 100 post per page. (My home page showing 5 post per page and I don't want change it) Here is my archive.php ...
0
votes
1answer
38 views

Taxonomy archive 404ing (not term archive)

I may have just dug too deep into WordPress lately that I am not able to free my head & don't get this working as supposed to do. I want a simple taxonomy archive listing all taxonomy terms (not ...
0
votes
2answers
55 views

Custom page in archive page for certain category

In my archive page I want a certain category not to display. The rest of the code I'm adding, but it goes to a custom page The logic is like, if is category=33, then include photo.php <div ...
0
votes
0answers
42 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
1answer
335 views

Custom post type posts don't show in archive widget

I have a custom post type called 'Podcasts' but none of the posts are showing in the archive widget. Only the main query (blog posts) are being shown. I've tried adding this code below to include the ...
0
votes
1answer
79 views

How to display custom post types AND regular posts separately on a shared taxonomy archive?

I've looked over numerous questions and answers on problems somewhat related to this but can't seem to find the same situation or solution. I have a custom taxonomy that needs to have an archive page ...
1
vote
1answer
17 views

Is there a better way to do headings for (all) archives?

I've been writing wordpress themes for years now and am kind of getting bored of copy-pasting the same bunch of code for archive titles. Let's say I have 1 template for yearly and monthly archives, ...
0
votes
0answers
29 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 ...