lvfxbr
Forum Replies Created
-
Forum: Plugins
In reply to: [WebP Express] It works in Litespeed Web Server?Ok, I did the correct configuration to make it work. It’s working now, tested and confirmed in version 1.6.13 of Open Litespeed. Closing this thread now.
add_filter('http_request_args', function($r, $url){ if ( strpos( $url, 'correios' ) !== false ) { $r['timeout'] = 120 * 1000; } return $r; }, 10, 2);
- This reply was modified 4 years, 6 months ago by lvfxbr.
Achei um filtro que possa ser usado para ambas as vers?es e que se apresenta de forma mais ampla: http_request_args.
PS.: é só uma dica.
Reading the plugin code, I solved redirecting to home, but would be good if that is native plugin code, please reconsider implement a option to redirect where you would like:
add_action( 'wp_loaded', 'redirect_to_home', 9); function redirect_to_home() { if ( is_admin() && ! is_user_logged_in() && ! defined( 'DOING_AJAX' ) ) { wp_redirect( get_site_url() ); exit; } }
PS .:Thank you for this plugin, I had some issues with WPS Hide Login, so I found this. Hope that I will keep with this solution for life.
Obrigado pela corre??o, @lucasbustamante.
Okay, I found out what was not working. The fact is that the plugin only works when the customer is logged in the store. It didn’t work when the user doesn’t have a account. The waiting list should have some way to insert the e-mail for the customer insert that in the waiting list directly. In the admin panel should have a list of subscribed users or emails in that list. It is automatic the sending of emails when the product leave of out-of-stock status?
Whats the problem of the plugin? What kind of security issue is that? Please, explain it to us to have a better comprehension of the problem. Explaining the problem could be the first step you need to find new contributors.
Nice that is not a serious issue, @roselldk. I thought you abandoned the plugin. Can I download the github version in master?
Forum: Reviews
In reply to: [Gutenberg] Should be an option, not a statement.Everything! It’s hard to make a grid with three columns with image and text. You add a block inside another block, it’s awful. You delete a column by mistake. I think you guys want to offer a better user experience and beat the best page builders: please, improve your references, take webflow as example: https://webflow.com/ and not divi and elementor.
- This reply was modified 5 years, 5 months ago by lvfxbr.
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] How to customize query string of filter?Thanks for Explanation, Dima!
I will think about which decision I will take.Many thanks my friend for showing me the ropes, I will make the product search page and test the filter. If I have another issue I open another topic.
Yes, sorry, you are right, I thought WordPress used the same search page for products (same page for search posts). I tested in Storefront theme and really, It uses the post type param as you showed me. So, I have to develop a page for search products, right? I’m developing a theme for WooCommerce, I’m new in theme development for WooCommerce.
Thanks for reply, Dima:
https://once.ly/H62jZ- This reply was modified 5 years, 6 months ago by lvfxbr.
The query simply didn’t change in search page and I don’t know why.
There is some tool to debug it?- This reply was modified 5 years, 6 months ago by lvfxbr.
Solved! The problem is the browser cache. It’s important to open Developer Tools (F12) > Network and mark the option ‘Disable cache’ and the test the redirect problem. Thanks anyway!