dbecker88
Forum Replies Created
-
I’m guessing that starting with ~4.4 WP required a value for post_content and doesn’t consider NULL as acceptable?
My workaround is to filter the wp_insert_post content and replace NULL with ”
This is confirmed working.function overRide_EM_Null_Post($data , $postarr){ if(is_null($data['post_content']) && $data['post_type']=='event'){ $data['post_content']=''; } return $data; } add_filter( 'wp_insert_post_data', 'overRide_EM_Null_Post', 99, 2 );activated WP User Frontend 2.3.10 and all users could see the admin bar.
Added this function to functions.php, it did nothing:
show_admin_bar( false );changed WP User Frontend 2.3.10 Settings:
Admin area access: Default
admin bar shows for all users
Admin area access: Admin Only
admin bar shows for only AdminsIt seems like WP User Frontend 2.3.10 is over-riding plugs that disable the admin bar, and also the WP function show_admin_bar.
How do I globally disable the admin bar for all logged in users while this plugin is activated?
I see this same question posted a few times on this forum, no response. I also tried visiting http://www.themehybrid.com/support mentioned in the sticky and the page won’t load.
I’m beginning to think this plugin is no longer supported.
Regardless, there seems to be compatibility issues with WordPress 4.2.2So simple, thanks for the help!!
This works perfectly.
if($EM_Event->recurrence == 1){$EM_Event->save_events();}I tried $EM_Event->event_rsvp = 1; prior to $EM_Event->save(); still no dice.
The single event spanning the recurrance date range gets added to wp_em_events table, but the individual recurring events do not.
Forum: Hacks
In reply to: pass $_Session variable outside wordpressI made a mistake; the above post should read:
however, when arriving at http://employee_intranet/Index.php, I dont’ have access to $_SESSION[‘username’] that was originally set in wordpress [login] shortcode??