skydev2020
Forum Replies Created
-
Forum: Plugins
In reply to: [Payment Forms for Paystack] It breaks the elementor form redirectionI found the reason.
Uncaught TypeError: $(…).datepicker is not a function
From paystack-forms.public.js$(".date-picker").datepicker({ dateFormat: "mm/dd/yy", prevText: '<i class="fa fa-caret-left"></i>', nextText: '<i class="fa fa-caret-right"></i>' });
Why do we have this error and how to solve it?
Forum: Plugins
In reply to: [Payment Forms for Paystack] Load JS and Styles on specific page onlyI get this error
Uncaught TypeError: $(…).datepicker is not a function
What is the solution for this?Forum: Plugins
In reply to: [Payment Forms for Paystack] It breaks the elementor form redirectionLooks like this is the reason.
public function enqueue_scripts() { wp_enqueue_script('blockUI', plugin_dir_url(__FILE__) . 'js/jquery.blockUI.min.js', array('jquery'), $this->version, true, true); wp_enqueue_script('jquery-ui-core'); wp_register_script('Paystack', 'https://js.paystack.co/v1/inline.js', false, '1'); wp_enqueue_script('Paystack'); wp_enqueue_script('paystack_frontend', plugin_dir_url(__FILE__) . 'js/paystack-forms-public.js', array('jquery'), $this->version, true, true); wp_localize_script('paystack_frontend', 'kkd_pff_settings', array('key' => Kkd_Pff_Paystack_Public::fetchPublicKey(), 'fee' => Kkd_Pff_Paystack_Public::fetchFeeSettings()), $this->version, true, true); }
- This reply was modified 2 years, 9 months ago by skydev2020.
- This reply was modified 2 years, 9 months ago by skydev2020.
Forum: Plugins
In reply to: [Payment Forms for Paystack] It breaks the elementor form redirectionI checked the PayStack Forms plugin code and it works if I disable this line.
$this->loader->add_action(‘wp_enqueue_scripts’, $plugin_public, ‘enqueue_scripts’);
in includes/class-paystack-forms.php define_public_hooks() functionForum: Developing with WordPress
In reply to: Access plugin php using wp-admin/admin.php url@bcworkz Thank you, it makes very clear now.
RegardsForum: Developing with WordPress
In reply to: Access plugin php using wp-admin/admin.php url@bcworkz Thanks for your explanation, I have experience in using
action
query string in the URL but I have never thought it is related to hook.
Thanks I will use action.
Btw can you give me more info how to create route through /wp-admin/admin-post.phphi Gabe.
Thanks for your message.
You are saying Asset Clean Up has higher priority than W3 Total Cache & Autoptimize?And when you say combination is not ideal, does it mean W3 Total Cache + Asset Clean up use?
Thanks
it looks like working
https://prnt.sc/10zeh32
ThanksYes, I can do of course but regarding this screenshot https://prnt.sc/10zdzvm
can you answer this is the expected behavior or not?you mean this one?
https://prnt.sc/10zebguyour answer to first question is clear to me.
I am asking about the screenshot.Yes, but couldn’t find the solution.
Thanks for quick reply.
Can you check this screenshot please?
https://prnt.sc/10zdzvm
I noticed that one of my images are successfully converted.
But when I open the image in chrome, it seems like original image is loaded not .webp version.
According to my understanding the plugin will automatically loads webp version if it is available.
FYI, my site is the multisite.
RegardsBut when I check in the network panel, it see the size has been decreased.
converted to WebP is larger than original and has been deleted.”],”size”:{“before”:562554,”after”:451462}}