The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
112 views

Date, Time, and Timezones

I am a bit confused about using dates/times along with timezones in WordPress. I have the following questions: What is the purpose of the timezone setting in the Admin -> Settings section? Assume ...
0
votes
2answers
162 views

Can i show items based on the day with php?

I have a code on my site that displays different headers for different post types using the if ( get_post_type() == 'post type here' ) { code but is there a way i can do this for days of the week? ...
2
votes
1answer
105 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 ...
1
vote
1answer
162 views

If modified on same day, show only time

I have a date on each post and comment which shows the date of placement. If I edit it, it shows me the date of the post and the modified date. That's fine, but now, I want to show only the post date ...
1
vote
1answer
134 views

Displaying custom field according to date

I am not sure whether this is an Advanced Custom Fields-related question, or a general PHP question, so I have also posted this to the ACF support forum, for those of you who are also looking for ...
0
votes
1answer
27 views

Replicate the_date function when using a custom field

I used to use the published date to sort posts on my page. Now I am sorting the posts with a custom date/time field. When using the published date I used the_date function, which only shows the date ...
0
votes
1answer
35 views

Change the counter in terms of date

If I have a post or submit a date-field, I would like the counter to say 'this is in 3 days time'. i.e - on my site at the moment, (see here: http://www.universitycompare.com) I have dates for the ...
-1
votes
1answer
107 views

get posts based on category and post meta

I am coding a Live Show box for a radio website to show who is on air and who is up next. I've been using the get_post function to retrieve posts based on the category (in this case the day of the ...
1
vote
0answers
15 views

2 weeks ago from meta query meta value

This is my meta query within my posts query. 'meta_query' => array( array( 'key' => 'rw_membership_ends', 'value' => ??????? ...
1
vote
0answers
18 views

Display date and time in comments

I use wp_list_comments(); to display a list of comment in WordPress. But it does show the format characters instead of the correct datetime. How can I fix this bug? Thank you.
1
vote
0answers
138 views

date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)

I got used working with the More Fields plugin. But it seems that fields like datepicker timepicker date/timepicker image upload (media library) are missing somehow. Is there a plugin which can do ...
1
vote
0answers
56 views

Time Issue xx hours ago

I'm facing a strange issue, first time in my life :) After publishing a post/page/custom post type, it's tell that published 10 hours ago. It's happening always, for all posts. As I've deployed a VPS ...
1
vote
0answers
80 views

Posts published last 10 minutes

i have a "featured" section on home page. i want to hide this section after 10 minutes of post publish time. here is the code, i am using. problem is that it hide the "featured" section after 12 ...
0
votes
0answers
30 views

Widget on home page displays wrong time compared to same widget on inside pages

I am trying to use the timely events calendar and I have the upcoming events widget on my home page widget area. The time that displays is not the time I have selected. When I put the same widget to a ...
0
votes
0answers
39 views

Save user login date

I want to save the last login date but it doesn't work properly. It saved the first time I logged but then when I logout and loggin it doesn't change the last login time. (Stay the same) add_action ( ...
0
votes
0answers
29 views

Fetching Post based on date

I am creating a website for fetching post based on date, So when the page load it display the post of current date and in that page there are two button Previous and Next so when the user click on ...
0
votes
0answers
35 views

publish posts immediately when updating

i'm looking for a way (maybe a plugin) to have a choice of just updating an already published post, and updating and republishing it with a current date and time basically, two options when editing: ...