- - | -
- displayTextfield($this, 'baseUrl-folder', 'http://mystaticsite.com', '', ''); ?> - - Set this to the URL your visitors will use to access your site. - - |
-
---|---|
- - | -
- - - By exporting to a directory on your current server, you can check how it will look when published and make any adjustments needed. If you put this in a publicly accessible path and the links have been rewritten to support it, you may use this method to easily preview your static site without needing to leave your browser. - -As a safeguard, this plugin will only allow you to export to a new directory, an empty directory, or one that contains a file named |
-
message; ?>
- -exportLog)) ?>- diff --git a/wp-content/plugins/static-html-output-plugin/views/netlify_settings_block.phtml b/wp-content/plugins/static-html-output-plugin/views/netlify_settings_block.phtml deleted file mode 100644 index a48510c..0000000 --- a/wp-content/plugins/static-html-output-plugin/views/netlify_settings_block.phtml +++ /dev/null @@ -1,59 +0,0 @@ - diff --git a/wp-content/plugins/static-html-output-plugin/views/options-page-js.phtml b/wp-content/plugins/static-html-output-plugin/views/options-page-js.phtml deleted file mode 100644 index 3304672..0000000 --- a/wp-content/plugins/static-html-output-plugin/views/options-page-js.phtml +++ /dev/null @@ -1,1256 +0,0 @@ - - diff --git a/wp-content/plugins/static-html-output-plugin/views/options-page.phtml b/wp-content/plugins/static-html-output-plugin/views/options-page.phtml deleted file mode 100644 index d07d8ba..0000000 --- a/wp-content/plugins/static-html-output-plugin/views/options-page.phtml +++ /dev/null @@ -1,174 +0,0 @@ - - -
The current officially supported PHP versions can be found on PHP.net
- -Whilst the plugin tries to work on the most common PHP environments, it currently requires PHP 5.4 or higher.
- -As official security support drops for PHP 5.6 at the end of 2018, it is strongly recommended to upgraded your WordPress hosting environment to PHP 7, ideally, PHP 7.1 or 7.2, as 7.0 will also stop being supported in December, 2018.
For help on upgrading your environment, please join our support community at https://wp2static.com/community/
Your current PHP version is:
-Please ensure that wp_site->wp_uploads_path; ?>
- is writable by your webserver.
-
This is a library that allows the plugin to better export your static site out to services like GitHub, S3, Dropbox, BunnyCDN, etc. It's usually an easy fix to get this working. You can try Googling "How to enable cURL extension for PHP", along with the name of the environment you are using to run your WordPress site. This may be something like DigitalOcean, GoDaddy or LAMP, MAMP, WAMP for your webserver on your local computer. If you're still having trouble, the developer of this plugin is easger to help you get up and running. Please ask for help on our forum.
-Due to the nature of how static sites work, you'll need to have some kind of permalinks structure defined in your Permalink Settings within WordPress. To learn more on how to do this, please see WordPress's official guide to the Settings Permalinks Screen.
-- - | -- - | -
---|
Publish whole site as static HTML
'; - echo ""; -} - -function wp_static_html_output_deregister_scripts() { - wp_deregister_script( 'wp-embed' ); - wp_deregister_script( 'comment-reply' ); -} -add_action( 'wp_footer', 'wp_static_html_output_deregister_scripts' ); -remove_action( 'wp_head', 'wlwmanifest_link' ); - -// WP CLI support -if ( defined( 'WP_CLI' ) ) { - require_once dirname( __FILE__ ) . '/plugin/wp2static-wp-cli-commands.php'; -}