{"id":402933,"date":"2024-07-05T08:00:00","date_gmt":"2024-07-05T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/api-for-htmx\/"},"modified":"2025-08-31T09:29:00","modified_gmt":"2025-08-31T09:29:00","slug":"api-for-htmx","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/api-for-htmx\/","title":{"rendered":"HyperPress: Modern Hypermedia for WordPress"},"content":{"rendered":"<p>Supercharge WordPress with the power of hypermedia. Use HTMX, Alpine Ajax, and Datastar to create rich, interactive blocks and pages\u2014all with the simplicity of PHP.<\/p>\n<p>Hypermedia is a concept that extends the idea of hypertext by allowing for more complex interactions and data representations. It enables the use of AJAX, WebSockets, and Server-Sent Events directly in HTML using attributes, without writing any JavaScript. It reuses an \u201cold\u201d concept, <a href=\"https:\/\/hypermedia.systems\/\" rel=\"nofollow ugc\">Hypermedia<\/a>, to handle the modern web in a more HTML-like and natural way.<\/p>\n<p>Check the <a href=\"https:\/\/github.com\/EstebanForge\/HyperPress\" rel=\"nofollow ugc\">full feature set at here<\/a>.<\/p>\n<p>This plugin include several Hypermedia libraries by default, locally from the plugin folder. Currently, it includes:<\/p>\n<ul>\n<li><a href=\"https:\/\/htmx.org\/\" rel=\"nofollow ugc\">HTMX<\/a> with <a href=\"https:\/\/hyperscript.org\/\" rel=\"nofollow ugc\">Hyperscript<\/a>.<\/li>\n<li><a href=\"https:\/\/alpine-ajax.js.org\/\" rel=\"nofollow ugc\">Alpine Ajax<\/a> with <a href=\"https:\/\/alpinejs.dev\/\" rel=\"nofollow ugc\">Alpine.js<\/a>.<\/li>\n<li><a href=\"https:\/\/data-star.dev\/\" rel=\"nofollow ugc\">Datastar<\/a>.<\/li>\n<\/ul>\n<p>The plugin has an opt-in option, not enforced, to include these third-party libraries from a CDN (using the unpkg.com service). You must explicitly enable this option for privacy and security reasons.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Supercharge WordPress with the power of hypermedia. Use HTMX, Alpine Ajax, and Datastar to create rich, interactive blocks and pages\u2014all with the simp \u2026<\/p>\n","protected":false},"author":65,"featured_media":406725,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"HyperPress: Modern Hypermedia for WordPress - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Supercharge WordPress with the power of hypermedia. Use HTMX, Alpine Ajax, and Datastar to create rich, interactive blocks and pages\u2014all with the simp \u2026"},"footnotes":""},"categories":[1],"tags":[476,55729,63593,55730,55731],"class_list":["post-402933","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-ajax","tag-alpinejs","tag-datastar","tag-htmx","tag-hypermedia"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/402933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=402933"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/402933\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/406725"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=402933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=402933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=402933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}