Please could you advise. I just want to reduce the css to what is needed. The Amelia stylesheet is more than the entire rest of the site.
The plugin is feature-rich but I must say it is extremely heavy. As I'm sure many would agree, it would benefit from being slim-lined. The load on the database alone is over the top. My whole site broke the other day because of it and I was then unable to remove the Amelia tables afterwards. I've never seen a plugin that creates so many tables.
Amelia's styles are active only on pages where our shortcodes are, so other pages should not be affected.
If you deactivate the plugin, the styles will not load, and if you don't load Amelia's styles, your form will not look (and maybe even function) correctly.
Why would you need to do this? Do you have some caching plugins on your website? If you do, you would need to exclude pages where Amelia is loaded from being cached.
Can you please share more details about the idea behind this with me?
Basically, the problem is the amount your plugin clogs up my site. It's a bit of a joke to be honest. Have you had these complaints before?
I have 2 issues:
- the same as before. The site is timing out because the database queries are using up too much bandwidth (see attached)
- the plugin thinks that the stylesheet amelia_booking_styles-css is stored in my Wordpress URL path to files (see attached). Should it not be linked to a local file in the plugin folder?
I'd really like to sort this out asap. I am using WP-Rocket so will make sure that your files do not touch the rest of the site, as it will cause chaos.
As we can see, you have 2 services, 2 employees and 2 custom fields. Our developer took a look at your website, and we can't see what's causing the issue here. Our API is being called twice (which is normal), and we will fix that with the next update, but I haven't seen many sites with slow loading of Amelia pages when users have so little data (services, employees, appointments, custom fields, etc).
As for CSS, it is not in the plugin's folder since it's being generated dynamically (after activation of the plugin, and after saving the Customize page). That's why it needs to go to the "uploads" folder since it has enough permissions to save the file.
Did you maybe write your own CSS, and that's the reason why you don't want to load our CSS? Are you trying to load your CSS, and prevent the loading of Amelia's CSS? I did not quite understand that.
I think the slow loading is because the database is making so many queries. We had to increase our memory limit just to allow for Amelia. Perhaps not calling the API twice in the next release will help things a lot. I've cached the appointment booking page which makes it preload files, so that should help performance matters too.
The issue with the CSS is that we use a CDN for our uploads files (static.antiquejewellerycompany.com), but your file cannot be sent there, so a 404 error is being created. I had to mimic the css files and place it in my theme folder. Is there an easy way of disabling the enqueuing of this CSS file so that we don't get the 404 error?
Re the css, I had to make some minor cosmetic customisations which I have now implemented. Do you have SCSS files by any chance?
We will add an action at the end for including the scripts in ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/ShortcodeService/AmeliaShortcodeService.php
do_action('ameliaScriptsLoaded');
You can add this line of code to the current AmeliaShortcodeService.php file. After you do that, go to the "themes" or "mu-plugins" folder, and in functions.php add something like this:
We will add the calling of this action in the update, so you wouldn't need to use it again. We do not use SCSS, we're using LESS, and it's in ../wp-content/plugins/ameliabooking/assets/less folder.
Our developers would like to dive deeper into the slow loading of Amelia, but they would need several environments where this happens.
Can you clone your website?
If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then they would be able to create an exact copy of your website, see what the issue is and try to resolve it for good.
Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.
Also, please note that this is a public ticket, so make sure to enable the PRIVATE response.
Hi there,
I'm trying to deregister the Amelia styles, to reduce weight but for some reason the following don't work in functions.php:
wp_deregister_style( 'amelia_booking_styles' );
wp_dequeue_style( 'amelia_booking_styles' );
wp_deregister_style( 'amelia_booking_styles_vendor' );
wp_dequeue_style( 'amelia_booking_styles_vendor' );
Please could you advise. I just want to reduce the css to what is needed. The Amelia stylesheet is more than the entire rest of the site.
The plugin is feature-rich but I must say it is extremely heavy. As I'm sure many would agree, it would benefit from being slim-lined. The load on the database alone is over the top. My whole site broke the other day because of it and I was then unable to remove the Amelia tables afterwards. I've never seen a plugin that creates so many tables.
Thanks,
Matt
Hello Matthew
Amelia's styles are active only on pages where our shortcodes are, so other pages should not be affected.
If you deactivate the plugin, the styles will not load, and if you don't load Amelia's styles, your form will not look (and maybe even function) correctly.
Why would you need to do this? Do you have some caching plugins on your website? If you do, you would need to exclude pages where Amelia is loaded from being cached.
Can you please share more details about the idea behind this with me?
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi there,
Thanks for responding.
Basically, the problem is the amount your plugin clogs up my site. It's a bit of a joke to be honest. Have you had these complaints before?
I have 2 issues:
- the same as before. The site is timing out because the database queries are using up too much bandwidth (see attached)
- the plugin thinks that the stylesheet amelia_booking_styles-css is stored in my Wordpress URL path to files (see attached). Should it not be linked to a local file in the plugin folder?
url:
https://www.antiquejewellerycompany.com/book-an-appointment/
I'd really like to sort this out asap. I am using WP-Rocket so will make sure that your files do not touch the rest of the site, as it will cause chaos.
Thanks,
Matt
Hello again Matt
As we can see, you have 2 services, 2 employees and 2 custom fields. Our developer took a look at your website, and we can't see what's causing the issue here. Our API is being called twice (which is normal), and we will fix that with the next update, but I haven't seen many sites with slow loading of Amelia pages when users have so little data (services, employees, appointments, custom fields, etc).
As for CSS, it is not in the plugin's folder since it's being generated dynamically (after activation of the plugin, and after saving the Customize page). That's why it needs to go to the "uploads" folder since it has enough permissions to save the file.
Did you maybe write your own CSS, and that's the reason why you don't want to load our CSS? Are you trying to load your CSS, and prevent the loading of Amelia's CSS? I did not quite understand that.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi there,
I think the slow loading is because the database is making so many queries. We had to increase our memory limit just to allow for Amelia. Perhaps not calling the API twice in the next release will help things a lot. I've cached the appointment booking page which makes it preload files, so that should help performance matters too.
The issue with the CSS is that we use a CDN for our uploads files (static.antiquejewellerycompany.com), but your file cannot be sent there, so a 404 error is being created. I had to mimic the css files and place it in my theme folder. Is there an easy way of disabling the enqueuing of this CSS file so that we don't get the 404 error?
Re the css, I had to make some minor cosmetic customisations which I have now implemented. Do you have SCSS files by any chance?
Thanks,
Matt
Hi again Matthew
I don't know if there's any way of disabling this, as I never did that in the past.
The ticket has been forwarded to one of our developers, and as soon as I hear from him I will let you know.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Matthew
You can disable enqueuing our styles.
We will add an action at the end for including the scripts in ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/ShortcodeService/AmeliaShortcodeService.php
You can add this line of code to the current AmeliaShortcodeService.php file. After you do that, go to the "themes" or "mu-plugins" folder, and in functions.php add something like this:
We will add the calling of this action in the update, so you wouldn't need to use it again. We do not use SCSS, we're using LESS, and it's in ../wp-content/plugins/ameliabooking/assets/less folder.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Matthew.
Our developers would like to dive deeper into the slow loading of Amelia, but they would need several environments where this happens.
Can you clone your website?
If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then they would be able to create an exact copy of your website, see what the issue is and try to resolve it for good.
Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.
Also, please note that this is a public ticket, so make sure to enable the PRIVATE response.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables