The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
15 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
551 views

Save custom meta box data to database

I have a custom post type Events. Under Events, I have a custom meta box which selects the time and data of the event: <?php $meta_boxes[] = array( 'id' => 'event_date_option', 'title' ...
0
votes
1answer
586 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 ...
0
votes
1answer
989 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
16 views

Grabbing post content in real time with javascript

I am working on a plugin that adds a metabox on the create/edit post page, in that metabox I want a dropdown with all the anchor texts for the a tags used in the post. I haven't done the parser to ...
0
votes
1answer
28 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 ...
2
votes
2answers
194 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 ...
0
votes
0answers
9 views

Custom Event's Plugin pages

I'm trying my hand at creating an events plugin from scratch for a client with fairly specific needs. I've gotten so far as setting up the CPT, creating and saving the metaboxes that I need with some ...
0
votes
5answers
831 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
vote
0answers
42 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
65 views

Jquery autosave text area after typing

I'm trying to learn how to use Jquery, and manipulate some existing code to do what I need it to do. I am wanting to edit this code to make an editablecontent text area save a certain number of ...
1
vote
1answer
66 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
45 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 ...
0
votes
0answers
32 views

Events Manager past events and ACF relationship query

I am trying to get Events Manager to work better with Advanced Custom Fields I am using the ACF relationship query to pull in a set of posts and events together on the homepage of my website. These ...
0
votes
1answer
82 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
55 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
31 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
16 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
0answers
37 views

Event fired when file attached to a post?

I am using a Plugin called Attachments which allows you to attach any number of files which each have there own defines meta data into a post. Adding new files uses the WP Media Library shown below. ...
0
votes
1answer
31 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
79 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 ...
3
votes
0answers
39 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
93 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
0answers
31 views

Get wp_dropdown_users to set variable in page

I have a page my-bookings.php which is generated by Events Manager Pro Plugin. Is shows all bookings made for the logged in user. Great overview, but the same overview is not available for Admins and ...
0
votes
0answers
21 views

How do I Change the Size (Width in particular) of my Events Calendar?

My event calendar has too many events, and thus the calendar 'widens' with the events and overflows, cutting off part of Saturday (a very important day for events!) I would really like to slightly ...
0
votes
0answers
55 views

Trigger jQuery event with WordPress hook

I'm looking to fire a custom jQuery event after a user submits a comment but I can't quite grasp how to do that within the PHP code. I'm using the comment_post hook: add_action('comment_post', ...
0
votes
1answer
39 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 - ...
1
vote
1answer
2k 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 ...
0
votes
0answers
93 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
41 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 ...
0
votes
1answer
169 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
0answers
49 views

How to Add Attend/Not Attending to Events Managment System?

I wan to create my own platform to organize my events. I Created : Post Type: Contact Taxonomy1: Groups Taxonomy2: Events Metaboxes : - Name - Position - Address after adding my contact list, and ...
0
votes
0answers
23 views

Custom role with add post and event capabilities

I'd like to create a custom role for an author on a site that we made. I can create one with only the add/edit/delete posts capabilities but I can't figure out how to give him the add/edit/delete ...
0
votes
1answer
290 views

Show only the future event (Advanced Custom Fields)

I’m trying to make event ticker with Advanced Custom Fields and I want to show only events that are happening on the current day or in the future. But I don’t know how to hide past events. Could ...
2
votes
2answers
163 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 ...
1
vote
1answer
3k 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: ...
0
votes
1answer
143 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. ...
0
votes
0answers
75 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 ...
0
votes
0answers
106 views

very simple event post type

What I want to achieve is to have an extremely easy and minimalistic event management on my WP page. I have already a post category called Events. I need only to add to that a nice two fields: date ...
2
votes
0answers
54 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
1answer
266 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
1answer
1k 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 ...
2
votes
1answer
7k 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 ...
0
votes
1answer
965 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 ...
0
votes
1answer
109 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
137 views

Reverse order of events on homepage [closed]

I'm having problems reversing the order of events that are appearing on my homepage. I want them to appear with the next event at the top. I have tried modifying the code in index.php right before the ...
0
votes
1answer
49 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
0answers
343 views

Import csv for events manager plugin

i am neewbie to wordpress. I have a situation of importing the events and attended users for the events into wordpress through admin panel.Used events management plugin for creating events.Have to ...
1
vote
0answers
164 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 ...