Masoud NKH
Forum Replies Created
-
Forum: Plugins
In reply to: [??????? ?????] plugin removed??? ???? ????? ????? ?????? ????? ?????? ???? ?? ????? ?????? ????? ????. ???? ?????? ?? ???? ???? ?? ????
Your welcome
After converting the images to webp, the problem occurs for images that have the same name and are placed in the same folder. For example, we have an image with the name masoud and with jpg format in the folder /2024/04/. We have another file with the same name, masoud, but in png format in the same folder. The plugin considers only one of these two images as the original and actually converts only one image. That is, in the folder where the webp images are stored, the converted file of one of the stored images (masoud.jpg or masoud.png).
all plugin not show notification for this because not problem of plugins. you must upload images with standard site moderation like dont use same image with same name. you just need replace image with new name. also if images not in same folder like both image not uplaoded to /2023/10/ not have problem. if you want upload images on your site. must use unique and shortname for images and dont use same image name with different format. this isnt standard. You should save your site
other Suggestion is dont use avif format and from now only webp supported on all device in the world. some browser like Edge, not support avif yet. see this:
https://caniuse.com/avifThis is my help and suggestion to have best site
Forum: Reviews
In reply to: [Parsi Date] ???? ?? ????? ??? ?? ????????? ??? ????
????? ???? ??? ??. ???????? ?? ???? ??? ???? ???? ????? ????? ?? ??????? ?? ??? ?????? ????? ?? ???? ??? ????? ????:
??????? > ??????? > ?????
?????? ??????? ????? ?????? ?? ?????? ???? ? ?? ??? ?? ???? ???? ?? ????? ????? ??? ????? ???? ???
d F Y
1402 ?????: 16 ??????
Forum: Plugins
In reply to: [WooCommerce] Does WooCommerce use a table called wp_e_notes?@chimac Please remove the following line from wp-config.php to prevent repair page from being used by unauthorized users.
define('WP_ALLOW_REPAIR', true);
Dont send important data in public web
in some recent version this have problem with nginx server and other problem is change url for webp file because for example:
when i have this image:
/uploads/2023/03/LoadingLogo.png
The plugin convert this to webp and rename like this:
/uploads-webpc/uploads/2023/03/LoadingLogo.png.webpAnother problem with NGinx is when activated the “Bypassing Nginx (use when you have a problem with the bypassing_apache error)” Option in Advanced Settings tab, the image url output is wrong and changed to this:
/uploads/2023/03/LoadingLogo-optimized.png
In this url added -optimized and in the site have not found error.
You added this code :
const FILENAME_SUFFIX = ‘-optimized’;
in the “HtaccessBypassingLoader.php” file :
\webp-converter-for-media\src\Loader\HtaccessBypassingLoader.php
And when delete -optimized from this, plugin get error for nginx server and not serve webp file in frontend- This reply was modified 1 year, 5 months ago by Masoud NKH.
Thanks for new update (1.4.0). Everything works well and there is no problem
Thank you for your follow up
I tested that the problem is from the new version, that is version 1.3.35. I install the previous version 1.3.34, there is no problem and everything works well. After I update or manually replace the new version, the site has a problem
My plugins and themes are as follows:
Theme: Woodmart
Plugins :
Elementor + Elementor pro
Creative WP Login Page
Designer Powerup for Elementor
Flexible Checkout Fields + Flexible Checkout Fields Pro
Premium Addons + Premium Addons PRO
PW WooCommerce Bulk Edit Pro
Really Simple SSL + Really Simple SSL pro
WooCommerce Extra Product Options Pro
Yoast SEO Premium + Yoast local + yoast woocommoerce
wp rocket
Converter for Media – Optimize images
wp shamsi
loco translate
digits
wordfence
woocommerce
persian woocommerce
Persian WooCommerce SMS
crispForum: Reviews
In reply to: [Creative WP Login Page] Best login page??????? ?? ???? ????? ? ????????? ?? ??? ????. ????? ???? ??? ??????
Forum: Plugins
In reply to: [Creative WP Login Page] ????? ???????? ? ??? ?? ???? ??? ???? ????? ????
????? ?? ?????????Forum: Reviews
In reply to: [Creative WP Login Page] Excellent and efficient project Good luck@khandani ????? ??????
Thank you
The code works well
It would be great if you could make changes in the next versions so that only the required styles and scripts are loaded on each page, because this plugin loads 1 CSS file with a size of more than 1 MB on that page and reduces the speed of the site. If even 1 widget is used on a page.
For example, if a page uses only the Creative Button widget on the page, the code for the same widget will also be loaded on the page. This will double the value of your good plugin- This reply was modified 2 years, 7 months ago by Masoud NKH.
Hi @abidhasan112
I’m sorry, the page is not online and I’m working on localhost
I will build an online site as soon as possible
In general, the plugin generates a CSS file for each page and this file does not have a fixed ID and is different for each page, ie for one page it is 43236346-CSS and for another page it is 35723534-CSS. Now I want to remove the production or call of this file from the product pages in general. There are many products and it is not possible to write code for each page. The code you provided did not work
Are you sure the code you gave me is working correctly? Or if the code is correct, does a special change need to be made or is the code itself OK and should only be a condition of the product page?I used if (is_product () but the style is still loading on product page.
Deleting by page ID is too much code and I have to specify more than 1000 pages. I need a code that automatically deletes the file generated by your plugin for all pagesDo you mean that the code is like this?
add_action('eael_generate_assets',function($uid, $file_path){ if( is_product() ){ wp_deregister_style( $uid ); } });
Yes, I understand, but to a lesser extent, because I did not learn PHP for a long time. Thank you for giving me the complete code.