The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
0answers
60 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
97 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
43 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
21 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
91 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
34 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 ...
1
vote
0answers
190 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
69 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
51 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
65 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
283 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
152 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
49 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
380 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
176 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
39 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

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 ...
0
votes
0answers
4 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
0answers
13 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
0answers
13 views

Add Archive suffix on permalink structure

My permalink structure is /%category%/%postname%/ Where the posts can have one category and one subcategory, having its permalink: /category/subcategory/postname The homepage of all the ...
0
votes
0answers
36 views

Archive.php won't show posts

Hey there:) I can't figure out why my posts is not showing up in my archive.php page(news). I wrote this code in archive.php <?php /** * @package copenhell */ get_header(); ?> <div ...
0
votes
0answers
20 views

Weird slug in archives permalink

All my wordpress installs (and some others, as I see) have the archive based index in the following format http://example.com/date/2015/06/02. But most current installs out there display it as just ...
0
votes
0answers
27 views

Change “Select Month” name within Archive dropdown widget

I want to change the Placeholder for the Archive Widget when in dropdown format. As its set to show by month i tried to change to month label. I currently have : function ...
0
votes
0answers
16 views

Mixing ads in with product listings in wooommerce

Thank you in advance for any help on this. I've been searching and I'm having trouble finding a solution. I'd like to add some jpg's in with my products that are listed on the category page. For ...
0
votes
0answers
27 views

is_archive() not working on selected “Posts page”

I selected a page called "Actualités" in Dashboard > Settings > Reading > Posts page. Wordpress does not use archive.php when I load this page, but index.php. So I try to use is_archive() ...
0
votes
0answers
51 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: ...
0
votes
0answers
28 views

Customised Page from archive-product.php

How can I show on a template customised that uses the archive-product.php code only products from a category? I am using the same code because I need display on some pages some products with the sort ...
0
votes
0answers
23 views

Category page filterable by year and month

One of the requirements for a wordpress site I'm working on is to have a category page that can be filtered by year and month. For example: mysite.com/category/dogs/year/2015/month/02 This will ...
0
votes
0answers
12 views

Possible Bug: Archive

I just created a page called archive for some txt files and it gave me the default perm url of archive, which under normal conditions would be fine. However, this automatically then defaults to the ...
0
votes
0answers
21 views

Show posts from specific categories in a set page and some cosmetic modifications

So I'm trying to make a gallery-site for a friend's art as a hobby/learning project, and so far I've chosen a theme that I liked and modified it to fit the content I wanted to upload. But ...
0
votes
0answers
24 views

Setting default thumbnail when posting a link to archive page

Is there a way to set a default thumbnail for archive pages when posting a link, ie: on someone's FaceBook wall? For example, posting a link to a FaceBook wall will show up as: [thumbnail] Link and ...
0
votes
0answers
25 views

the_post_thumbnail attached to wrong post in archive

I'm using this code to get the image from post_thumbnail and displaying it as a background, however, once I place it in the archive page, I get a strange behavior: thumbnail for post 1 is empty, then ...
0
votes
0answers
51 views

Creating an archive page listing external data

I am working on a plugin that displays external data, within WordPress. I am attempting to create two pages. A listing/archive page, and a detail page. Example: /cars/ List all cars /cars/abc/ ...
0
votes
0answers
46 views

Taxonomy Archive page extend with children pages

I am having a custom post type named doctors. Doctors have some custom taxonomies like speciality,area and insurance. I want to combine the taxonomies so I can create the following combinationsQ ...
0
votes
0answers
24 views

Permalinks for categories…making sure that you get the right link in a Category Archive

I recently completely a site with a lot of categories and sub-categories. And in many cases, a post might go in multiple categories. Of course, I know how to do that by simply checking off multiple ...
0
votes
0answers
22 views

Separate blog archives by category

I have two categories for the blog posts on my site, lets call them A and B. I want to add an archive widget (by month) to the right sidebar that only uses category A posts and only shows category A ...
0
votes
0answers
58 views

Site loads very slow for archive custom post type page

I created a directory website which has a page that displays all the listings (1,005) This page takes VERY long to load. Is there any way to speed this up? Its using a custom post type listing. There ...
0
votes
0answers
22 views

Archive display on category base

I am developing a news epaper by implementing yumpu plugin and i used archive calender widget. I have some category like jhalak, devdhara etc. Every epaper is a single post for that specific ...
0
votes
0answers
33 views

Keep same archive.php for post from archive?

I have create a new template for my archive ( using archive.php); however, when I click to the post from my archive list, it keep the same layout of the single_post, I'd like the post open from the ...
0
votes
0answers
68 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
134 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
0answers
91 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 ...
0
votes
0answers
62 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
33 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 ...
0
votes
0answers
61 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 ...
0
votes
0answers
17 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
11 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
18 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
0answers
33 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
0answers
221 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 ...