The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
42 views

date.php shows only three posts' title. how to fix it?

my archive.php <?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12, 'show_post_count' => 1 ) ); ?><br/> my date.php <?php get_header(); while ...
0
votes
1answer
41 views

How to hide the year in archive link

I am using the following code to show the archive link by month. <?php wp_get_archives('type=monthly&limit='.date('m').'&show_post_count=1'); ?> but it shows as december 2013 (3) ...
2
votes
1answer
2k views

Archive widget - limit number of months to 12

The default Archive widget display monthly archives in a dropdown. I would like to limit the number of months to 12 (in dropdown). What filter I should apply in my functions.php? I tried this, but ...
4
votes
2answers
2k views

How can I get posts in a subcategory to display on it's parent categories archive page?

Currently when you display an archive category page, it only displays it for the main parent, and doesn't display any of the posts that may be in the subcategories under it's parent. How can I alter ...
0
votes
1answer
67 views

Show recent posts in single-post page

I'm trying to show recent custom posts in single-events.php I can make it work by using get_posts what I don't know how to do is exclude the post that is active so if I'm on 'Event 1' just now using ...
0
votes
0answers
50 views

How can I redirect all wordpress tag subdirectory (subfolder) to another one (archives/tag)

I changed my permalinks and it working fine but I need to redirect old tag folder to archives/tag to not lose links which google indexed below is my .htaccess file in the root of my recipes site ...
14
votes
4answers
2k views

Show a different number of posts per page depending on context (e.g., homepage, search, archive)

In the Reading Settings, there is place to set the number of posts shown that affects the number of posts shown in all contexts. I'd like to show instead a certain number of posts on the homepage, and ...
0
votes
1answer
29 views

what file I need to create to work date archive links?

I am using my own theme. my archive.php.. <?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12, 'show_post_count' => 1 ) ); ?> <?php wp_list_categories( array ( ...
0
votes
1answer
30 views

How to set a link to custom archieve page

I am working on my blog where I wish to have a archieve for only specific category post. To make it, I create a custom archive-cat.php. So for example I can get archive link date by wp_get_archives(). ...
1
vote
0answers
342 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 ...
0
votes
0answers
12 views

How do I automagically use <!--nextpage--> in custom page template? [duplicate]

I have searched a lot now and not found a real solution that helps me with this: I am creating a custom page template for an archive page. This (static) page will show all my blog posts ordered by ...
0
votes
1answer
184 views

how to make URL link query string

I have pages with a custom meta field called "ctr_state", and it contains a state name, like "Arizona". I am trying to construct a hyperlink that will return an archive-like list of pages that match ...
0
votes
2answers
228 views

Menu Disappears on Category Pages

I have a site whose navigation disappears on category pages for posts in the ‘post’ post type, but not for posts in any of my custom post types. The ‘post’ post type and post of the custom post types ...
0
votes
1answer
349 views

paging is not working properly on news archives page [duplicate]

I need paging on news archives page. Data is coming correctly if display all records on same page. But if i add paging code, then pagination values (such as 1,2,3,...16) coming correctly, but if i ...
0
votes
1answer
52 views

How to make a custom Archive Page

For News Portals, we are using WordPress successfully. But the clients are not satisfied with the WordPress default archive. They want something different like the regular index page. So, how the ...
0
votes
1answer
57 views

Archive filtering

I was wondering if I can filter archive posts that are in a specific category, then apply another filter. For example, I have a featured category (where I display featured posts) and then I have my ...
1
vote
2answers
141 views

how do I encode links to specific archive searches?

I want to embed links to the archive pages with specific search criteria. i.e Links to specific categories, links to specific authors etc etc At the moment I am adding the links using anchor tags, ...
0
votes
1answer
60 views

Custom Taxonomy List with Children

I am trying to display a list of terms for a custom taxonomy and am having a bit of trouble. The custom tax is for a Custom Post Type called project. What I want to do is list a Parent term and it's ...
0
votes
1answer
94 views

How to different style first 3 post on Category Archives Page

I searches lot of time but every one said first post. I need first 3 post different style with title , content.
0
votes
2answers
672 views

Optimal way to redirect home page to category archive?

Question What'd be an optimal way to redirect the home page of a WordPress site to a category archive without involving external factors (e.g. Apache's .htaccess) i.e. within WordPress? Why? (Only ...
2
votes
1answer
177 views

Display post links under month in paginated archive

I'd like to create an archive that lists posts under a month header. The months would just be plain text and the post titles, obviously, would link to the posts themselves! So: October 2013 Post ...
0
votes
0answers
74 views

How do I display popular USERS based on USER PAGE views?

My website has user detail pages, specifically for Subscribers. I would like to list, maybe 5, of the most popular users based on their detail page views within a one month period. How should I go ...
0
votes
2answers
2k views

How to display an archive with multiple authors

I have this coding challenge that's beating my head I built a site for an academic magazine, where some of the articles are written by two or more authors. This was easily acheived using either ...
0
votes
1answer
224 views

URL of a custom post type's post format archive?

With pretty permalinks enabled, the URL of a Custom Post Format archive would look like this: http://example.com/type/link/ And it works for me. Now, considering that my custom post type archive ...
0
votes
3answers
468 views

List custom post type but redirects to home page

here is my problem. It's been around 2 hours that I try to have a page listing all projects (they are a Custom Post Type) so I'm trying to have an archive file named archive-projects.php but when I ...
0
votes
1answer
979 views

Pagination throws 404 error on custom taxonomy archive pages

I have created a custom taxonomy for a custom post type called "portfolio" like so: function jvs_portfolio_categories_init() { register_taxonomy( 'project-category', 'portfolio', ...
0
votes
0answers
32 views

Multiple posts categorized by day?

I would like to set up my home page so that multiple post uploads (with no limit to the number of posts which can be uploaded) can be categorized by the day. These post uploads will mostly be videos, ...
0
votes
1answer
744 views

Sticky Posts Not Sticking to Top of Category Archive

I'm using my index.php to display post archive pages rather than a specific archive.php file. This works fine, however sticky posts do not stick to the top of it. They do however, stick to the top of ...
0
votes
1answer
98 views

How to edit wordpress post without republishing

Is there a way to update an older post without republishing the post? If I am looking at a previously published post and discover a misplaced comma or reformat an image I don't need all my RSS and ...
0
votes
1answer
162 views

Rewrite url / permalink for default archive - yearly / monthly

I want to change the structure of yearly/monthly archive URL of default post type 'post'. As we know be default the URLs are like: Default: http://wwww.domain.com/2013/09 but want them rewritten, ...
0
votes
1answer
60 views

Archive Template being used instead of Category Template for Custom Post Type

I have a Custom Post Type created, that has its own Custom Taxonomy that give the Posts their own Categorys. I am currently building the Templates. The Custom Post Type has the slug service, and the ...
0
votes
1answer
258 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
84 views

Category archive in menu

I am looking for a solution to show the archives for a specific category in my main menu. The first level menu entry would show the label of the category, say "News Digest", without linking to ...
0
votes
2answers
266 views

Filtering WP_Query

I'm developing a site that uses a Artist custom post type and I need to query all posts of this type in a page template. I need to set the is_post_type_archive property to true too to filter this ...
0
votes
1answer
697 views

Get posts from a top category and group by child categories

I have a CPT Called "Membres" (members in English). So after that I created a category called "Membres" and his child categories. Parent category "Membres" - Subcategory1 (3 post inside) - ...
0
votes
1answer
80 views

Exclude a specific category link from archive / front page

I create posts that are used just to create an index item to show an existing post has been updated. The post I create 301 redirects to the updated post. I add these index posts to the category ...
0
votes
1answer
2k views

Filter query_posts by tag slug on “Tag Archive” page (when tag is 2 or more words)

I'm using the following to bring up a tag archive page: <?php query_posts( "tag=". '' . single_tag_title( '', false ) . '' ); ?> This works perfectly for all tags of one word only, but any ...
1
vote
2answers
321 views

Tell wordpress to show a single page instead of an archive

So I have multiple custom parameters in the url, and at some point when the query reaches 3 parameters (e.g. ...
2
votes
1answer
172 views

Arrange and separate posts

On a particular archive page I've created, I'm listing a number of posts by post name and they're listed in alphabetical order. Is there away to have them separated even further? As in all posts ...
0
votes
2answers
880 views

Post formats template

I would like to know what template wordpress uses to display post formats archive pages? What is parent template file that is used when there is no specified template file and what is specified ...
0
votes
1answer
32 views

How to change archieve frequency of the media file in uploads folder for wordpress blog

So far I can see my media file is divided into month and year as 2008/09 like directory. But I am getting concerned because I am currently hosting a community listing site that may incurr more than ...
0
votes
1answer
233 views

Wordpress category specific months list in sidebar.php

What have made me pulling my hair apart for while, how to output category specific month list. 've been searching for the same problem and solution cannot find any lucky so far... Anyway, I have two ...
0
votes
1answer
707 views

Single.php Active Category Class

Currently by default (I believe) when you're on single.php, Wordpress doesn't add a "Active" class to the blog category you're viewing the single post in like it would for pages or if you're on the ...
-2
votes
1answer
27 views

Getting Catategory / Taxonomy Description on Non-archive Pages

Can you pull in the description of a custom tax on pages other than the taxonomy-(custom-tax).php i.e on the home page you want to show the description of a custom tax. This works on the ...
0
votes
0answers
91 views

Orderby comment_count ignored if multiple orderby values

I'm trying to order my archive page by comment_count then title. add_action( 'pre_get_posts', 'my_change_sort_order'); function my_change_sort_order($query) { if (is_archive()) { ...
0
votes
0answers
66 views

How can I set up the URL for a category archive for a custom post type?

I'm working on a site www.site.com that has an additional post type: project. In registering project, I've declared "taxonomies"=>array("category") so that I can categorize the essays. Works fine. ...
0
votes
1answer
43 views

Wordpress archives by custom field and date

I have a strange situation on my hand. I want to list my archives based on a custom field (numerical value) but also display something like a cover. We have specific posts in different categories ...
0
votes
1answer
57 views

Show Daily Archives after specific dates

I am currently showing a daily archive using the following <?php wp_get_archives('type=daily&limit=15'); ?> It shows all the older posts as daily archives. However, Is it possible to ...
0
votes
2answers
81 views

Why does my URL keep returning 404 error code?

I have a custom type on my wordpress site called 'movie'. If the user type this URL : http://mysite.com/1994, I would like to display all movies published in 1994. Unfortunately, I get a consistent ...
0
votes
2answers
319 views

How to Change Author Posts URL

How can I display an authors archive by author id instead author slug like http://example.com/author/author_slug/ to http://example.com/author/123/