The archives tag has no wiki summary.
0
votes
2answers
126 views
Custom post types archive redirect
I had a custom post type with slug as (sometext) which I changed to (someothertext)
And it works great
So for example :
my posts with urls like
http://localhost/sometext/innerposts
gets ...
4
votes
1answer
937 views
How to display the status of users (online - offline) in archive.php
I am using the code the user status How to check if a user (not current user) is logged in?. On page profile of the author it works well (thank you guys). But if I put on the archive page, at the ...
2
votes
1answer
54 views
Custom Post Types and archives
I have a custom post type: cats
When I visit http://mysite.com/cats I see all of my cat posts displayed using the template file archive-cats.php
I filtered getarchiveswhere to only return posts from ...
2
votes
1answer
125 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(
...
1
vote
1answer
101 views
How to add subcategories to the blogroll?
I'm looking for a way to create subcategories in my blogroll...
For example:
Downloads
-> Windows
-> Mac
-> Linux
I want to create a real page (not a widget) where the main categories and ...
1
vote
1answer
59 views
permalinks issue and archives
I have an issue with a site running on WP 3.3 where when we make the permalink anything by "/%post_id%/%postname%/", the archive pages break and become 404s.
After some research, I came to understand ...
0
votes
1answer
19 views
Display CPT index page as front/home page
I'm building a website that's sole purpose is to display other websites (defined in the CPT). Think of it as a portfolio site for a company's digital assets. I have already defined the CPT and added ...
0
votes
1answer
24 views
How to get alphabetic listing x other posts, based on first letter post?
Let's say I have a post called "Hello World" and I am on that page... Let's say I have different posts like "Haaaa" and "Hoooo".... What I want to do is showing Haaa and Hooo in a different place (let ...
0
votes
1answer
50 views
Post archive pages bringing me to a 404 page
When I try to use next_posts_link() and previous_posts_link() in my archive posts page I got a 404 error page.
I'm using this permalink setting /%category%/%postname% and working well for all pages ...
0
votes
1answer
33 views
How we display Archives for specific categories
I just want to show Archives for special categories. For example i have categories abc,xyz. I just want to show Archives for xyz not for abc. Currently i am using code to display Archives is
...
0
votes
1answer
27 views
Generate daily archive whenever any post type is added
We have an issue with our date archive in WordPress, where our daily archive (example address www.xxx.com/2013/01/09) is only generated when a post from the default post type is added. Any day where a ...
0
votes
1answer
50 views
Apply custom taxonomy archive template to children
There is a slight problem that I cannot figure out by myself:
I created a custom post type (tours) with custom taxonomy (tour categories). I have created a taxonomy-tour-categories.php to display an ...
0
votes
1answer
19 views
Tag Posts showing in wrong places
Am using a custom template (tag.php) to show posts related to tag. So when someone clicks on say tag ‘A’ then he/she gets redirected to my tag.php layout instead of default template for archives. I ...
0
votes
1answer
32 views
How to make a list of posts displaying them 5 by 5 with a “next posts” link?
I have been googling for the past 2 hours and haven't been able to figure this out, mainly because I am missing the right terminology, in other words, I don't know what I want in "wordpress words".
...
0
votes
1answer
102 views
Twenty Twelve Calender Widget <a title=“”>post titles</a> creating disturbance
In my modified Twenty Twelve theme, when I'm hovering onto the calender widget's date, there is a acronym-like balloon showing that date's post titles. Thing really is an anchor title:
<td>
...
0
votes
1answer
120 views
Archive page showing wrong month
My site's archive page is echoing wrong Month name. Though the URL is 2012/11/, it's echoing the month December 2012.
I found nothing wrong with the code:
<?php
if ( is_day() ) :
printf( __( ...
0
votes
1answer
76 views
Query Custom Post Type and sort by year
How do I create a page template were I can query all the posts from the Custom Post Type - let's say - "project" and order the results by year, displaying the year value at the beginning of each group ...
0
votes
1answer
62 views
How do I display the next 3 posts in the sidebar?
I'm building a simple "company news/press release" site. We'd like to display the latest five post excerpts on the home page with the next three post titles (six through eight) and a single "Archives" ...
0
votes
1answer
47 views
Archive links don't work when clicked
I have archive links in my theme that get the archives for a specfic category ('blog) like so:
<?php wp_get_archives('cat=6'); ?>
When i click on the link for the archives is just loads the ...
0
votes
1answer
49 views
Insert code on specific taxonomy archives
On a woocommerce site, I am trying to insert a piece of code on all category pages. The code I am using is:
function my_code() {
if ( ! is_tax('product_cat') ) return;
?>
<!-- my ...
0
votes
1answer
72 views
Permalinks not working on MU network with domain mapping
I'm using a theme with custom taxonomies. I want to use corresponding archives. If I try the template out on one network it works, and on another the permalink will take me to 404. The only difference ...
0
votes
1answer
180 views
How to 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 ...
0
votes
1answer
60 views
Problem with permalink structure for Wordpress custom post_type archive template
I have looked at other similar answers to this question but not finding my way.
I am using Custom Post Types plugin for a custom post_type called 'product' and has_archive is set to 'true' in the ...
0
votes
1answer
145 views
How to get pagination working with “Pending” Posts
I'm working on a site that allows users to browse through pending posts/content on the front-end.
However, I can't seem to get pagination working with those posts. I've got a custom query that ...
0
votes
1answer
91 views
How to create an archive section of a Wordpress site
I have created a WordPress site, nothing out of ordinary, except that the posts - that are shown in the home page - are filtered by a fixed category, and place the filtering code in the home.php ...
0
votes
1answer
247 views
filter the post listing for a particular category from archive month list
I have the month year archive list in my sidebar. after clicking on any month all post on that month listed. Now I how can I filter the post listing for a particular category ?
What I mean is that ...
0
votes
1answer
143 views
How to view all posts (on site, not admin) that are uncategorized?
I had a horrible problem a long time ago that had me end up importing a backup of most of my posts.
I'm now using WordPress 3.3.2 and I would like to view all of the uncategorized posts from the site ...
0
votes
1answer
450 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 ...
1
vote
0answers
30 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
39 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
111 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
58 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
20 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
215 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
95 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
31 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
8 views
Featured entries on top of the archive page
Following is the code of my archive.php I want to display 8 posts at top which are in "featured" category AND current archive term (current archive term can be category, custom taxonomy or tag).
...
0
votes
0answers
14 views
home.php and the first page of the archive
I have a home.php template file in our Wordpress blog that displays a special first page as the front page of our blog (Short post excerpts, posts from categories, photos, etc, etc).
Now I want to ...
0
votes
0answers
11 views
Help with recreation of custom archive area
I have a client who would like to emulate the way the archive works on this site, http://www.garancedore.fr/archives/
We're not so much bothered about the ajax reloading, but rather the /archives/ ...
0
votes
0answers
22 views
Yoast SEO Plugin auto-disables date-based archives, fix?
Have had Yoast activated for some time and noticed recently that trying to access date archives redirects to blog homepage. I made sure that in "Date Archive" settings, "Disable the date-based ...
0
votes
0answers
27 views
Group post archive by last two weeks and months
I want to show an archive menu in each page in the following manner:
Today
Yesterday
This week
Last week
This month
Last month
Earlier
How could I do that?
0
votes
0answers
24 views
Display posts on a separate page from certain authors?
I've been working on this for days. I've tried the WP codex, Google searching, etc, and I know I'm not doing something right but my patience has run out :( .
I have 3 authors. I am trying to display ...
0
votes
0answers
29 views
Archive Listing Page Theme
I am working on a wordpress template that needs a 'special' category listing page.
First of all, the page kinda needs to look like this: http://quicksnaildesign.com/example-closed.jpg
When you ...
0
votes
0answers
30 views
Custom WP Calendar Archive selected POST ID
Im trying to set up a user event calendar on my site and am tweeking the wp-calendar to achive it.
// Get days with posts
$dayswithposts = $wpdb->get_results( "SELECT DISTINCT DAYOFMONTH( ...
0
votes
0answers
147 views
Simple Jquery custom post type archive slide toggle
Hi I'm not sure if we deal with jquery in this section but as it is wordpress related I will ask anyway.
I am currently have an custom post archive that displays all posts(li's) in a month(ul's). I ...
0
votes
0answers
49 views
Custom Post Type - FIlter by year, THEN by category
Although I don't necessarily believe this to be a good idea, the client has asked this of me.
It's cake to filter by category and then filter by year (as really it just adds "?y=2011" to the end of ...
0
votes
0answers
40 views
Archive by year and category
I would like to have a page to show all the posts with this structure:
2013
category A
Post 1
Post 2
Post 3
category B
Post 1
Post 2
Post 3
2012
category A
Post 1
Post 2
Post 3
category B
Post 1
...
0
votes
0answers
25 views
wordpress archives widget doesnt take 'posts page' into account on link
i have a wordpress system installed in a subfolder called WP.
The main page is a welcome page, and i have a posts page called blog, so the blog is there.
my permalinks are %postname% . when i add the ...
0
votes
0answers
57 views
Split taxonomy-archive into different categories?
Is it possible to split the taxonomy-custom-tax.php into the different child categories of that parent category?
So rather than it just listing all the posts from the visiting parent cat, its splits ...