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

Questions tagged [events]

The tag has no usage guidance.

0
votes
1answer
18 views

How to display upcoming events by dat with Modern Events Calendar Lite

I'm using the plugin Modern Events Calendar Lite. This is a recent plugin, so actually no doc exist. So i'm looking a way to display my upcoming events on homepage. But i can not make it to work, ...
0
votes
0answers
14 views

Create calendar entries from post

I am looking for a plugin or other way to do the following: Add a number of posts (containing each a standard event with description) From these posts I want to create one or more calendar entries if ...
0
votes
1answer
646 views

the 'save_post' event triggers when I want to start a new post

I am trying to add a form for image upload for a custom slideshow for every post. The custom post type is called 'product'. The following snippet creates the new post type. add_action('init','...
0
votes
1answer
410 views

How to display the past events in one of the category?

I my project I have the events page where it display all the upcoming events according to the dates. But my client needs to have one more category called "Past events", where all the past events ...
0
votes
0answers
17 views

Is there a hook to add template overrides while the plugin is activated?

I have created a plugin that uses tribe_events_template() to add additional directories for the Modern Tribe plugin to look in for template overrides. The problem is that tribe_events_tempalte() is ...
0
votes
1answer
2k views

Execute jQuery with custom event listener after successfully add an item to the cart

This is my first post, so please be gentle. I'm already successfully executing some jQuery codes in my woocommerce cart-page after updating the item quantity (Ajax) with the following code: $( ...
0
votes
1answer
19 views

Primary navigation menu with timed items from custom post type

I have created a site (livermorevalleyopera.com) for a client. I made a custom post type for events. In the primary navigation I have a top level menu item "Season Events & Tickets" and the ...
0
votes
0answers
19 views

profile_update hook does not fire from front-end

I'm using BuddyPress to allow users to log in on the Front end. Once logged in, they can click on 'My Account'. On this page they can upload avatars, edit their account information, etc. When I ...
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: ...
4
votes
1answer
2k 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 ...
0
votes
1answer
21 views

Should i use a plugin for Event Manager or code my own needs? [closed]

I own a local guide on wordpress, with already many CPT like "hotels, bnb, markets, etc..." all those CPT are linked by relational field to a city. ( city is CPT as well ) Now, i wish to add a EVENT ...
0
votes
0answers
7 views

Is there a way to execute a function whenever Gutenberg Blocks are rearranged?

i'm having the following problem: I have created a grid component which uses a binary packing script (packery by metafizzy) to fit its child blocks depending on their size. To improve the editing ...
0
votes
1answer
506 views

DOM reference to TinyMCE editor element (button)

I guess this should be a very simple question, but I'm not too familiar with overall functioning of Wordpress / TinyMCE so I'm struggling: I've added a custom button to TinyMCE and need some kind of ...
3
votes
1answer
623 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 ...
0
votes
1answer
26 views

Permalinks don't update nor link properly

I'm using Events Manager and WPML for my WordPress site. I have changed the permalinks formatting from the default /?p=123 to use the article name. So, for example, let's say that I want to link from ...
1
vote
2answers
847 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/...
10
votes
7answers
35k 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 ...
-1
votes
1answer
14 views

WPML & Events Manager translatable fields after duplication

I have created a WordPress site with WPML and Events Manager together. I want to create events in a language and then translate it to my second one. That's easy but I can't seem to find where I change ...
0
votes
1answer
14 views

how can create carousel for posts that will be published a month later?

I have WordPress theme, which is consist of many published post (some of them expired and some of them not published so far). Each of These posts scheduled by start (published on) and expiration (Post ...
0
votes
0answers
100 views

Wp_schedule_event functions.php

I am using this code in my functions.php which works fine. However, I was wondering if this is the best practice to do so to schedule an event, or if there is a better solution. if (!...
0
votes
1answer
4k views

Keyup events in tinymce editor not working

I am trying to develop a plugin, that shows on the page/post edit page. What I need to do, is detect when the content area changes. Either in visual mode, or text more. I would like to use a keyup ...
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 ...
1
vote
1answer
34 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
334 views

Redux callback action

I'm very new with Redux. I don't know how to show and hide a textarea using switch (without saving). When my switch turns on, the text input displays and when it turns off, the input hides itself. I ...
2
votes
1answer
200 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
0answers
336 views

iFrame onLoad in custom Gutenberg block

I have this code that I am trying to rewrite for Gutenberg block: <script type="text/javascript"> <iframe onload="javascript:resizeIframe(this);" src="/...
1
vote
1answer
75 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 ...
2
votes
1answer
54 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
0
votes
1answer
27 views

EventON - Dequeue Styles

I'm working on a website currently where I'm being asked to style the event pages. The events are being handled by EventON and I'm having a ton of trouble trying to override any styles they have in ...
4
votes
2answers
850 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 ...
-1
votes
1answer
3k views

How to fire jQuery after $(window).on('load')

I have a WordPress page that is built using elementor page builder in which I display 'flipbooks' (pdf viewers) using a plugin called responsive flipbooks. The flipbooks are made responsive by a ...
0
votes
1answer
432 views

List of Events with Multiple Dates: Only NEXT Date

I have Advanced Custom Fields 4.3.7 by Elliot Condon and Custom Post Type UI version: 0.8.2 by WebDevStudios.com "plugged" in and would like to limit pluggins to only those two. I have multiple ACF's ...
0
votes
2answers
779 views

How to add onclick event to widget image

I have added a custom url to the widget image in the new WP 4.9. Now I want to add an onclick event to the link. The a tag looks like this <a href="http://domain.com/this-is-a-page" class="" rel="...
0
votes
1answer
17 views

WordPress Scheduled Event Request Blocking

This is a question about WordPress architecture, that I wasn't able to fully understand by reading WordPress documentation. I have a scheduled event that can take more than 1 minute to finish because ...
0
votes
1answer
174 views

Display only upcoming events / Show all events when archive year is selected

I'm working on a wordpress site that will query only upcoming events (custom post type). I've figured out how to only display upcoming events but I would like to allow users to view Past Events when ...
4
votes
2answers
204 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 ...
0
votes
1answer
239 views

How to populate a Mailchimp newsletter with latest events from Wordpress plugin EventOn?

Once a month I send a newsletter with upcoming events. I also publish all the event on a wordpress site with EventOn. I was wondering if there is a way to import the latest events in a mailchimp ...
0
votes
2answers
46 views

Upcoming events

i', try added to my site upcoming events, but when i try add via get_post_meta - not working, for example: http://prntscr.com/exe8oi i added date, then i use this my code: <?php $today = date('U')*...
0
votes
1answer
58 views

connect users to Custom post types

I’ve created a Custom Post Type to manage Events and now, i would like the users of my site (only registered ones) to be able to register to any events created. On the events page, they would just ...
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 ...
9
votes
1answer
326 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
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 ...
0
votes
2answers
759 views

Loop posts in a table ordered by a custom field value

I'm trying to generate a table for a custom post type events, in which I have a few custom fields, one of these is the date. I want to display the posts in the table and order them by the Date value. ...
0
votes
2answers
23 views

Add option in th event calendar

I have a stuck that make me headache so much, as you see picture, this is my result when i add option to event. I'm updated code in: wp-content/theme/mytheme/lib/metabox/function.php $meta_boxes[] = ...
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 /...
0
votes
0answers
278 views

Asynchronous emailing

Whenever a user performs an action involving sending out email notifications, it takes a long time to process and therefore the user must wait a few seconds until the resulting page is loaded. As a ...
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
300 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 ...
0
votes
1answer
62 views

Hourly events don't get triggered

I'm trying to check do an action in my wp plugin each hour, but it does not work fine. I'm doing this: register_activation_hook(__FILE__, function() { //more stuff if (! wp_next_scheduled ( ...
-1
votes
1answer
1k views

Custom booking form field not saving

I am trying to follow this debugging tutorial on adding custom booking form fields - Link My intention is to add a field, which is required, that is saved amongst the other user data when they ...