The archives tag has no wiki summary.
0
votes
1answer
24 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
2answers
35 views
How to hide a post from archives
I want to hide the WordPress post from archives page using the 'private' option. I only want the post to be hidden from archives but visible to public. How to I do it?
0
votes
0answers
9 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
1answer
25 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
14 views
How to get type of archive whether it is post or date or category archive?
using function is_archive() we can know whether it is archive page or not.
But if it is archive page how can i find whether it is author archive page or category archive or date archive.
I have ...
0
votes
1answer
18 views
Category archive is displaying all posts rather than the specific category
Here is my loop code for index.php . I do not have an archive or category.php right now. This is very basic.
$temp = $wp_query;
global $wp_query;
$wp_query = new WP_Query();
...
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
1answer
17 views
How to prevent a custom post type from using the archive.php template?
I have the following:
//Jobs
register_post_type( 'jobs',
array(
'labels' => array(
'name' => __( 'Jobs' ),
'singular_name' => __( 'Job' )
),
...
0
votes
0answers
24 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
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
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?
1
vote
3answers
42 views
How do I remove unwanted pages like archive, search, etc.?
By default WordPress pushes out a whole array of pages I don’t want or need - archive, author, blog, monthly, recent posts, categories, comments, attachment, taxenomies, search, search results, and ...
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
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 ...
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 ...
0
votes
0answers
31 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
1answer
38 views
How to let custom post type posts show in standard post archive (like in homepage)?
If I, for example, create a custom post type named 'tutorial', how do I get it to also show up in places like "Recent posts" , etc?
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
21 views
Archive for custom fields?
Recently I've done a nice taxonomy system on my WordPress website. Created also the taxonomy archive template files, so wherever I'm listing the taxonomies I can click on them and will bring me on a ...
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 ...
0
votes
2answers
109 views
Add multiple orderby with pre get posts
I am already using a small code to set default sort orderby a custom field called "Year" I need to add another orderby to also sort by "Post Title" in the same sort.
Sort = Year-Customfield (DESC) ...
1
vote
1answer
15 views
Archive - same title for the first two posts
I created an archive page called archive.php
Here I include header / footer and this code:
<?php if (have_posts()) : while (have_posts()) : ?>
<h1 class="entry-title"><a ...
2
votes
1answer
51 views
Category page only displaying the posts from a custom type
Situation
I have two cpt:
Projects
Works
In these two CPT I share the same taxonomy 'Category', and the same terms:
Architecture
Landscape
Interior Design
I have URLs like
...
0
votes
2answers
52 views
How to get the custom post type from an archive page?
In my website I have three custom post types: scripts, scenes and plugins. When visiting the archive page of a single post type (i.e. by going to mysite.com/plugins) you correctly see all the posts of ...
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
2answers
31 views
Create archives by author role
I have a site that will have some custom roles (capabilities), and I would like to have archives that list authors based on their role.
authors.php list the profile of one author, but there is no ...
0
votes
0answers
51 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 ...
1
vote
2answers
270 views
Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
What I am trying to do?
My blog uses a custom taxonomy called edition with terms like us-canada (6), eu (7) and india (8) -- term slug (ID).
I want to make sure that posts not assigned to any ...
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
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
40 views
weekly archive for custom category
<?php $args = array(
'cat' => '2',
); ?>
<?php wp_get_archives($args); ?>
I pull out the custom category with the above codes, it works fine & shows up ...
0
votes
1answer
94 views
Overwriting TwentyTwelve template file with child theme template, but lower in the hierarchy
I've (I think) an interesting problem here. What I want to do is create a global archive page, with everything on it. Dates, authors, categories etc all on one page.
I have a child theme, with ...
2
votes
1answer
127 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
1answer
30 views
Find out in which kind of archive am I
in archive.php file, I want to know, which type of archive I i'm in. For example, if I i'm in archive for category Personal I'd like to be able to display it in header of the archive. Of course, I ...
1
vote
2answers
90 views
Cache previous versions of website?
I'm working on a new site for a charity. They publish a printed magazine & we would like the website to always reflect the current issue of the magazine.
So far I have a front page (home page) ...
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
111 views
Create /archive page in Wordpress Theme
I'm trying to create a Wordpress theme, and I'm having a little difficulty with creating an easily accessible archives page.
First off, I'm not referring just to the standard archive.php in the ...
0
votes
1answer
48 views
Assign CPT archive page attributes
I have a custom post type recipes which uses the archive-recipes.php template automatically.
I have a Wordpress page called Top Recipes which is set to use the archive-recipes.php template in the ...
0
votes
1answer
51 views
Use an archive as the parent of a page?
how can I solve the following problem?
I have the category "Events" with the permalink www.myblog.com/events/ and of course single events like www.myblog.com/events/lets-party/. Now I want to add a ...
2
votes
1answer
63 views
Archive dropdown styling not applied
I am trying to add a custom dropdown for archives but struggling with couple of mistakes that might be the reason why it doesn’t work.
The CSS only gives my dropdown the width, not the other styles ...
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
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 ...
0
votes
1answer
44 views
Custom Post Type archive
Hey all first off im a WP newbie so go easy!
Ive been searching for a couple of days now to see if I can find the answer to this but cant get anything definitive.
I have a custom post type called ...
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
64 views
Stop header code from showing in category page?
Hi I'm using the code below to show different header images in my custom template archives.
Only problem is that it is also showing the headers in the category templates.
go to ...
0
votes
2answers
117 views
Creating 'posts page' loop based on the page itself
The setting Settings -> Reading -> Posts Page is set to my 'News' page, and the loop for the home.php template is populated with posts... great.
However I want to also be able to create another ...
0
votes
2answers
114 views
How do I remove a category from a wordpress loop>
I have a question. I need to have, in my archive.php file, a exclusion of a specific category. given what I have now, how would I make that happen?
Here is the code:
<?php
...
0
votes
1answer
65 views
Wrap the “show_post_count” between div
How can I wrap the "show_post_count" between a div? (from the wp_get_archives())
Do I need to edit the function for that?
Or could I do something like this with pseudo css?
<div ...
