The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
2answers
112 views

Archive pages have smaller font then the rest of my website [closed]

I have my awesome wordpress website here that I have been working on for weeks now and all is great with it except for one thing! For some reason when you try to look at the archives pages the whole ...
0
votes
1answer
60 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
257 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
1answer
192 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
2answers
525 views

How can I change the way dates shown in the archive widget?

Now it shows something like this: March 2012 February 2012 But I want to show something like this 03.2012 02.2012 or something in Turkish like this Mart 2012 Şubat 2012
0
votes
1answer
49 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
95 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(); ...
1
vote
3answers
1k 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
54 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
1answer
622 views

How to have multiple archive pages?

I am building a site that needs pages such as News, Events, Projects and People. My question is, how should I achieve this in WordPress? Do I use custom post types? And if so, how do I have a page for ...
-3
votes
1answer
741 views

AZ Directory posts directory index

I would like to create an A to Z index of posts in a certain category. This must include a linkable directory of letters ABCDEF .... etc and a list of articles ordered by title grouped by letter. ...
0
votes
1answer
119 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 ...
1
vote
3answers
763 views

How to show a tag archive of one post type only

I have a site with multiple custom post types and taxonomies. The taxonomies are shared across all of the post types. On the archive page of the 'videos' post type, I want to show a list of all of ...
0
votes
0answers
69 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?
2
votes
1answer
177 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 ...
3
votes
3answers
2k views

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

(Moderator's Note: The original title was "using archive by date with a custom date") I'm adding an additional date to posts as a custom field. Now I want the archive to show posts by the custom date ...
0
votes
2answers
2k views

Category Specific Archive

I'm trying to display a monthly archive but only for a certain category. How can I do this?
0
votes
0answers
74 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 ...
2
votes
3answers
5k views

Custom post type pagination 404 fix?

Been trying to get this working all day but haven't had any luck... I have a custom post type called 'news' and an archive template (archive-news.php), here I'd like to show 2 posts with pagination, ...
4
votes
1answer
489 views

How to Add jQuery Infinite Scroll to My Custom Archive Page

I currently have a custom archive page that displays my current post at the top and then links to all of my older posts below that. However, I need to break up the page so that it displays the ...
0
votes
1answer
167 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 ...
0
votes
1answer
76 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
89 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 ...
1
vote
0answers
45 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
880 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
29 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
146 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
63 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
2answers
1k 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 ...
1
vote
2answers
3k views

Sort results by name & asc order on Archive.php

I currently use the following code to list posts in Archive.php but I want the results to be ordered by name in ascending order, I have checked the codex but the answer isn't clear to me, how can I ...
2
votes
2answers
2k 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
1answer
163 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
104 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
142 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 ...
1
vote
2answers
122 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
33 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 ...
0
votes
1answer
51 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
319 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
92 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 ...
2
votes
3answers
200 views

How to show static placeholder when less post elements in archive page?

I'm doing an archive page for a theme that will contain only images thumbnails. The maximum amount of thumbnails that the page layout can contains is 12. So as query I would like to been able to get ...
2
votes
1answer
179 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
69 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 ...
0
votes
1answer
44 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". ...
2
votes
1answer
163 views

How to create tabled index of posts in a certain category

I have a tech blog, what I want to do is to create an index page for articles in a certain category. For example, I want all the articles under the category "WordPress BasiX" to be arranged in an ...
3
votes
2answers
4k views

Display list of Sub-Categories and the posts they contain, within one main Category

I've found tons of code and plugins to do various things; from show posts for specific cats, subcats of a cat, etc.. BUT, I cannot for the life of me find, nor do I know the WP API well enough to do ...
0
votes
1answer
103 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
172 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
539 views

Why is the custom taxonomy archive page redirecting me to a single post? [closed]

I have a custom taxonomy, artist, that is related to three custom post types: videos, posts and letters. I have an taxonomy-artist.php template that should display the archive for a given artist. ...
0
votes
2answers
980 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
221 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 ...