{"id":194352,"date":"2024-07-05T22:45:01","date_gmt":"2024-07-05T22:45:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/htmx-api-wp\/"},"modified":"2026-04-01T22:04:20","modified_gmt":"2026-04-01T22:04:20","slug":"api-for-htmx","status":"publish","type":"plugin","link":"https:\/\/sl.wordpress.org\/plugins\/api-for-htmx\/","author":14388663,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.1.1","stable_tag":"3.1.1","tested":"6.9.4","requires":"6.5","requires_php":"8.2","requires_plugins":null,"header_name":"HyperPress: Modern Hypermedia for WordPress","header_author":"Esteban Cuevas","header_description":"Add an API endpoint to support HTMX powered themes on your site.","assets_banners_color":"f3f3f3","last_updated":"2026-04-01 22:04:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/EstebanForge\/HyperPress","header_author_uri":"https:\/\/actitud.xyz","rating":5,"author_block_rating":0,"active_installs":10,"downloads":3400,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.9.1":{"tag":"0.9.1","author":"TCattd","date":"2024-07-05 22:45:12"},"1.0.0":{"tag":"1.0.0","author":"TCattd","date":"2024-08-26 01:14:58"},"1.2.0":{"tag":"1.2.0","author":"TCattd","date":"2025-05-12 01:07:27"},"1.3.0":{"tag":"1.3.0","author":"TCattd","date":"2025-05-12 03:53:31"},"2.0.0":{"tag":"2.0.0","author":"TCattd","date":"2025-07-08 00:27:47"},"2.0.5":{"tag":"2.0.5","author":"TCattd","date":"2025-07-14 20:38:45"},"2.0.6":{"tag":"2.0.6","author":"TCattd","date":"2025-07-24 01:24:57"},"2.0.7":{"tag":"2.0.7","author":"TCattd","date":"2025-08-02 22:36:20"},"3.0.1":{"tag":"3.0.1","author":"TCattd","date":"2025-08-31 01:29:11"},"3.0.2":{"tag":"3.0.2","author":"TCattd","date":"2025-11-23 21:37:27"},"3.0.3":{"tag":"3.0.3","author":"TCattd","date":"2025-12-07 13:08:57"},"3.0.5":{"tag":"3.0.5","author":"TCattd","date":"2026-01-17 03:36:35"},"3.1.1":{"tag":"3.1.1","author":"TCattd","date":"2026-04-01 22:04:20"}},"upgrade_notice":{"":"<p>Nothing to see here.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3338336,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3338336,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3338336,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3338336,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"hyperblocks\/quote-block-json":{"name":"hyperblocks\/quote-block-json","title":"HB Quote Block (JSON)","description":"A quote block with author attribution and styling - block.json implementation.","category":"widgets","icon":"format-quote","keywords":["quote","blockquote","author","testimonial"],"supports":{"html":false,"anchor":true,"spacing":{"padding":true,"margin":true}},"attributes":{"quote_text":{"type":"string","default":""},"quote_author":{"type":"string","default":""},"author_title":{"type":"string","default":""},"background_color":{"type":"string","default":"#f9f9f9"},"text_color":{"type":"string","default":"#333333"}},"render":"file:.\/render.php"},"hyperblocks\/hero-banner-json":{"name":"hyperblocks\/hero-banner-json","title":"HB Hero Banner (JSON)","description":"A hero banner block with headline, subtitle, and call-to-action button - block.json implementation.","category":"widgets","icon":"format-image","keywords":["hero","banner","cta","headline"],"supports":{"html":false,"anchor":true,"spacing":{"padding":true,"margin":true}},"attributes":{"headline":{"type":"string","default":""},"subtitle":{"type":"string","default":""},"button_url":{"type":"string","default":""},"button_text":{"type":"string","default":"Learn More"},"background_color":{"type":"string","default":"#ffffff"},"text_color":{"type":"string","default":"#333333"}},"render":"file:.\/render.php"},"hyperblocks\/content-card-json":{"name":"hyperblocks\/content-card-json","title":"HB Content Card (JSON)","description":"A content card block with title, image, and nested content area - block.json implementation.","category":"widgets","icon":"table-col-before","keywords":["card","content","image","nested"],"supports":{"html":false,"anchor":true,"spacing":{"padding":true,"margin":true}},"attributes":{"card_title":{"type":"string","default":""},"image_url":{"type":"string","default":""},"image_alt":{"type":"string","default":""},"background_color":{"type":"string","default":"#ffffff"},"text_color":{"type":"string","default":"#333333"}},"render":"file:.\/render.php"}},"tagged_versions":["0.9.1","1.0.0","1.2.0","1.3.0","2.0.0","2.0.5","2.0.6","2.0.7","3.0.1","3.0.2","3.0.3","3.0.5","3.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3113321,"resolution":"1","location":"assets","locale":""},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3338336,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3338336,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Main options page.","2":"About"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[221,229292,247111,229289,229290],"plugin_category":[59],"plugin_contributors":[85358],"plugin_business_model":[],"class_list":["post-194352","plugin","type-plugin","status-publish","hentry","plugin_tags-ajax","plugin_tags-alpinejs","plugin_tags-datastar","plugin_tags-htmx","plugin_tags-hypermedia","plugin_category-utilities-and-tools","plugin_contributors-tcattd","plugin_committers-tcattd"],"banners":{"banner":"https:\/\/ps.w.org\/api-for-htmx\/assets\/banner-772x250.png?rev=3338336","banner_2x":"https:\/\/ps.w.org\/api-for-htmx\/assets\/banner-1544x500.png?rev=3338336","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/api-for-htmx\/assets\/icon-128x128.png?rev=3338336","icon_2x":"https:\/\/ps.w.org\/api-for-htmx\/assets\/icon-256x256.png?rev=3338336","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/api-for-htmx\/assets\/screenshot-1.png?rev=3338336","caption":"Main options page."},{"src":"https:\/\/ps.w.org\/api-for-htmx\/assets\/screenshot-2.png?rev=3338336","caption":"About"}],"raw_content":"<!--section=description-->\n<p>Supercharge WordPress with the power of hypermedia. Use Datastar, HTMX or Alpine Ajax to create rich, interactive blocks and pages\u2014all with the simplicity of PHP. No JavaScript required.<\/p>\n\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 \"old\" concept, <a href=\"https:\/\/hypermedia.systems\/\">Hypermedia<\/a>, to handle the modern web in a more HTML-like and natural way.<\/p>\n\n<p>Check the <a href=\"https:\/\/github.com\/EstebanForge\/HyperPress\">full feature set at here<\/a>.<\/p>\n\n<p>This plugin include several Hypermedia libraries by default, locally from the plugin folder. Currently, it includes:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/htmx.org\/\">HTMX<\/a> with <a href=\"https:\/\/hyperscript.org\/\">Hyperscript<\/a>.<\/li>\n<li><a href=\"https:\/\/alpine-ajax.js.org\/\">Alpine Ajax<\/a> with <a href=\"https:\/\/alpinejs.dev\/\">Alpine.js<\/a>.<\/li>\n<li><a href=\"https:\/\/data-star.dev\/\">Datastar<\/a>.<\/li>\n<\/ul>\n\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\n<!--section=installation-->\n<ol>\n<li>Install HyperPress from WordPress repository. Plugins &gt; Add New &gt; Search for: HyperPress (or Hypermedia). Activate it.<\/li>\n<li>Configure HyperPress at Settings &gt; HyperPress.<\/li>\n<li>Enjoy.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20is%20the%20faq%3F\"><h3>Where is the FAQ?<\/h3><\/dt>\n<dd><p>You can <a href=\"https:\/\/github.com\/EstebanForge\/HyperPress\/blob\/main\/docs\/faq.md\">read the full FAQ at GitHub<\/a>.<\/p><\/dd>\n<dt id=\"suggestions%2C%20support%3F\"><h3>Suggestions, Support?<\/h3><\/dt>\n<dd><p>Please, open <a href=\"https:\/\/github.com\/EstebanForge\/HyperPress\/discussions\">a discussion<\/a>.<\/p><\/dd>\n<dt id=\"found%20a%20bug%20or%20error%3F\"><h3>Found a Bug or Error?<\/h3><\/dt>\n<dd><p>Please, open <a href=\"https:\/\/github.com\/EstebanForge\/HyperPress\/issues\">an issue<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><a href=\"https:\/\/github.com\/EstebanForge\/HyperPress\/blob\/master\/CHANGELOG.md\">Check the changelog at GitHub<\/a>.<\/p>","raw_excerpt":"Supercharge WordPress with Hypermedia. Build interactive blocks &amp; pages with Datastar, HTMX or Alpine Ajax\u2014all using simple PHP. No JS required.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/194352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=194352"}],"author":[{"embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tcattd"}],"wp:attachment":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=194352"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=194352"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=194352"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=194352"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=194352"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=194352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}