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
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[] = ...
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
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
1answer
572 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 ...
2
votes
1answer
311 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
1answer
325 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 ...
0
votes
1answer
14 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
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 ...
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 ...
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
131 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
1answer
53 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 ...
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 ( ...
0
votes
1answer
312 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
366 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
1answer
487 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
1answer
76 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 ...
0
votes
1answer
49 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
1answer
616 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
176 views

Query Event Posts by Date

I am trying to query custom post type (Event) by the current date and the event's start and end date. I would like three options: current, upcoming and past. This is the code I am using, but it is not ...
0
votes
1answer
95 views

Filtering more than one term in a taxonomy in WP

i have a custom post type called 'events', it has a taxonomy named 'category' structured this way: hotels (parent) -1 star (child) -2 stars (child) -3 stars (child) location (parent) -...
0
votes
1answer
167 views

Identifying a Page Containing Shortcode at `init`

I am writing a plugin and I am having some difficulty with when to trigger specific functions of the plugin code. /* // Plugin information goes here */ // ***** Area A $GLOBALS['example_class'] = ...
0
votes
1answer
227 views

Listing future posts together with normal posts

In my blog I'm displaying lists of posts from every category I have in the homepage. I have a column for each category. The code is this: <?php $categories = array('3', '4', '5'); foreach ($...
-1
votes
1answer
13 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 ...
-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 ...
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 ...
1
vote
0answers
113 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
0answers
515 views

Creating a Custom Post Type and Joining with Users

I'm really having a difficult time figuring this out conceptually. I'm trying to create a sort of management system for events/volunteering. Let's say I create a custom post type called events, for ...
1
vote
0answers
53 views

Integrating Facebook calender to Wordpress

i have a requirement, it goes like this I have a signup, login front-end page for users and visitors. Users can also register themselves with facebook login id. For users who have logged in via ...
0
votes
0answers
13 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
0answers
5 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
0answers
63 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
38 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 ...
0
votes
0answers
308 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="/...
0
votes
0answers
103 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
420 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 ...
0
votes
0answers
268 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
0answers
192 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
0answers
164 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' ...
0
votes
0answers
164 views

Events with multiple event dates + permalink for each date

Hope you're well. I was wondering how to achieve something like this in wp: Bascally it's a list of events ordered by the event date. I know how to do that. But the tricky part is that an event may ...