And sorry to hear, that Alex has passed away.
]]>It isn’t the end of the world, it is manageable, but would be nice if it didn’t keep creating new files every single time. For now, we won’t run it site wide more than once.
]]>We set it up using the General and Documents tab which didn’t give an option to add the store logo. We mistakenly assumed it was going to use the one for order and email generation.
When we created the first two PDF Invoices the logo was not present.
We then went through the Advanced-Tools-Setup Wizard where could choose a logo. Yes, should have done this first.
So my question is how do delete the first couple of PDF Invoices that were generated without the logo and regenerate them with the logo.
I did see this post – https://www.ads-software.com/support/topic/regenrate-invoice-or-delete-all/
Is this the way to go?
Given that, I’d like to remove all earlier images in my /uploads/ folders and regenerate them in AVIF.
There must be wp cli options, but I can’t find relevant information.
Below is what I intend to do.
First, remove all scaled images and just keep the original jp(e)g, png, and gif. (There are PDF files in the upload folder, but it is not scaled, so irrelevant.)
Second, generate AVIF version of each image.
Third, re-generate WP’s 3 default image sizes (thumnail, medium, and large), which I can find from WP Admin -> Settings -> Media
My theme is already adjusted to require only 3 default image sizes.
I have changed themes multiple times, and there are over 10 scaled images for each original, along with WebP converted ones.
Removing WebP and scaled images shouldn’t be that difficult. Just sudo rm to all *.webp and filenames with -xxx-xxx (x being numbers) should be effective. Generating AVIF version of each image is also easy that I just need to run imagemagick (recommend me if there is any better compiler).
For the third step, is there any WP CLI command?
]]>I use Elementor and Elementor PRO on several sites, however on this one the peculiarity occurs that the view is corrupted tediously constantly. The solution is to go to Elements > Tools and then Regenerate Files and Data.
I would like to know what could be causing it since I must provide a quick and definitive solution to this problem.
Thank you
]]>I sometimes need to manually clear the page cache.
When ever I do so I wish there was a way to automatically (or worst case manually) regenerate the cache for all pages and posts (ideally based on the sitemap_index.xml
).
Is there an option I overlooked, or does anyone has experience with that?
]]>I would rather not restore site to backup because it will delete hours of other work.
How can I undo?
]]>