Compute
Forum Replies Created
-
Still no answer and still no solution.
Or do I really have to create a custom page for the new user role to make this work?
Says: Uncaught SyntaxError: Unexpected identifier
In admin-ajax.php:2Gives:
Fatal error: Call to a member function get_name() on a non-object in /home/phh/www/wordpress-danskemedier-dk/frontend/wp-content/plugins/events-manager/classes/em-booking.php on line 503
Uncaught SyntaxError: Unexpected identifierDo I have to use $post_validation to validation instead of
$registration = false;
$EM_Notices->add_error( ‘ERROR‘ );How to I use $post_validation and how to I make my fields required?
Is there any way to set $post_validation to false without writing code in plugin? This way im able to only allow my own validation.
I’d also really love to know this..
Finally!
Added my fields in booking-fields.php
Hooked into
em_booking_add
saved my fieldif( ! empty( $_REQUEST['company'] ) ){ $EM_Booking->booking_meta['registration']['company'] = wp_kses( $_REQUEST['company'], array() ); }
Will now also be saved ??
I’m still trying to add some validation to my custom fields if anyone knows what/how to hook that?As I’m not using pro im wondering how to do this from my own functions.php
Still missing an answer ??
I think my little brain needs a little more explaining than that ??
I really dont think that using the short code will change the way the single looks like?
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Get_default_categoryThat is awesome. Thanks alot again ??
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Get_default_categoryWow. That was quick. Worked perfectly.
I might be blind but have you written any manual for this plugin?
Forum: Plugins
In reply to: [WP Export] [Plugin: WP Export] Not updating – solutionAlso found a way to export/insert posts by it’s post type.
I’d love some that would like to test it out (and that the author will contact me)