Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [calendar]

The tag has no usage guidance.

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 ...
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
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 ...
1
vote
1answer
847 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->...
0
votes
1answer
504 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
1answer
828 views

Storing temporary data for a custom post type

I've created a Rental custom post type to a rental site I'm developing for a client. I'd like to add an ajax availability calendar in the backend so the client can mark/unmark unavailable dates ...
0
votes
1answer
13 views

Changing link format from Calendar widget

I have the Calendar widget in the sidebar of my wordpress site. It currently links to each day's post using the date format such as "/2019/08/01/" instead of the permalink setting (post name). How can ...
0
votes
1answer
485 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
2answers
57 views

Change WordPress custom field default calendar [closed]

I have a custom post type called X, Post type X has some custom fields, one of these custom fields is date, <input type="date" name="date_added" id="date_added" class="regular-text" value="<?...
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", "...
2
votes
1answer
260 views

WP_Query meta_query results date by date

Don't leave! This isn't another question about how to orderby meta_value! I have a post type called events, and each post I create has a meta field I imaginatively called event_dates_wp which accepts ...
0
votes
1answer
103 views

Calendar month navigation in Ajax only working once

In Wordpress, I'm trying to code a calendar with Ajax to refresh when changing month. My problem : i can only change month once, after that, seems like nothing happens when I click the link to change ...
0
votes
1answer
97 views

display future posts in date page

hey im trying to display future posts in date page but date page redirect to 404 page when it is future date so i used this function function dg_override_404() { global $wp_query, $post; if(...
0
votes
1answer
93 views

Create a new post on a specified publish date via link?

I've written a Wordpress calendar plugin and would like to put an "Add Post" link on specified days (i.e., those without posts): When I click the link, I'd like to be taken to the "Add New Post" ...
1
vote
0answers
27 views

Calendar Plugins - Featured Widget [closed]

I was curious to know if anyone had ever used a calendar plugin with the ability to produce a "featured event" widget like the one below (except this is in Drupal, of which I'm thinking about moving ...
0
votes
1answer
2k views

When using Tribe Events Calendar, querying for a specific event category returns nothing

I'm still new to wordpress and I'm trying to write a plugin but for some reason this code is producing nothing. Why? I am completely stumped. I have followed the examples here to a tee. <?php /...
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 ...
1
vote
1answer
1k views

Show events date instead of article date in default calendar widget

I need to use the default calendar widgets, but instead to highlight the article's date, I would show the events date What's the best way to achieve this? Thanks in advance :)
0
votes
2answers
301 views

Event Management plugin

I am working on a site that has the option of using Event Expresso Event Manager Pro The events part of the site is quite complicated, and needs to have - a calendar - a registration page - 'buy ...
2
votes
2answers
4k views

Dynamic iCal generator outside/inside wordpress

So following on from this post: https://stackoverflow.com/q/1463480/1086990 I was wondering how exactly it would work integrating it into Wordpress. I have a custom post type setup, and so far I have ...
1
vote
1answer
100 views

How can I apply css styling to the current day in the calendar widget

How can I apply css styling to the current day in the calendar widget? It seems there is no css class for the current day.
0
votes
1answer
492 views

Change post date format to hebrew calendar

I've a wordpress site with Arabic language, it display the date of post using Gregorian calendar like this 24 فبراير 2016 in hebrew calendar it would be 24 شباط 2016 how can easily do this on any ...
0
votes
0answers
302 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
829 views

Include custom table in query

Im using event calendar plugin where I can set event date for posts and it shows in calendar widget. Everything is working as inteded but I would also like to query post by event date. Problem is ...
0
votes
1answer
893 views

What is this HTTP error [plugin: Google Calendar Events]?

I am getting this error on my Google Calendar Events plugin: Feed 1: There are no HTTP transports available which can complete the requested request. Please ensure your feed URL is correct. I have ...
0
votes
1answer
5k views

Overriding default calendar to show posts from a category

I'm trying to modify the default WP calendar (get_calendar()) so that it shows posts from a specific category and then use that as a shortcode. Here's what I've done: Copied across the get_calendar()...
-1
votes
1answer
563 views

WP FullCalendar Image Thumbs on Full Calendar [closed]

I’m trying to get WP FullCalendar to display the Event thumbnail in the associated cell on the Calendar. The #_EVENTIMAGE code works fine in the regular calendar, but when entering the shortcode into ...
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(...
0
votes
1answer
370 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-&...
1
vote
1answer
864 views

Wordpress Sidebar menu for posts based on date - guidance needed

One of the issues I have with WordPress is knowing when (and when it is possible) to use the WordPress back end instead of coding my own solution from scratch. This question is based around this. I'...
0
votes
1answer
135 views

Need to have an archive widget which organizes and displays a custom post type using a custom date field

I found a handy plugin at http://www.redletterdesign.net/wp/cpt-archive/index.php for generating a calendar archive using a custom post type. My problem is I need it to organize these posts not by the ...
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
197 views

Which file displays the date archive?

I'm building a new theme. I'm now working on to figure out which file is needed to show the "whole" post for a specific date which displays when you click on a date in the built in WordPress calendar ...
1
vote
1answer
238 views

How to hook some Unicode texts into calendar widget safely?

I collected a good numerals replacing function for WordPress calendar: function make_bangla_number($str) { $engNumber = array('0','1','2','3','4','5','6','7','8','9'); $bangNumber = array('০',...
0
votes
1answer
376 views

Twenty Twelve Calender Widget <a title=“”>post titles</a> creating disturbance

In my modified Twenty Twelve theme, when I'm hovering onto the calender widget's date, there is a acronym-like balloon showing that date's post titles. Thing really is an anchor title: <td> &...
0
votes
1answer
1k views

Single Events as Sub-Page to Main Calendar Page

Does anyone have experience with Time.ly's Event Calendar? I've contacted Time.ly help and they informed me this sort of thing would have to be custom work. Soo, I come to the trusty WPSE! Do you ...
0
votes
1answer
2k views

All-in-One Event Calendar: How do you display the event date? [duplicate]

I want something like this to show up: Jan 29 Mon 2-9 pm I can't use <?php echo $event->get_timespan_html(); ?> as it would display something like "July 13, 2013 @ 1:00 pm – 3:00 pm." I ...
0
votes
2answers
4k views

All in One Calendar Plugin Custom Post Type Query [closed]

Hi I'm trying to write a query which will pull the events out from the All in One Calendar Plugin. This is what I have so far: <?php query_posts('post_type=ai1ec_event');?> <?php while ( ...
0
votes
1answer
1k views

How to add Ajax to the default widget calendar to support next/previous months loading?

I want to customize or replace the default calendar, similar to the default widget, but with Ajax next and previous months loading. Ideally I would like to be able to do that (red dots are dates ...
0
votes
1answer
299 views

Post Terms As Class Name For Full Calendar Events

I have implemented Full Calendar via json with my Wordpress custom post types. All is fine except I want to add the taxonomy term of the event / post to the 'className' of the event object but cant ...
0
votes
1answer
90 views

Using calendar and page does not show calendar for next or previous year

I have created a page called mysite and have permalink as /XXX/wordpress/mysite ‎ On this page I am creating a calendar. The calendar is working little wierd. It is working for a current year but ...
0
votes
1answer
303 views

All in one calendar custom post type query doesnt work as expected

I did a custom post query for AIO Events Calendar, as described here: All in One Calendar Plugin Custom Post Type Query But it doesnt work. <?php echo esc_html( $event->cost ) ?> returns ...
0
votes
1answer
851 views

Calendar for irregular recurring events [closed]

I have a custom post type Event with multiple start and end dates for each Event. What I need then is a calendar similar to the calendar widget with links to these events. I need multiple multi day ...
0
votes
1answer
550 views

Call plugin with php function

This plugin only works as widget. I need call this plugin with php function. How to modify this code ? <?php /* Plugin Name: AJAX Calendar Plugin URI: http://urbangiraffe.com/plugins/ajax-...
1
vote
1answer
103 views

Ajaxify calendar

I need ajaxify "next" and "prev" links in wordpress calendar for navigation of months, without updating the page. There is some plugins for this - but I call calendar without using widgets - ...
3
votes
2answers
14k views

Looking for a simple calendar/events plugin [closed]

am looking for a simple calendar/events plugin with a list view by months and a pagination between months. Events would be simply made of a tile, description and the date of the event. Here's a ...
1
vote
2answers
2k views

Loop through posts of a custom-post-type (event) and create .ics (iCal) file?

I really need your help with a feature I have never worked with so far. I have a custom-post-type named wr_event. And I created this custom WP_Query to retrieve all posts for this post-type that are "...
0
votes
1answer
1k views

Customizing the Jquery Calendar [closed]

I have never used Jquery before so I am quite stuck. The datepicker calendar that gets displayed is not quite what I am looking for, so I am looking to customize it, but don't even know where to ...
0
votes
1answer
249 views

Can't access site after plugin activation

I get the following error after adding multiple plugins, including All In One Event Calender and BackupWP. Now I can't access anything from within the admin panel or from the front-end. I can't get ...
0
votes
1answer
388 views

Plug-in for reserving rooms or equipment via corporate intranet

I'm setting up a corporate intranet for a small organization of about 80 employees. I'm using WordPress running on a Linux server internally. I'd like to give users the ability to reserve ...