4

Ok so hope this helps someone. Unless you want to query the database directly, the trick is to include the following: $event = Ai1ec_Events_Helper::get_event($post->ID); thereafter you can retrieve the variables, for example: <?php query_posts('post_type=ai1ec_event');?> <?php while ( have_posts() ) : the_post(); ?>...


4

This is entirely based on Event Organiser (a plug-in I've developed). The code is lifted almost straight from the source but with alterations. As such I've not tested the code as given. Step 1: Create a feed This is simple: add_action('init','wpse63611_add_events_feed'); function wpse63611_add_events_feed(){ add_feed('my-events','...


3

On my default calendar widget I get: <td id="today">30</td> so you could use #today. It uses the get_calendar() function where we have the following: if ( $day == gmdate( 'j', $ts ) && $thismonth == gmdate( 'm', $ts ) && $thisyear == gmdate( 'Y', $ts ) ) { $calendar_output .= '<td id="today">'; } else { $...


3

Depending on what you want you'll need to use the the_widget function, I believe there are few examples of using it in the WordPress twentyeleven theme as well.


3

You're getting the error because the Facebook and All In One Event Calendar plugins are both declaring the fb_admin_dialog() function, but PHP only allows a function to be declared once. To fix the immediate problem, log in to your server with S/FTP and rename the wp-content/plugins/all-in-one-event-calendar directory to something like all-in-one-event-...


3

I would use WordPress' feeds. You can create your own feed with add_feed. You specify a callback and this callback is responsible for displaying the output. Creating a feed add_feed('my-events','wpse56187_ical_cb'); wpse56187_ical_cb is that responsible for getting the events (use WP_Query), looping through them and printing the ICAL fields. ...


3

First off, I just want to say AMEN to this question. There are not a lot of good, reliable calendar plugins out there. I've struggled with this myself. Judging by your list of event calendars you've tried, you've just about exhausted the list of decent to reputable plugins. I honestly think what you're looking for in a plugin, you're not going to be able to ...


2

Most likely your server does not have access to cURL. With most hosts, you can enable this with php.ini.


2

I'll preface this by saying I have no experience with or knowledge of the plugin, this answer is based entirely on a 30 second scan of the code that registers the post type for use in the plugin, so you may uncover issues with this solution that my quick clicking of a test event didn't catch. With that said... The basic gist of this is to unset the post ...


2

This one might do the trick for you... http://wordpress.org/extend/plugins/really-simple-events/ - low functionality but easy to install and make simple events. It seems only site admins can add events though.


2

Try this: First add this functions to your theme's functions.php //this will call the download function if needed function Ical_download() { global $wp; global $wp_query; if (isset($wp->query_vars["ical_download"])){ event_list_iCal(); exit(); } } add_action('template_redirect', 'Ical_download'); //this will add ...


1

Write your required javascript, then use this code to display it on the page, it ensures that the script is only included if the calendar is displayed add_filter('get_calendar', 'add_calendar_scripts'); function add_calendar_scripts($content) { add_action( 'wp_footer', 'output_calendar_scripts', 11); return $content; } function ...


1

Disclaimer This is not a complete answer, because I can't really handle signs I don't know. It should help to point you in the right direction. My (basic) solution Taken from StackExchange, I created this function for your functions.php: function ArabicDate( $time = false ) { if ( $time === false ) { $time = current_time( 'timestamp' ); }...


1

I may be wrong but I don't think you can modify the Calendar Widget at least not that easy as like passing a post type and a field to query for. You have a few options: Create a Widget. Create a function like get_calendar() on line 1.406 on general-template.php file (wp 4) and pass it via get_calendar filter. Install a plugin that offers an event post ...


1

If you're using custom post types, i'd save those date entries as post_meta entries (http://codex.wordpress.org/Function_Reference/add_post_meta). So if your client clicks on a date, you start an ajax request to your plugin/theme file to add or remove a meta entry. you can create one meta_entry named _availability for example and save all dates there (you ...


1

Yep. You can add a meta_query parameter to methods that query posts, such as WP_Query. This one below gets a custom post type between two dates (which are custom fields created by 'advanced custom fields' plugin) and sorts on one of these dates: $args = array( 'post_type' => 'event', 'posts_per_page' => '-1', 'post_status' => array( '...


1

Assuming you mean the default calendar widget, you really have two choices: Wildly complicated regex Or make your own widget. I would opt for #2, the meat of which is actually the get_calendar function. Clone that function and alter the dates as you need to. This is assuming that there is no proper localized version of WordPress for your language-- see @...


1

Okay so it turned out to be that I was using the incorrect action name. I changed "init" to "wp_loaded" in add_action() and that did the trick.


1

Interesting task indeed. Here's what I would do: Create my own plugin with a widget. You can always use plugin boilerplate or widget boilerplate as starting points. My widget would look like the default calendar, except it would also have the 'prev'/'next' links, as you mentioned. I would then copy-paste and adjust the get_calendar() function located in wp-...


1

Anything that comes out of this query-- $event = Ai1ec_Events_Helper::get_event($post->ID);-- will need the $event-> part. That is how you access data from an object. That is just pure PHP. I don't know why some of the values in that answer, like $contact, are not prefixed with $event-> but I am assuming those variables do not come from from that ...


1

Third choice: I suggest using jQuery to handle this. <script>$('a[title]').attr('title', '');</script> will remove all anchor titles on the page. You could put that in the page template or build a widget that echos it.


1

Here´s something to get you started. Adapt the code below to your needs Create an init.js file with notepad and paste your code in there Save it in a logical place your theme folder (the JS directory for example) Register and enqueue this file (make sure to load it after jquery) Datepicker set up: /* http://codex.wordpress.org/Function_Reference/...


1

You can use the function do_shortcode in your template to output the content generated by the shortcode that My Calendar provides for listing events. For an example, to show a list of upcoming events use something like: <?php echo do_shortcode('[my_calendar_upcoming before="3" after="3" type="event" fallback="No events coming up!" category="General" ...


1

I don't think it's a weird problem, but it is a fairly complex requirement and plug-ins are usually built to target a wide as audience as possible. The problem is that this can mean more complex features are left out because there are not needed by the majority of people and would simply clutter the user interface. When plug-ins create a (multiple-...


1

I would do this with a custom post type, probably "Events" in your case, custom (probably hierarchical) taxonomy, and custom postmeta. You can register the post type with only the capabilities you need, then extend those capabilities with custom metaboxes for the custom postmeta. This custom meta is going to be your event date/time, don't use postdate for ...


1

You might find this plug-in useful: http://wordpress.org/extend/plugins/event-organiser/ Full disclosure: I authored this plug-in You can assign permissions (to create, edit, publish events etc) to roles in the plug-in the settings. It has an admin-side calendar, and calendars for the front end. So it seems to do everything you ask for.


1

Basically you have to write a piece of php code to read your events and write it out in ics format. (Just like writing out a template but a bit different). Wordpress has actions/functions to add a feed and provide a hook that produces the text. You also need to make sure that you adjust the query to list all of the events. To ensure that your feed is ...


1

We are using Google apps/calendar at our work and it works nice. Would that be an option?


1

Echo your output in your AJAX callback function Exit PHP after you echo your output using exit; Since you've localized the ajaxurl variable, use it in your AJAX request Pass action : 'my_special_action' into your AJAX request Whatever action you use, use the same for both nopriv and normal AJAX hooks Here's how your AJAX call should look: function ...


1

I know this does not meet your requirement of supporting Paypal and Authorize.net, but it does support Eventbrite, so it may be worth looking into: The Events Calendar


Only top voted, non community-wiki answers of a minimum length are eligible