{"id":226195,"date":"2025-03-23T20:46:02","date_gmt":"2025-03-23T20:46:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/static-press\/"},"modified":"2026-03-29T22:01:51","modified_gmt":"2026-03-29T22:01:51","slug":"static-site-generator","status":"publish","type":"plugin","link":"https:\/\/de-ch.wordpress.org\/plugins\/static-site-generator\/","author":12387480,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.04","stable_tag":"2.04","tested":"7.0","requires":"6.6","requires_php":"8.0","requires_plugins":null,"header_name":"Static Site Generator","header_author":"Katsushi Kawamori","header_description":"Generate static site.","assets_banners_color":"","last_updated":"2026-03-29 22:01:51","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/shop.riverforest-wp.info\/donate\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/static-site-generator\/","header_author_uri":"https:\/\/riverforest-wp.info\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1053,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.00":{"tag":"1.00","author":"Katsushi Kawamori","date":"2025-03-23 23:04:49"},"1.01":{"tag":"1.01","author":"Katsushi Kawamori","date":"2025-03-25 13:14:51"},"1.02":{"tag":"1.02","author":"Katsushi Kawamori","date":"2025-03-26 00:19:13"},"1.03":{"tag":"1.03","author":"Katsushi Kawamori","date":"2025-03-27 00:56:27"},"1.04":{"tag":"1.04","author":"Katsushi Kawamori","date":"2025-03-27 23:26:38"},"1.05":{"tag":"1.05","author":"Katsushi Kawamori","date":"2025-03-29 01:27:53"},"1.06":{"tag":"1.06","author":"Katsushi Kawamori","date":"2025-03-30 23:59:17"},"1.07":{"tag":"1.07","author":"Katsushi Kawamori","date":"2025-05-09 14:25:56"},"1.08":{"tag":"1.08","author":"Katsushi Kawamori","date":"2025-05-10 03:34:46"},"1.09":{"tag":"1.09","author":"Katsushi Kawamori","date":"2025-05-10 05:12:13"},"1.10":{"tag":"1.10","author":"Katsushi Kawamori","date":"2025-05-11 11:03:11"},"1.11":{"tag":"1.11","author":"Katsushi Kawamori","date":"2025-05-11 11:26:38"},"1.12":{"tag":"1.12","author":"Katsushi Kawamori","date":"2025-05-11 13:40:05"},"1.13":{"tag":"1.13","author":"Katsushi Kawamori","date":"2025-05-12 00:08:11"},"2.00":{"tag":"2.00","author":"Katsushi Kawamori","date":"2025-05-16 05:45:03"},"2.01":{"tag":"2.01","author":"Katsushi Kawamori","date":"2025-05-17 01:37:02"},"2.02":{"tag":"2.02","author":"Katsushi Kawamori","date":"2025-05-19 00:29:29"},"2.03":{"tag":"2.03","author":"Katsushi Kawamori","date":"2025-05-19 23:52:26"},"2.04":{"tag":"2.04","author":"Katsushi Kawamori","date":"2026-03-29 22:01:51"}},"upgrade_notice":{"1.00":""},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3260419,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.00","1.01","1.02","1.03","1.04","1.05","1.06","1.07","1.08","1.09","1.10","1.11","1.12","1.13","2.00","2.01","2.02","2.03","2.04"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3291469,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3291469,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"WP-CLI help screen","2":"WP-CLI execution screen"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[247,600,186,794,17693],"plugin_category":[52,54,55],"plugin_contributors":[79586],"plugin_business_model":[],"class_list":["post-226195","plugin","type-plugin","status-publish","hentry","plugin_tags-performance","plugin_tags-security","plugin_tags-seo","plugin_tags-speed","plugin_tags-static","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_category-seo-and-marketing","plugin_contributors-katsushi-kawamori","plugin_committers-katsushi-kawamori"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/static-site-generator\/assets\/icon-256x256.png?rev=3260419","icon_2x":"https:\/\/ps.w.org\/static-site-generator\/assets\/icon-256x256.png?rev=3260419","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/static-site-generator\/assets\/screenshot-1.png?rev=3291469","caption":"WP-CLI help screen"},{"src":"https:\/\/ps.w.org\/static-site-generator\/assets\/screenshot-2.png?rev=3291469","caption":"WP-CLI execution screen"}],"raw_content":"<!--section=description-->\n<h4>Requires<\/h4>\n\n<ul>\n<li>This plugin only supports execution from the command line using <a href=\"https:\/\/wp-cli.org\/\">WP-CLI<\/a>.<\/li>\n<\/ul>\n\n<h4>Generate<\/h4>\n\n<ul>\n<li>Generated static site with WP-CLI command.<\/li>\n<li>Replaces URLs or strings in content.<\/li>\n<li>Supports custom post types.<\/li>\n<li>Outputs the archive page for the year, month, and day.<\/li>\n<li>Outputs category archives.<\/li>\n<li>Outputs tag archives.<\/li>\n<li>Outputs author archives.<\/li>\n<li>Outputs feed.<\/li>\n<li>Outputs categories feed.<\/li>\n<li>Outputs tags feed.<\/li>\n<li>Sitemap by default in WordPress.<\/li>\n<li>Generates a file from a specified URL.<\/li>\n<\/ul>\n\n<h4>Copy<\/h4>\n\n<ul>\n<li>Copy the files that the following tags in the html read to the static site.<\/li>\n<\/ul>\n\n<pre><code>&lt;a href=\"...\"&gt;\n&lt;img src=\"...\"&gt;\n&lt;img srcset=\"...\"&gt;\n&lt;video src=\"...\"&gt;\n&lt;audio src=\"...\"&gt;\n&lt;link href=\"...\"&gt;\n&lt;script src=\"...\"&gt;\n&lt;iframe src=\"...\"&gt;\n&lt;source src=\"...\"&gt;\n&lt;track src=\"...\"&gt;\n&lt;object data=\"...\"&gt;\n&lt;embed src=\"...\"&gt;\n&lt;script&gt;...&lt;\/script&gt;\nCSS\n<\/code><\/pre>\n\n<h4>WP-CLI<\/h4>\n\n<ul>\n<li>1st argument(string) : <code>\/home\/www\/localhost.test<\/code> : output path of full path<\/li>\n<li>2nd argument(string) : <code>https:\/\/localhost.test<\/code> : url of output homepage<\/li>\n<li>optional argument1(string) : <code>--cb1=\"site.com\" --ca1=\"localhost.test\"<\/code> : <code>cb1<\/code> -&gt; Original string | <code>ca1<\/code> -&gt; Changed string<\/li>\n<li>optional argument2(string) : <code>--cb2=\"\/wordpress\" --ca2=\"\/\"<\/code> : <code>cb2<\/code> -&gt; Original string | <code>ca2<\/code> -&gt; Changed string<\/li>\n<li>optional argument3(bool) : <code>--s<\/code> : Only arguments 4-7, which directly specify the URL and file name, are executed.<\/li>\n<li>optional argument4(string) : <code>--file1=\"ja\/feed\/index.xml\" --orgurl1=\"https:\/\/site.com\/ja\/feed\/\"<\/code> : <code>file1<\/code> -&gt; Output filename | <code>orgurl1<\/code> -&gt; Original url<\/li>\n<li>optional argument5(string) : <code>--file2=\"ja\/category\/whatsnew-ja\/feed\/index.xml\" --orgur2=\"https:\/\/site.com\/ja\/category\/whatsnew-ja\/feed\/\"<\/code> : <code>file2<\/code> -&gt; Output filename | <code>orgurl2<\/code> -&gt; Original url<\/li>\n<li>optional argument6(string) : <code>--file3=\"feed\/googleimagesitemap\/index.xml\" --orgurl3=\"https:\/\/site.com\/feed\/googleimagesitemap\/\"<\/code> : <code>file3<\/code> -&gt; Output filename | <code>orgurl3<\/code> -&gt; Original url<\/li>\n<li>optional argument7(string) : <code>--file4=\"feed\/googlevideossitemap\/index.xml\" --orgur4=\"https:\/\/site.com\/feed\/googlevideossitemap\/\"<\/code> : <code>file4<\/code> -&gt; Output filename | <code>orgurl4<\/code> -&gt; Original url<\/li>\n<li><p>optional argument8(bool) : <code>--c<\/code> : Outputs file copy status to the console.<\/p><\/li>\n<li><p>Example1 <code>wp static \/home\/www\/localhost.test https:\/\/localhost.test<\/code><\/p><\/li>\n<li><p>Example2 <code>wp static \/home\/www\/localhost.test https:\/\/localhost.test --cb1=\"site.com\" --ca1=\"localhost.test\" --cb2=\"\/wordpress\" --ca2=\"\/\"<\/code>\nIn the html or xml, the original home page is converted to \"https:\/\/localhost.test\", \"site.com\" is converted to \"localhost.test\", and \"\/wordpress\" is converted to \"\/\".<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>static-site-generator<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>none<\/p>\n\n<!--section=changelog-->\n<h4>[2.04] 2025\/11\/16<\/h4>\n\n<ul>\n<li>Change - hook name.<\/li>\n<\/ul>\n\n<h4>[2.03] 2025\/05\/20<\/h4>\n\n<ul>\n<li>Change - readme.txt.<\/li>\n<\/ul>\n\n<h4>[2.02] 2025\/05\/19<\/h4>\n\n<ul>\n<li>Fix - File copy.<\/li>\n<\/ul>\n\n<h4>[2.01] 2025\/05\/17<\/h4>\n\n<ul>\n<li>Added - Day archives can now be displayed.<\/li>\n<\/ul>\n\n<h4>[2.00] 2025\/05\/16<\/h4>\n\n<ul>\n<li>Fix - Various processes have been reviewed.<\/li>\n<li>Added - Tags feeds can now be displayed.<\/li>\n<\/ul>\n\n<h4>[1.13] 2025\/05\/12<\/h4>\n\n<ul>\n<li>Added - Tags archives can now be displayed.<\/li>\n<li>Fix - File copy status is not displayed on the console by default. If you wish to display it, please add the --c option.<\/li>\n<\/ul>\n\n<h4>[1.12] 2025\/05\/11<\/h4>\n\n<ul>\n<li>Fix - Warning messages.<\/li>\n<\/ul>\n\n<h4>[1.11] 2025\/05\/11<\/h4>\n\n<ul>\n<li>Fix - Translation.<\/li>\n<\/ul>\n\n<h4>[1.10] 2025\/05\/11<\/h4>\n\n<ul>\n<li>Added - Author archives can now be displayed.<\/li>\n<\/ul>\n\n<h4>[1.09] 2025\/05\/10<\/h4>\n\n<ul>\n<li>Added - Support for pagination within a post.<\/li>\n<\/ul>\n\n<h4>[1.08] 2025\/05\/10<\/h4>\n\n<ul>\n<li>Fix - Suppresses generation when feed is suppressed.<\/li>\n<\/ul>\n\n<h4>[1.07] 2025\/05\/09<\/h4>\n\n<ul>\n<li>Added - Feed output is available.<\/li>\n<li>Fix - Fixed that the top page of the blog's latest posts is not generated.<\/li>\n<\/ul>\n\n<h4>[1.06] 2025\/03\/31<\/h4>\n\n<ul>\n<li>Added - Displays an error message and stops processing if the permalink structure is not appropriate.<\/li>\n<\/ul>\n\n<h4>[1.05] 2025\/03\/29<\/h4>\n\n<ul>\n<li>Fix - Branching process when creating sitemap.<\/li>\n<\/ul>\n\n<h4>[1.04] 2025\/03\/28<\/h4>\n\n<ul>\n<li>Fix - Handling of redirects.<\/li>\n<\/ul>\n\n<h4>[1.03] 2025\/03\/27<\/h4>\n\n<ul>\n<li>Fix - Problems getting the srcset attribute.<\/li>\n<\/ul>\n\n<h4>[1.02] 2025\/03\/26<\/h4>\n\n<ul>\n<li>Fix - Handling of redirects.<\/li>\n<\/ul>\n\n<h4>[1.01] 2025\/03\/25<\/h4>\n\n<ul>\n<li>Fix - Problems getting the srcset attribute.<\/li>\n<\/ul>\n\n<h4>[1.00] 2025\/03\/23<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Generate static site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/226195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=226195"}],"author":[{"embeddable":true,"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/katsushi-kawamori"}],"wp:attachment":[{"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=226195"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=226195"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=226195"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=226195"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=226195"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/de-ch.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=226195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}