Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [events]

The tag has no usage guidance.

27
votes
1answer
16k views

How to test wp_cron?

This is kind of a stupid question... I scheduled a action to run every hour: if(!wp_next_scheduled('my_hourly_events')) wp_schedule_event(time(), 'hourly', 'my_hourly_events'); add_action('...
16
votes
5answers
12k views

WP Cron Doesn't Execute When Time Elapses

The goal I want to use wp_schedule_single_event( ) to execute a single event that sends me an e-mail 8 minutes after the user submits a form. The issue The following code is in my functions.php: ...
9
votes
7answers
33k views

How to run a function every 5 minutes?

I have a function to be run every 5 minutes. I've referred following from the codex: <?php wp_schedule_event(time(), 'hourly', 'my_schedule_hook', $args); ?> I want to run this function just ...
9
votes
1answer
320 views

Wordpress Media Uploader events

I want to capture the click event on the "Save all changes" button? Is there any callback method like there is when you click (window.send_to_editor) the "Insert into Post" button
8
votes
3answers
4k views

How to set a custom post type to have viewable future posts

I've setup a CPT to act the same ways as posts but used to post event details. Thing is that some of the posts are in the future and such have a future date set on them. Problem is that normal users ...
5
votes
2answers
1k views

Only Showing Upcoming Events

In the sidebar of this page: http://lifebridgecypress.org/our-people, I have a list of upcoming events using this code... <ul id="upcoming-events"> <?php $latestPosts = new WP_Query(); ...
4
votes
6answers
9k views

Recommendation for a WordPress Calendar Plugin with Recurring Events? [closed]

I'm building a base WordPress theme that will cater mainly to an events calendar plugin (yet to be decided.) I'm curious what WordPress users consider to be the best solution in terms of stability and ...
4
votes
2answers
193 views

Manipulate post category after time

After reading several posts regarding post category manipulation with a given time I wanted to create a plugin that would manipulate posts after a date. My original post reference is from six years ...
4
votes
2answers
830 views

Scheduled events disappear from events queue

I'm having an issue where events that I have scheduled work for a while then just stop. After looking at the event queue I see that the scheduled events are no longer in the queue. If I deactivate ...
4
votes
1answer
1k views

trigger save_post event programmatically

Is there a way to trigger the post saving or updating event in code? such as do_action('save_post', $post_id); The function here seems to imply that a WP_POST object needs to be passed in. Is there a ...
3
votes
2answers
293 views

How to create collections that are edited in admin?

I'm not sure what this feature is called, but I've seen examples of this before. Lets say, on my site I want additional collections of things (besides blog posts) that have their own sections in the ...
3
votes
2answers
22k views

How do I search events between two set dates inside WP?

I am building a WP site with an events feature. The events page was made with custom post types. I want to make it possible for people to search/ filter events by dates. For example, they can search ...
3
votes
1answer
12k views

All-in-One Event Calendar: Custom Query - Getting each event Instance [closed]

I am using the All-in-One Event Calendar by Timely, and I would like to display upcoming events from the events calendar in a carousel on a separate page, and I need to get the event information. I ...
3
votes
2answers
8k views

wp_schedule_event not working?

I cannot get a Wordpress cron to trigger. I am trying to run this code to see if I can get an email sent to me hourly. It's taken directly from the Wordpress examples here: http://codex.wordpress.org/...
3
votes
1answer
1k views

How Do I Make WordPress Run an Event Every Day?

In a plugin I want to build, it deals with contests. A contest has a date on it. Does WordPress have a feature in it where it can run a piece of code every day without requiring someone to create a ...
3
votes
1answer
2k views

Post date vs. event date in Wordpress

If I'm creating a WordPress site, what should I do when I have a blog that manages events to keep date events? For instance, in my own case, I'm making a travel blog where some histories have a real ...
3
votes
5answers
1k views

Plugin for event management? [closed]

I have a client who wants to put on an event. She wants to manage it on her site. The requirements: Display information about the event Sell tickets and correlate with name and email address Payment ...
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 ...
3
votes
1answer
5k views

Loading Custom Post Type Events into jQuery-based FullCalendar?

Here is a question I have spent over 3 hours attempting to solve but each approach I take ends up not working out for me. All I am attempting to do is utilize this opensource ajax calendar script: ...
3
votes
1answer
2k views

Custom Post Type “Event”: chronological list of recurring events

i'm looking for a good and easy way to have a custom post type "event" that can have multiple dates. (I have tested about 20 plugins). I think i have no problem building a metabox allowing the user to ...
3
votes
3answers
5k views

The holy grail of Event Management Plugins? [closed]

i know similar questions have been asked before, but the answer's to them don't quite satisfy my needs, so i'm re-iterating the question: I'm looking for a modern Event Management plugin with the ...
3
votes
4answers
1k views

Is there a Wordpress Event Manager that links with your user database?

I'm presently moving my site from a different CMS. Geeklog to Wordpress. They have an event plugin that I used which is very simple. This is it... http://www.portalparts.com/staticpages/index.php?...
3
votes
1answer
568 views

How to capture the selection:toggle event fired by wp.media

I can't figure out the proper syntax for listening in on this event. I just don't know where it exists. I know that this is the name of the event because I'm logging every single wp.media event using ...
3
votes
0answers
68 views

How can I invoke an action after a CiviCRM triggering event?

If I want to have a certain action taken after a CiviCRM 'trigger', what is the best approach? I'm a Drupal developer used to using Drupal workflows on CiviCRM actions, and I am unfamiliar with ...
3
votes
1answer
736 views

Conference ticketing and seating module for WordPress [closed]

Previously I have asked about free Conferencing modules for WordPress. Unfortunately, none (free or paid) support seating, i.e.: tickets with seat numbers. Can you recommend one which does? Thanks
2
votes
4answers
2k views

WordPress Plugin for One-Time Event Registration? [closed]

I am building a website for a charity event and i would like for people to register for this event. The form should contain name, email and other custom questions. Also I would like a page where to ...
2
votes
1answer
3k views

How to use get_categories() with Event Organiser plugin

I want to display my categories in tabs. All is good, except my "Upcoming Events", created with Event Organiser (awesome plugin at http://wordpress.org/extend/plugins/event-organiser/), are not being ...
2
votes
1answer
186 views

Short code for Venues

I am using the Event Organiser plug in and I am trying to setup the "venues." In the post my client and I would like a little more information on the venue to appear, I found the short code for the ...
2
votes
1answer
200 views

javascript is not working on Event Submission?

I am using Events Manager Plugin Javascript is not working on Submit Events Page . I found the reason behind this , that was, I have written a line of code in functions.php to call jquery file. ...
2
votes
1answer
139 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 ...
2
votes
1answer
6k views

What is the Javascript event for an item being added to the cart in Woocommerce?

I can't seem to find this in the docs or through google. So basically I'm just looking for the Javascript event that fires when an item is added to the cart. For some reason my default added to cart ...
2
votes
2answers
754 views

Plugin allowing for artists, events and venues

I'm working on a music festival website and up until now have used WordTour. I really like WordTour's artists > events > venues content hierarchy, but am having difficulties transitioning from last ...
2
votes
1answer
43 views

1 day after custom date change post status to draft

1 day after koncerter_start_date all posts with custom-post-type koncert have to get the status draft
2
votes
1answer
309 views

Custom Post Type Events Archive Grouped By Month

I'm currently trying to get my events listing code to print out headers by Month. So basically this: October event event September event event etc... Right now it just keeps echoing January. I ...
1
vote
2answers
2k views

How to trap “Publish” button to check for meta box validation?

I'm trying to do some form validation on my custom meta box, and I remember somewhere reading about some javascript function to disable/enable the Publish button - except I can't find it. How do I ...
1
vote
4answers
483 views

Looking for a subscriber list management system

Is there any plugin that enables the creation of forms and has a smart tool for subscribers (not site visitors who registered) database management? I'm looking for a plugin that does that for a long ...
1
vote
1answer
2k views

scrolltop always 0, can't trigger script

While trying to add a jQuery trigger on scroll script to my child theme, I noticed it never triggered even though it was added. However after trying to figure out why the script wasn't working I used ...
1
vote
1answer
2k views

Create a custom event post

I am a WordPress learner. My question is, how can I create a custom simple event in WordPress. Can you explain me in briefly how can I do this? Where should I add CSS and JS files for custom event. I ...
1
vote
2answers
2k views

Plugin: Events Manager - Search by start date only

EDITED MY QUESTION TO MAKE IT WAY MORE CONCISE Using Wordpress plugin Events Manager, my goal is to alter the search form so it searches for events on single dates. I don't want a date range search ...
1
vote
2answers
2k views

RSVP form for Facebook events from a Wordpress post?

Is there a way to add a RSVP form to a Facebook event in a Wordpress post? (let's assume I have a website linked to a Facebook application and I want to publish public events I have published on a ...
1
vote
1answer
2k views

Save metadata as a timestamp, display as a “pretty” date

I have a custom meta box, its just a straight-up text field, for an event date, formatted: YYYY/MM/DD ...I'd like to save that as a date stamp (so i can sort by event date), and display just the ...
1
vote
3answers
4k views

Sorting WordPress Posts via Custom Field Values?

Ok, so I'm using the WPAlchemy class to create custom field write panels in the write post page, and so far everything has gone great... However, there's one issue I can't seem to figure out. I'm ...
1
vote
1answer
32 views

How to select events within current week using wp_query

I'm trying to create an events page that lists events (custom post type) within the week. I'm having trouble properly selecting only the posts that have a 'start_date' that falls in the current week. ...
1
vote
1answer
68 views

Events Made Easy Plugin - Duplicate Title Tags

I use the Events Made Easy plugin to handle events for a client. Recently while scanning my site for issues, I noticed that I'm getting blasted with duplicate title tags in the "events" pages as they ...
1
vote
2answers
746 views

Event-Driven Pattern vs MVC?

In general terms what is it that the MVC framework differs from Event Driven Pattern? Is it even comparable? eg.: Codeigniter vs Wordpress I mean while Codeigniter uses MVC it "watches" the Model/...
1
vote
1answer
984 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 :)
1
vote
1answer
6k views

Only show upcoming event or current events

I've been working on this website event page http://aishaarab.com/events/ everything is working but I have 2 problems: I can't get it to only show upcoming event meaning when an event is past ...
1
vote
1answer
2k views

Display posts with a start OR end date later than current date

I'm working with an upcoming events list. I create a custom post type, with a custom field: [event_start_date]. I also have some multiday extension events, defined by an additional custom field: [...
1
vote
1answer
175 views

Calendar Solution: Handling upcoming Dates with Posts?

I'm not sure I'm allowed to ask a question like this on this forum, however I'll try. My question is not yet about a technical problem but how my complete theme-architecture might be build to fit my ...
1
vote
1answer
524 views

Display upcoming Events for next 7 Days

I saw a request for a simple 7 day event calendar that always starts with today. I have a custom meta box called opening-time that gets a YYYY-MM-DD input. For now this is what I have, and its not ...