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 parameter on the post that controls when the calendar event is scheduled for. Most of the plugins I've found let me display a Google calendar in my site. Instead of that, I want to create Google Calendar events in response to my …
Category: Web

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 file: function fullcalendar_jquery_enqueue() { wp_register_script('fullcalendar', "https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.9.0/fullcalendar.min.js", false, null, true); wp_enqueue_script('fullcalendar'); } add_action("wp_enqueue_scripts", "fullcalendar_jquery_enqueue", 11); function load_styles() { wp_register_style('fullcalendarcss', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.9.0/fullcalendar.min.css'); wp_register_style('fullcalendarprintcss', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.9.0/fullcalendar.print.css'); wp_enqueue_style( 'fullcalendarcss'); wp_enqueue_style( 'fullcalendarprintcss'); } add_action('wp_print_styles', 'load_styles'); Then I added this JS to my custom.js file: jQuery(document).ready(function ($) { var calendar = jQuery('#calendar').fullCalendar({ …
Category: Web

Dynamic URL Issue on SEO Scan

I'm getting this URL when I do a SEO scan, how can I remove it and why is this happening https://thebeginningmontessori.com/?ai1ec_render_js=calendar.js&is_backend=false&is_calendar_page=true&ver=2.6.8
Category: Web

Save event change in WP Fullcalendar: editable + draggable

Plugin: https://wordpress.org/plugins/wp-fullcalendar/ I use a plugin to display my “custom_post_type” events. I have modified the “wp-fullcalendar.php” plugin file in several places to show the start and end time of the “custom_fields” event. I also edited the “inline.js” file in the “includes / js /” folder to make the calendar “editable” and “dragable”. But I CAN’T set the calendar to save the change to my “custom_post_type” event when I make a change by moving the event on the calendar. I read …
Category: Web

How to include support for all page types, calendar urls, archive, etc

I'm writing a plugin and I get this error when viewing calendar urls for example the calendar archive list on a wordpress site. I do not get the error on posts or pages, only get error when viewing a set of posts via calendar/archive/calendar url (example of what I mean by calendar url. thewebsite.com/2021/08 -not an actual link-.). (Also, the error shows on the search page.) I assume the error means I am not including compatibility for other types of …
Category: Web

Wordpress Google Calendar Oath 404

I am trying to integrate google calendar with a wordpress plugin. As per the google api documentation I am authorizing using google oauth2. When it returns the code and scope in the url the scope part of the url is causing a 404 on wordpress. If I edit the scope parameter value to something else say "123" it works fine. This is the scope part of the url returned &scope=https://www.googleapis.com/auth/calendar To reproduce use a wordpress website. Non working Example: https://whateverdomain.com/?scope=https://www.googleapis.com/auth/calendar …
Category: Web

Custom WordPress feed on Apache server returning 304 response for if-modified-since

My WordPress website runs on a shared Apache webserver. I use a commercial plugin to record client bookings. This plugin registers a custom WordPress feed with add_feed() in plugin init. When requested with its link, the server feed response contains an inline .ics calendar file: the plugin sets a few header lines for 'Content-type: text/calendar; charset=utf-8' and 'Content-Disposition: inline; filename=' . $filename ). It then generates VEvents by looping through its table with bookings. So this feed is not in …
Category: Web

How to Create Events Calendar

How onthisday.com has been made? I'd want to make something similar. I guess I need to have a database with some events happened in a day (6 february 2021, 6 february 2020, 6 february 2019 ... 6 february 2014) and then I want to show all the events happened on that day. I have no idea on how to start and I'll appreciate any help. Thanks
Category: Web

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 with posts): The left and right parts are preview of next and previous months. But that will be a bit hard to do. Just a simple WordPress calendar with Ajax next/previous and link to days containing posts will be enough. Maybe there is a …
Category: Web

Storing temporary data for a custom post type

I've created a Rental custom post type for 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 clicking on them, such as this: I need to temporary store the marked dates somewhere so they don't get lost when the client moves through months back and forth. I'm wondering if using transients is the best option for this. Any ideas? Thanks in advance
Category: Web

I'm needing to figure out how to create a page that user could create a "task" and it be selectable on a form

Essentially what I am looking to do is to have a page designed that is only accessible through a client login, but the one page would have the ability to create a "calendar task" if you will. So they would be able to name it, put the text body and assign a start date and end date, and of course save it. Then after it's saved they can go to the schedule tab which would have a day of each …
Category: Web

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() function from the core (from wp-includes) into my child theme's functions.php file. In order to make it an 'independent' calendar, I changed the name of the get_calendar() function to osu_get_calendar() and have successfully hardcoded the calendar into my template using osu_get_calendar(); Now I'm trying to get my …
Category: Web

How to display a calendar with events depending on the user?

I wanted to know if there is any way to, once a user is logged in to your page (I would use some plugin to deal with this), show them a calendar that contains the events that they were added to by another user. E.g. you were invited to a party by someone and every person that was invited when they sign in to your page, they can see the event on the calendar. Does someone know how to do …
Category: Web

How can I display my custom posts type in a monthly calendar view?

I am looking for a way to display my Custom Post Type posts in a full-page monthly calendar type display (like what you see in Google calendar). Ideally, the calendar would be dynamic in which user could click from month to month. And I would want the actual post titles to be displayed and linked in the squares. I know there are a multitude of "event calendar" plugins, but that is not what I am looking for. I want to …
Category: Web

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 page. <?php echo do_shortcode('[event_calendar]') ?> When I look at the Chrome Console, There is no error. There is a Javascript file that is loaded: fullcalendar.min.js. jQuery 1.9 loads up in the header. Appreciate any help.
Category: Web

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 I change it to use the permalink setting? The post page displays differently when the link has only the date format and I don't want google indexing the posts twice.
Category: Web

Change WordPress custom field default calendar

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="<?php echo get_post_meta($post->ID,'date_added',true ); ?>"> When I want to fill this field, WordPress gives me a calendar (which is great), I want to change this calendar's time zone (Persian calendar), I would be thankful if anybody helps me.
Category: Web

Is there an alarm clock app that takes account of personal and/or public holidays?

On my current and previous Android phones (HTC Magic with stock Android 1.6, and Samsung Galaxy S with 2.1 and TouchWiz) there have been pretty good alarm clock apps that allow you to set a a variety of alarms with a variety of timing and days. This gives you the handy ability to set different alarms for weekends and weekdays, for instance. Unfortunately, I often have the experience of looking forward to a nice lie-in on a holiday but getting …
Category: Android

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.