Hi @xsonic,
Currently, this is possible, using the available hook:
https://github.com/WP2Static/wp2static#modify-the-initial-list-of-urls-to-crawl
And based on the example there, pass in a list of the public URLs of all the files in your uploads dir. This can be done by a custom function within your theme/child theme’s functions.php.
I’m planning to add more options for folder/file selection via the GUI in an upcoming version.
Please shoot me an email if you’re needing help with the custom function creation.
Cheers,
Leon
Thread Starter
xsonic
(@xsonic)
Thanks a lot, didn’t notice that there is documentation on github aswell.
This is exactly what I needed.
Imho a syntax like /wp-content/uploads/ or /wp-content/uploads/**/*.* or sth similar in the includes and excludes textboxes would be a great addition.
Thanks a lot for the quick response, awesome plugin, I am impressed! 🙂
Hi there,
Closing this issue due to inactivity / assumed resolution. Please re-open to continue the discussion.
You may also try an early development release of version 7, which brings a lot of fixes and some nice new features:
https://wordpress.org/support/topic/version-7-early-development-release-available/
Cheers,
Leon