The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
262 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
121 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
1answer
48 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
49 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 ...
0
votes
1answer
57 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
86 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
450 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 ...
0
votes
0answers
71 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 ...
2
votes
1answer
130 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
236 views

WP blog posts index URL

I want to use WP for a site that blog is just one aspect of it, and I don't want requests to home_url list blog posts (post_type=post), I want them be to fetched using another URL. This topic ...
0
votes
1answer
182 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
0answers
29 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, ...
1
vote
1answer
96 views

Separate DB by yearly archive of Wordpress

I have large DB of blog post I already export it by year and wanted to make archive by year doing it on subdomain, like 2012.mysite.com I stack looking for solution on internet, I wondering if their ...
0
votes
1answer
527 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
81 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
122 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
54 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
0answers
518 views

Genesis Grid Loop - Category Page

I would like to display posts in a Genesis Grid loop on all archive/category pages. So far I have followed Gary Jone's Tutorial: (http://code.garyjones.co.uk/genesis-grid-loop). Unfortunately, the ...
0
votes
1answer
75 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
159 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
518 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
0answers
25 views

Print Archive post

this code <?php wp_get_archives( array( 'type' => 'yearly', 'limit' => 12 ) ); ?> print me only year 2013. And this code print me all post: <?php wp_get_archives( array( 'type' ...
0
votes
1answer
76 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 ...
1
vote
2answers
513 views

condition for only if is archive for default post type

In order to optimize my site for a bit more loading speed, I wanted to enqueue a couple of scripts only to the archives for default post type. A rough example is given below. function ...
1
vote
2answers
257 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. ...
0
votes
1answer
392 views

Filter archive.php by custom meta

I"m trying to filter an archive page by custom meta query. I've tried using query_posts($args) prior to the loop, but it returns nothing. Any ideas? Here's what I have so far: <?php ...
0
votes
2answers
707 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
0answers
30 views

Problem accessing archive posts when not in root

I'm working on a new site and I'm having a problem with accessing archives. I've created a custom post type called 'sport', and I've changed the permalinks settings, so to access the sport section I ...
0
votes
1answer
195 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 ...
-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
82 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
3answers
376 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
0answers
60 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
41 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
53 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
80 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
1answer
591 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 ...
0
votes
2answers
293 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/
0
votes
1answer
143 views

What is archive.php used for?

Dumb Questions Ahead: If index.php and archive.php are practically the same thing, what's the point of having archive.php? When should I ever want to use archive.php over index.php? If I use ...
0
votes
2answers
36 views

Wordpress archive posts returns user to homepage

I am trying to add archives to a sidebar in my wordpress blog. I use: <?php wp_get_archives('cat=1'); ?> to get display the archives. I now see on the screen the past few months when I have ...
0
votes
1answer
56 views

Create custom archive page for individual authors which is separate from the author.php page

If this is a duplicate, I apologize. I have searched and searched with no luck. I have a custom author.php set which shows the most recent 10 posts (As it's set in the admin panel under General > ...
0
votes
1answer
222 views

Highlight current tag using get_tags()

I'm nearly there with this, but I need to highlight the current tag link/archive being viewed: <ul id="blog-tags"> <?php $tags = get_tags(); if ($tags) { ...
0
votes
1answer
227 views

how do I get the date in a date archive page

In archive.php, if it is a date archive, can I get the date using a function? Consider a url like this: myfirstsite/2013/08 - I want to get the 2013/08
0
votes
1answer
199 views

Show Secondary Sidebar on Category pages (archive)

My site has the following structure where one column is for the main content (articles) and the other one, on the right, is for the sidebar (primary sidebar). The theme allows me to change the layout ...
0
votes
1answer
171 views

pre_get_posts works in post type archive but not in single post

I have a custom post type "Scholars" that has an archive. I want to sort by a custom meta field called "year", I'm doing this with pre_get_posts: add_action('pre_get_posts', 'my_queries'); function ...
0
votes
0answers
68 views

'Blog Archive' suddenly appeared on custom post type; how to remove

I have all of a sudden started seeing Blog Archives Post navigation (as below) rather than every post in that custom post type. I changed something in the Wordpress SEO plugin which has since been ...
0
votes
1answer
31 views

Is each issue of a magazine site a static page

I want to create a monthly magazine style website. I can see the url for a month is something like this: www.magazine.com/mywebpage/2013/08 Suppose I want to create a custom page for each month, ...
0
votes
0answers
181 views

wp_list_categories() to link to list of posts from one custom post type and one term

Sorry for this title. I've created 2 custom post types called 'audio' and 'video'. I share them a taxonomy called 'category' with 4 terms 'cat1', 'cat2',... In my 'audio' template page, I'd like to ...
0
votes
1answer
510 views

WordPress custom post type category pagination 404 Error

This problem is giving me a headache and I was wondering if anyone knew how to fix it. I have a custom post type called Review. Here is how it is defined: function codex_custom_init() { $args ...