Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
1answer
11 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
13 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 ...
-1
votes
0answers
41 views

How to use events manager placeholders in a custom template for WordPress

I'm using the events manager plugin for a site. I want to use the placeholders that the events manager plugin provides, for displaying the time, location a.s.o of an event. I tried to display the time ...
0
votes
0answers
16 views

Filter by Month—Create Custom Filter for “Filter Bar”

With regard to Events Calendar Pro's Filter Bar plugin, I'm attempting to create a custom filter; namely, I want to achieve the ability to filter by month of year. According to this guide/...
0
votes
0answers
22 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
0answers
80 views

how to filter events with the eventbrite wordpress api

I am creating an event page on wordpress that pulls the eventbrite events data including thumbnails, title, descriptions, cities, etc and since, there are so many events, I would like to add a way to ...
1
vote
1answer
28 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. ...
0
votes
0answers
34 views

Favorites and Event List plugin

I'm trying to work with the Event List plugin and Favorites plugin. I have a program page where I want to show all the events. I've put the following shortcode in my program page: [event-list ...
2
votes
1answer
85 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
225 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
41 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
42 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
24 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
2k 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
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
2answers
668 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
15 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
78 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 ...
0
votes
0answers
90 views

Schedule event for every second in wordpress

I want to send an email every second using my custom plugin for testing purpose. I have written the code to schedule this event but i m not getting emails. I am not sure if I have scheduled it ...
0
votes
0answers
380 views

Event Manager Shortcode

I'm using Event Manager plugin and I will try to hide a category of the event page. I found something in documentation like a short code: [events_list category=”-16″][/events_list] But I don't know ...
4
votes
2answers
181 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
466 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
174 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 ...
3
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 ...
0
votes
2answers
44 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
51 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
1answer
619 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
0answers
166 views

Google Maps in jQuery Tabs

I am having some trouble with the Google Maps API and I cannot seem to find a solution myself. I have been searching in 5 days which led me to ask you guys. The problem is that I am trying to load a ...
0
votes
2answers
22 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
257 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
61 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
287 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
26 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
281 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
294 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
82 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 ...
9
votes
7answers
29k 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 ...
0
votes
1answer
1k views

Archive by custom post type and custom date field

I have created a custom post type called 'events' and custom date field called 'event_date' . I was able to create archive list for custom post type using this awesome plugin This plugin allowed ...
0
votes
1answer
466 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 ...
0
votes
0answers
172 views

Admin - Search Events by a custom field

I am using the events manager plugin and i created a new field using custom fields plugin. I don't know how to make the search from wp-admin to filter using the custom field i added. For details ...
0
votes
1answer
20 views

How to prevent the scheduling of the same event on the same day

I have an system right now where the user can setup to send out emails on a schedule. However, my clients want the ability to only allow 1 scheduled email to go out once a day. If they attempt to ...
0
votes
1answer
70 views

Update event post meta each day automaticaly

Is there any way to update post meta value each day (daily automaticaly) ? For example my event has started each day at 10pm my current post meta is: 2015-01-01 10:00 next day i should change it to ...
9
votes
1answer
307 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
0
votes
1answer
763 views

Include custom table in query

Im using event calendar plugin where I can set event date for posts and it shows in calendar widget. Everything is working as inteded but I would also like to query post by event date. Problem is ...
0
votes
2answers
678 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
1answer
48 views

Custom Loop Event Page

I need to create a loop in an event page with pagination of 10 posts per page. The way I want to do it is a little bit complicated. For example, with current date May 1, 2015: January 1, 2015 - ...
0
votes
0answers
163 views

Add role privileges of the custom post type

I wonder if it is possible when adding a new role add_role() I can assign to it a privileges to add, edit, delete posts of a custom type. To be specific. I want to add a role 'volunteer coordinator' ...
1
vote
0answers
105 views

How to get an event to fire using Google Tag Manager for the wordpress audio player?

I am trying to track when people listen to audio I have embeded on a wordpress site via the wordpress [audio] player. I looked at the source code and inspect element of the play button and there is ...
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 ...