0
votes
2answers
39 views

How to show monthly archive posts?

my custom archives page is : <?php get_header(); print ('<div class="row">'); $archi = wp_get_archives('echo=0'); $archi = explode( '</li>' , $archi ); $archi_count = ...
1
vote
1answer
22 views

Get list of years when posts have been published

I want to create a list of posts from a Custom Post Type and add some filters the user can click to filter the list. I added filters for all the categories by using the get_terms() function. Now I ...
1
vote
1answer
71 views

What's wrong with my date_query?

It's WordPress 3.9 "Smith". I'm trying to implement a new Archive page as per the suggestion of @Milo. $categories = get_categories( $cat_args ); //it's NOT important for the Q, as it's fetching ...
0
votes
1answer
64 views

How to organise post by category and date

I'll try to be as clear as possible. I'm working on a project that requires posts organised by category and date. I need something like this: First step: Annual listing of archive 2014: Jan Feb Mar ...
0
votes
1answer
57 views

date.php shows all posts. how to fix it?

I am using the following function for category.php. It's working fine. function cat_page_list(){ /* post : returns the post for category page */ $paged = (get_query_var('paged')) ? ...
0
votes
1answer
38 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
38 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) ...
0
votes
1answer
76 views

How to get the date dynamically from archive.php to date.php?

My archive.php <?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12, 'show_post_count' => 1 ) ); ?><br/> My date.php $date1 = get_query_var('date'); ...
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
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
238 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
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, ...
1
vote
2answers
282 views

Preventing 404 error on empty date archive

On a date archive page when no posts exist (for that date) WordPress throws across to the 404 page. Is there a way to make WordPress continue to use the original archive instead of the 404. That way ...
0
votes
2answers
92 views

Sorting past events by month

I have a site that lists upcoming events and past events. In my category-past-event.php template, this is how I've gotten past events appear in descending order (from most recent to oldest): ...
0
votes
1answer
189 views

Show all 12 months regardless they have posts

I need to show all months for a year for an archives page. All 12 months must be shown regardless of whether or not there are posts published for a month. Like this: Year: Jan Feb Mar Apr May Jun Jul ...
0
votes
1answer
86 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
1answer
642 views

Archive listing of posts by publish year (multiple years)

I have an archive page showing all blog posts (in a specific category). With a growing number of posts, I want to separate these by publish year. For example (simplified), I'd like the following: ...
1
vote
2answers
169 views

Displaying Archives List

I'm displaying list or archives using <?php get_archives('monthly', '', 'html', '', '', FALSE); ?> and my list displays December 2012 November 2012 etc However I would like to format ...
5
votes
1answer
460 views

WordPress Posts By Date/Day?

I want to output on the homepage the posts from the lastest 3 days. Like this: 30/03/12 post 1 post 2 post 3 29/03/12 post 1 post 2 post 3 28/03/12 ...
0
votes
2answers
478 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
-2
votes
1answer
227 views

Can a scrollable date picker be done in Wordpress for archives?

I've been asked by a client to do this: But I have no idea how I would go about it, particularly in Wordpress. I searched around Google a bit, but it looks like this design was just lifted from an ...
0
votes
2answers
361 views

wordpress showing all posts instead of date range

When going to http://craigmdennis.com/articles/ Wordpress uses the index.php template. When you go to http://craigmdennis.com/2010/05/ Wordpress uses the same template (markup below) but shows the ...
0
votes
1answer
124 views

Date archive permalinks for custom taxonomy

Is it possible to have date based permalinks for a custom taxonomy? ie http://www.blah.com/taxonomy/taxonomy-term/2011/08/08 TIA! d.
0
votes
2answers
524 views

Making next_posts_link(); return posts by month

I'm building a site for a magazine using WP and am needing to display a month of posts at a time. How would I make the next_posts_link(); and previous_posts_link(); functions return results, shorted ...