Questions tagged [calendar]

The tag has no usage guidance.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
6k views

how can I create a calendar for a cpt, using get_calendar or other

I have a custom post type with its own date field. the date is setup for unix YYYY/mm/dd I need to create a simple month calendar that shows days that have a cpt on them. get_calendar works for ...
1
vote
1answer
851 views

next and previous year month and day for archive page

is there php code for next and previous year,month,day link in archive page i just need something like that <-previous [year] next-> <-previous [month] next-> <-previous [day] next->...
1
vote
0answers
3k views

Integrate Custom Post Type Events into Calendar

I've got a custom post type called Events on my site with a custom field called event_date created via Advanced Custom fields that stores its value in yymmdd format. Everything works just fine and I'm ...
0
votes
0answers
7 views

disable block of dates in query with conditional logic

I need to add 3 more disabled dates to each booked range my calendar where there booking range is disabled before. Like i have class fully_disabled class added to all blocked date range, i want to ...
0
votes
0answers
15 views

Return an data array from settings?

I want to build an interactive calendar. My problem is that I want to retrieve settings to my front-end. let months = [ "January", "February", "March", "April", "May", "June", "July", "August", "...
0
votes
1answer
497 views

Help wiht adding fullcalendar.io to a WordPress page

I've been trying to add this calendar to my wordpress page. And I've followed the documentation, but it's still not showing up. This is what I've done. I first added this to my child theme functions ...
0
votes
1answer
510 views

Automatically create a Google Calendar event when I publish a blog post

I would like to configure my site so that, whenever I create a new blog post in a certain category, an event is automatically created in one of my Google calendars. I would also like to set a ...
0
votes
0answers
304 views

date archive future posts

Im using cpt for events and i need to display them in a calendar. most of the events are future. i managed to query the right ones by post_status at the archive, but I need to do the same at the ...
0
votes
1answer
373 views

Help with query function get_calendar()

I have a own "get_calendar" function (plugin) cloned from the default wp function. I just wanna see posts that have a certain custom field set (true). How do I add this goal into: $gotsome = $wpdb-&...
0
votes
0answers
251 views

How to change Calendar military time to eastern standard?

Below is an image of a calendar entry. The time is in military time and there are also a pair of rogue parenthesis after the time display. I want to know how to convert this to eastern standard time ...
0
votes
1answer
438 views

WP Calendar Shortcode not working on my theme

I'm using WP Calendar plugin on my development site. The documentation says that I can use the tag {event_calendar} on my template to render the calendar. This is the code am using on my template ...
0
votes
1answer
114 views

Modify query after meta value

I would like to change the calendar so it will display some posts based on a custom date field. For now i am interested to modify this query: $wpdb->get_results("SELECT ID, post_title, DAYOFMONTH(...