A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [events]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

How do we send non-textual messages to gutenberg blocks?

Background/context: A guttenberg gallery (which is a block), where individual slides (which are also blocks) can represent multiple different media types. The [human] editor can insert a slide and ...
0
votes
1answer
17 views

Creating new page overwrites old page

Every time we add something new, it deletes a previous entry, like its replacing it. Happened with blogs a few weeks ago then sorted itself out, now it is happening with events. Does anyone know why ...
1
vote
0answers
13 views

Events plugin for irregular / complex events [closed]

I have been using the Events Manager plugin, and I like it for the most part. However, I have a client who runs events in a very specific way. Events are (nearly) always on Friday, Saturday and Sunday,...
0
votes
1answer
18 views

Group the events post in month+year format?

How to print upcoming events in the below format. June 2019 Trala Lala Wala May 2019 Trala Lala Wala my args array is $arg = array( 'post_type' => 'events-promotion', ...
0
votes
1answer
43 views

Events Manager: Create custom Placeholder for use in Email notification

I have written a function (child-theme; functions.php) for the plugin Event-Manager in Wordpress. This function reads values out of custom input fields and saves those in the databse. I would like to ...
1
vote
2answers
66 views

Trigger background job using AJAX

I need a second opinion and a sanity check if the solution I'm trying to implement will work. I need to implement a way to run a script that would otherwise be blocking if I would run it using just ...
0
votes
1answer
17 views

Ordering of posts, 2020 Year showing as next event when should be last

We have some event posted into wordpress which are ordered by date. All works well except when we enter an event for 2020 it comes at the top of the list rather than the bottom. The date is save in ...
0
votes
0answers
18 views

Trigger refresh of admin menu

Apologies if this isn't an appropriate question for the forum, I'm new to wordpress development and needed to bring this question to some experts. I've written a plugin that creates custom post types....
0
votes
0answers
77 views

How do I add this OnClick event script to a custom button I’ve created?

I’ll start by saying (and it will probably be obvious) that I’m not very experienced in html or php coding. I’m learning some things as I’m creating this website, but I’m stumped with this one. I’m ...
0
votes
0answers
13 views

Save Email to Backend User Field

Hello helpful internet people, I have a template form within one of my plugins for users to submit events. On that form, I would like to include a required email field for their paypal-enabled email ...
-1
votes
1answer
21 views

Can a woocommerce hook alter the UI of a website?

I was wondering if there is a way to make a woocommerce hook that alters the UI of a website. For example, if a user wants to purchase an item it should provide the option of paying with "website ...
0
votes
0answers
18 views

How would this wp cron schedule run?

I have my linux cron set to run every two minutes */2 * * * * wget -q -O - https://example.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1 Then I have my cron function written like this: // ...
0
votes
0answers
26 views

Events Manager read custom fields from database

I'm using the free version of the wordpress plugin Events Manager. In the free version you need to write your own functions in order to add custom fields to a form. Therefore I followed this tutorial. ...
0
votes
1answer
314 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
20 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
70 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
35 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 ...
0
votes
1answer
29 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
8 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
29 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
votes
1answer
24 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
16 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
257 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 (!...
1
vote
1answer
88 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. ...
2
votes
1answer
292 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
399 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
112 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
83 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
30 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 ...
-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
3k 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
2answers
873 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
22 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
308 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
252 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 ...
3
votes
1answer
864 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
309 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 ...
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
2answers
48 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
66 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 ...
1
vote
2answers
1k 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/...
0
votes
2answers
25 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
0answers
313 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 ...
0
votes
1answer
63 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 ( ...
0
votes
1answer
352 views

Query events post type after current date and timezone

So I am making changes to a clients website and currently they have an events post type with some custom fields that allow them to set an events end date/time and the events timezone. The custom ...
0
votes
1answer
27 views

Multi hook deploiement

Having this : <?php class Planner_plugin{ public function __construct(){ add_shortcode('planner::display', array($this, 'display_planner')); register_activation_hook( ...
0
votes
1answer
514 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 ...
1
vote
1answer
374 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 ...
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
votes
2answers
85 views

Display content based on an event

Ok, I am building this membership plugin. Plugin sends user to a digital payment site and this one is sending user after the operation back to the wp site with a code (POST), to a page that was ...