Questions tagged [events]
The events tag has no summary.
174 questions
0 votes
1 answer
119 views
how to block bots from crawling specific directories via .htaccess
I have a WordPress site with events generated by The Events Calendar plugin. Bots get stuck and use a lot of resources when crawling ~/events/ and queries for events, so I would like to prevent that. ...
2 votes
1 answer
91 views
Convert WordPress into Event and membership managment software [closed]
My Brother asked me if I can make for him a club and event software that mange his Athlete instead of doing it manually with google forms and spreadsheets. I am not developer. I have very basic ...
0 votes
0 answers
40 views
Event: when theme swapped
I want to do some clean-up when my theme is changed out: unregistering cron jobs and other theme-specific things. I've been trying to look for an event that fires when my theme is being swapped out (...
1 vote
1 answer
80 views
Need to build a community membership and event/ticketing system
Over the years I have worked a bit with Wordpress, but have been more of a custom code developer. I feel that Wordpress is the right framework for my solution but need help with identifying plugins ...
0 votes
0 answers
38 views
I am trying to implement some logic on real time order sync using scheduler
I am trying to call a function using the scheduler, wp_schedule_single_event, it is successfully scheduled but the function related to the hook is not called.
1 vote
1 answer
151 views
How to export native WordPress events in a form useful to Events Calendar
I have over 100 events in plain, vanilla, native WordPress events; they came from a Drupal conversion using FG Drupal to WordPress plugin. I’m not talking about Events Calendar events, Events Manager ...
1 vote
1 answer
89 views
How to compare Event period with Week period using get_posts(), meta_query, relation and compare
I have many posts, each post is an event with a period . This period can be 3 hours, 3 days, 15 days, 3 month. I defined the start time of event with start_timestampevents and the end with ...
0 votes
1 answer
184 views
Detecting whenever a user types - in the Gutenberg editor, and checking if there is a preceding or succeeding - then converting both to an em dash
I'm having quite a lot of trouble trying to hook an event listener to WordPress's Gutenberg Editor. There is very little documentation on this, and ChatGPT doesn't give very good answers too. What I ...
0 votes
1 answer
37 views
How to write a plugin that "listens" every time, an edit occurs?
Let's say I want to write a plugin that replaces (i.e.: overwrites) every src-tag of every iframe-element on a WP-Website with a custom string AND the plugin shall watch every new post or page-edit ...
0 votes
1 answer
122 views
How to print different informations for different post types inside The Loop?
I have a homepage that is mixing two post-types : post and events My aim is to print the details of each event in order to differentiate the content. This is the method that I used to mix posts and ...
0 votes
1 answer
286 views
The Events Calendar, wp_query returning event date not published date
I am using The Events Calendar (https://theeventscalendar.com/) I am running a custom WordPress loop, and looking to display the published date for each event. Inside the loop, I am using the_date();. ...
0 votes
1 answer
171 views
Catching Gutenberg sidebar switch event
I'm working on a plugin with Gutenberg integration. I registered a plugin in React, and my sidebar is showing and working fine. But I need to perform an action each time my sidebar is showing up. I ...
2 votes
0 answers
965 views
WooCommerce event works in jQuery but not in JavaScript
I'm using WooCommerce hook added_to_cart which works perfectly in jQuery, but doesn't work in vanilla Javascript. Both functions are running on document loaded. Here is my code reference: JavaScript ...
0 votes
1 answer
117 views
Is there a way to know when a page has been updated and do some action only once?
Have few pages in wordpress cms. Whenever any page is published or updated, there is need to do some action (basically call an API to update some data in another backend service). For publish, I am ...
1 vote
1 answer
168 views
CPT EVENT - listing by month and filtering by category and month - form select option
I am creating custom post type eventlist filter form. There is two options: category and months. Following this advice List events by month I got display event categories by month. Meaning... January ...