Pierre_02
Forum Replies Created
-
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] A suggestion :)Great ?? !
Amicably,
Pierre.
The problem is present if the WP admin part is on http and the generated static pages are on https :).
To resolve it, I’ve forced the admin to be in SSL too :).But if you want to see the problem, I let the setting to generate page on https in the development website URL that I’ve sent to you ;).
Amicably,
Pierre.
Hi Scott ?? !
Mail sent ?? !!
Amicably,
Pierre.
Cool ?? !
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] Quid of deleted postsHi Scott ?? !
That’s a great news ?? !
Amicably,
Pierre.
Ok. I’ve found why :)…
It was linked to AutoOpimize who have cached some javascript files :).Pierre.
YESSSS ?? !
Thanks Scott ?? !
Amicably,
Pierre.
??
:(… Is it planned ?
TIA.
Pierre.
Yeah ?? !
Cool ?? ! As usual, thanks a lot, Scott ?? !!
Amicably,
Pierre.
Ok, i’ve worked recently on themes in my functions and there’s a really easy way to get the actual used theme by :
get_stylesheet();
. This will give you the “slug name” (short name) of the theme.So, if it’s the first time the user click on “Generate” you store the value of
get_stylesheet();
in the array of settings ofsimply_static
in wp_options table and every other time, you do aget_stylesheet();
, compare it with the one you’ve stored before and if it has changed you applied the required process ?? ?
BTW, no need for users to remove theme(s) from WP and a cleaner method to apply change ?? !TIA,
Pierre.
Hi Scott ?? !
Ok, waiting for your feedback ;)…
Amicably,
Pierre.
Hi Scott ?? !
Great news ?? !! Cool ! Thanks a lot Scott ?? !!
Amicably,
Pierre.
A few generated process later :)… It’s seems that Simply Static finish by trying to copy my file but without any success ?? …
Here the copy of the generated .htaccess file in the statics files directory :<!DOCTYPE html> <html> <head> <title>Redirecting...</title> <noscript> <meta http-equiv="refresh" content="0;url=https://subdomain.domain.tld/wp-content/.htaccess"> </noscript> <script type="text/javascript"> window.location = "https://subdomain.domain.tld/wp-content/.htaccess"; </script> </head> <body> <p>You are being redirected to <a href="https://subdomain.domain.tld/wp-content/.htaccess">https://subdomain.domain.tld/wp-content/.htaccess</a></p> </body> </html>
this causes, of course, some Errors 500 on the static copy :)…
TIA.
Amicably,
Pierre.
Hi again Scott ?? !
No problem, and no trouble because now I always keep the 1.2.4 release and if there’s something wrong I “restore” it ;).
Thanks again for the cool and quick support ?? !!Amicably,
Pierre.