How to display upcoming events by dat with Modern Events Calendar Lite

i have found a solution, making a custom SQL query here is the code ( using WPML ) $startday = date(“Y-m-d”); if ( defined( ‘ICL_LANGUAGE_CODE’ ) ) { $lang = ICL_LANGUAGE_CODE; } //echo $startday; global $wpdb,$post; $results = $wpdb->get_results( “SELECT * FROM wp_posts, `wp_mec_dates` AS mecd, wp_icl_translations WHERE wp_posts.ID = mecd.post_id and post_status=”publish” AND wp_icl_translations.language_code=”$lang” … Read more

RSVP form for Facebook events from a WordPress post?

I’m also working on this right now, I’d love if you post your final solution once you get there. Here are two tutorials that may help you. http://www.masteringapi.com/tutorials/how-to-check-status-and-rsvp-to-facebook-events-using-graph-api-fql/61/ http://www.masteringapi.com/tutorials/how-to-create-facebook-events-using-graph-api-advanced/59/

Plugin: Events Manager – Search by start date only

I solved this. First add $args[‘scope’] = $_REQUEST[‘scope’][0]; to the events-list.php under the line: em_locate_template(‘templates/events-search.php’,true); This will stop the search from finding a date range and only search single dates. Then in events-search.php, remove the second box for end-date. then in events manager plugin folder “classes” file em-events.php This is what it should look like … Read more

Create a custom event post

The easiest way to create a custom post type in WordPress is by using a plugin. This method is recommended for beginner because it is safe and easy. For example : Custom Post Type UI The problem with using a plugin is that your custom post types will disappear when the plugin is deactivated. you … Read more

Trigger background job using AJAX

I don’t think you need to worry about this running flag or unscheduling. Since you are scheduling a one-time job that will run immediately there’s no reason to unschedule it. You just need to check if a job with that name is scheduled or not and if it is (even if it is running at … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)