The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
586 views

How can I query all users who registered today?

I'm trying to use meta_query to return all users that have registered today : $args = array( 'meta_query' => array( array( 'key' => 'user_registered', ...
2
votes
1answer
348 views

How Do I Make WordPress Run an Event Every Day?

In a plugin I want to build, it deals with contests. A contest has a date on it. Does WordPress have a feature in it where it can run a piece of code every day without requiring someone to create a ...
0
votes
2answers
518 views

Post timeline (pagination with date, not numbers)

I'm pretty lost... I'm hoping someone can lead me onto the right track! I'm trying to achieve the effect of a post timeline, by paginating the posts (1 per page) and rather than displaying the pages ...
-1
votes
1answer
821 views

Convert WordPress date format to jQuery UI Datepicker format

I wrote the following function to convert the current WordPress date format into a format that can be recognized by the jQuery UI Datepicker: From: http://codex.wordpress.org/Formatting_Date_and_Time ...
0
votes
1answer
102 views

How to display a certain template element only for posts published within certain time range?

I recently migrated a blog from sub.domain.com to blogs.domain.com/sub/. Because I'm using Facebook comments, all the posts published before April 25 need to reference sub.domain.com/blog-entry-title ...
0
votes
1answer
601 views

Displaying posts with only upcoming dates according their custom field date value

I got posts that have starting date as a custom field value. I'm displaying few of those posts in my sidebar in ascending order so that the post with closest starting date is shown first. This is what ...
0
votes
1answer
46 views

featuring old articles without messing up with the archive

This is all about featuring content in WP. Say, you got 1000's of posts that you accumulated over the years and each has their own original ( and true ) post dates. And now you want to feature them ...
6
votes
1answer
1k views

The purpose of the post_date_gmt?

Why do we have 2 date fields in the wp_posts? What's the purpose of the post_date_gmt? When does storing the greenwich time get handy?
0
votes
1answer
60 views

Comment time is same as the post time

Here is my comments.php: http://pastebin.com/E5bz4aaW The problem is that the threaded comment (the reply) showing my post date instead if the comment date. I checked in the database and it looks ...
3
votes
1answer
473 views

Post date vs. event date in Wordpress

If I'm creating a WordPress site, what should I do when I have a blog that manages events to keep date events? For instance, in my own case, I'm making a travel blog where some histories have a real ...
0
votes
2answers
992 views

Using global $post; with custom post types

I'm working on creating a notification that will indicate when a post is less than a few days old. This is specifically for a custom post type called "news". Is there a way to use global $post; with ...
0
votes
1answer
398 views

Arrange Posts By Date In Order Of Closest To The Current Date

I have a list of events on a clients website that show in a sidebar. When viewing the homepage you see one event and if you're anywhere else on the site you see two events in the sidebar. I am ...
0
votes
1answer
85 views

Looking for a filter to modify the months

Hi making a simple plugin that replaces the wrong russian month with the right ones. But I can't find any filters that works. I have tried these filters without success: ...
-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 ...
-2
votes
1answer
49 views

Display the last date, regardless of articles

i would like to display a date on my Blog. I have used this Code for displaying the date: <?php the_time('l, j. F Y'); ?> But that uses the time of the latest article. How can i display the ...
0
votes
2answers
364 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
126 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.
1
vote
1answer
112 views

Calculate future date

I want to calculate a future date based on the date the post is published and use it in the content of a post. I can echo the post publication date using: echo the_date('Y-m-d'); How can I ...
0
votes
1answer
751 views

Group posts by date with a list

I want to set a group of posts grouped by date as a list. Below is what I would like to have: Day... <ul> <li><a href="#">Lorem ipsum</a></li> </ul> Previous ...
1
vote
1answer
770 views

Check if date of post is yesterday

In a loop, I want to display "Yesterday" if the date of the post(s) are dated from yesterday... So here it goes: <?php if( date('Yz') == get_the_time('Yz') ) { echo 'Today'; } ...
0
votes
1answer
655 views

Problem with date comparison for custom fields

This question follows on from: Can you do a date comparison on a custom field and query two or more custom taxonomies using WP_Query? and a similar thing here: ...
2
votes
0answers
280 views

How to set post expiration date and time and move the page to archive after expiration [closed]

My requirement is to move the certain posts from home page category after specified date and time. I have two category News and Events. Both have so many posts and i dont want to show all the posts ...
0
votes
1answer
155 views

How do I query based on the modified date?

I would like to list posts by the "modified" date not the published date. Is there a way to do this? $documents = array('posts_per_page' => 10, 'post_type' => 'documents',); ...
0
votes
1answer
738 views

How to query posts by month based on date custom field?

I currently created a custom field for a custom post type that stores a date in the format dd/mm/yyyy is there a way to query the posts by the month? I "kind of" got the functionality I need using ...
0
votes
1answer
2k views

Group Posts By Custom Meta Value: Date

I have a post with a custom meta value which is populated via a jQuery datepicker and it gets stored in the following format: yyyy/mm/dd - is there a way I can group all posts from the same day ...
0
votes
1answer
800 views

Formatting a date/time returned from a custom $wpdb query

I'm definitely a rookie WordPress/PHP developer, so please forgive ignorance :-) Q: How do I format a date/time returned from a custom query against $wpdb? Here's the scenario: I'm trying to write a ...
0
votes
1answer
712 views

Customizing wordpress default widgets?

Is there anyway to customize the default WordPress widgets or do i need to create my own? For example, I want my recent post widgets to display date aswell. Thanks in advance! /Richard
1
vote
1answer
673 views

Automatically republish old posts

been seaching on google for a plugin for this and can't seem to find anything realiable. The only plugin I found is called "old post promoter". Any ideeas? Can this be done with googl old fashion ...
0
votes
2answers
529 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 ...