neilkonka
Forum Replies Created
-
Sent you the message to your email ID.
Regards
NeilActually the rendering mode is in Forminator > Form > Behaviour, I have chosen the Load form using AJAX option. Now the form is not loading entirely.
We need to refresh the page to load the form.
Hello @patrick, thank-you for the reply.
Sorry about that, my client requested to add the new form.
I have added the form in a new page https://urbanxposuremag.com/form-test/, when you first load the page the PayPal button is not showing at the end of the form. But when you refresh the page it shows.
The form works on if you directly go to the page, but when you go to the main site and click the page it doesn’t work.
For you I have added the page link in the main menu.
Regards
NeilThank-you for the reply.
Yes, we are using the same plugin.
regards
NeilThank-you, great it’s working.
This https://paste.pics/9TD17
is where I have added the code.This https://paste.pics/9TD1A is what the user is seeing after registration.
This https://paste.pics/9TD1F is what in the message is /store-manager/memberships-settings/ written.
What am I doing wrong here.
- This reply was modified 4 years, 3 months ago by neilkonka.
Hello,
thank-you for the reply, I have copied the vendor_thankyou.php file to the child theme\wcfm\membership\ and added the content “Welcome {first_name},”. But it’s showing the thank you message from the WCFM Store Manager.
What am I doing wrong?
regards
NeilThank-you Tom for your help, really apprecitate.
Hello Tom,
Thank-you for the reply.
removed the overflow hidden line from the css.
Is it possible for you check and send me the screen-shot of the page if the menu is working now.
Regards,
NeilForum: Plugins
In reply to: [Age Gate] Age Gate Country select optionThan-you Phil its working with the Javascript.
Really appreciate.
Can we remove the delay?
- This reply was modified 5 years, 1 month ago by neilkonka.
Forum: Plugins
In reply to: [Age Gate] Age Gate Country select optionAnd this is the site link https://demo.shreestar.com
Forum: Plugins
In reply to: [Age Gate] Age Gate Country select optionThank-you Phil for you response.
I have added the above standard version to the functions.php file but the loader is continues spinning and nothing is happening.
I hope I’m adding code correctly.
Following is my code.
add_action( 'wp_enqueue_scripts', 'my_enqueue_assets' ); function my_enqueue_assets() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } add_filter('pre_age_gate_custom_fields', 'top_custom_country', 10, 2); function top_custom_country($fields){ $fields .= age_gate_error('custom_country_input'); $countries = [ [ 'name' => 'Canada', 'redirect' => '/fr/' ], [ 'name' => 'French', 'redirect' => '/pt/' ], ]; $fields .= age_gate_error('custom_country_input'); $fields .= '<div class="top_age_customfield">'; $fields .= '<p style="margin-bottom:10px;">Are you allowed to be here?</p>'; $fields .= '<label>Country</label>'; $fields .= '<select id="ag-country" name="custom_country_input" required>'; $fields .= '<option value=""> -- Select -- </option>'; foreach ($countries as $custom_country_input) { $fields .= '<option id="ag-county" value="'. $custom_country_input['redirect'] .'">'. $custom_country_input['name'] .'</option>'; } $fields .= '</select>'; $fields .= '</div>'; return $fields; } add_filter('age_gate_validation', 'top_validation_rules', 10, 1); function top_validation_rules($rules){ return array_merge($rules, [ 'custom_country_input' => 'required' ]); } add_filter('age_gate_field_names', 'top_field_names', 10, 1); function top_field_names($names){ return array_merge($names, [ 'custom_country_input' => "Country" ]); } add_action('age_gate_form_success', function ($a, $b = []) { if ($a['custom_country_input']) { wp_redirect($a['custom_country_input']); exit; } }); add_filter('post_age_gate_custom_fields','termandcondition', 10, 1); function termandcondition(){ return '<p style="font-size: 14px;margin-top: 20px;">By accessing this site, you accept the Terms of Use and Privacy Policy.</p>'; } function wpb_image_editor_default_to_gd( $editors ) { $gd_editor = 'WP_Image_Editor_GD'; $editors = array_diff( $editors, array( $gd_editor ) ); array_unshift( $editors, $gd_editor ); return $editors; } add_filter( 'wp_image_editors', 'wpb_image_editor_default_to_gd' );
Thanks
Neil