{"id":153197,"date":"2022-02-10T06:04:33","date_gmt":"2022-02-10T06:04:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-expand-lightweight-read-more-toggle\/"},"modified":"2026-05-03T21:05:19","modified_gmt":"2026-05-03T21:05:19","slug":"simple-expand","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/simple-expand\/","author":8857345,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3","stable_tag":"1.3","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Simple Expand - Lightweight Read more toggle","header_author":"jonashjalmarsson","header_description":"Add shortcode [expand] to add a read more toggle functionality, pure HTML\/CSS.","assets_banners_color":"f1ddb8","last_updated":"2026-05-03 21:05:19","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/jonashjalmarsson.se\/help-me-out\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/simple-expand","header_author_uri":"https:\/\/jonashjalmarsson.se","rating":0,"author_block_rating":0,"active_installs":50,"downloads":3832,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"jonas.hjalmarsson","date":"2022-02-10 06:46:08"},"1.0.1":{"tag":"1.0.1","author":"jonas.hjalmarsson","date":"2022-02-17 14:38:39"},"1.1":{"tag":"1.1","author":"jonas.hjalmarsson","date":"2023-02-15 12:44:27"},"1.3":{"tag":"1.3","author":"jonas.hjalmarsson","date":"2026-05-03 21:05:19"}},"upgrade_notice":{"1.3":"<p>Plugin Check compliance fixes (license header, ABSPATH check, style version). No functional changes.<\/p>","1.2":"<p>CSS class changed from <code>.expand<\/code> to <code>.jhse-expand<\/code>. Update any custom CSS targeting the old class name.<\/p>","1.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3521773,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3521773,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3521773,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3521773,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3521773,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3521773,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1","1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2676138,"resolution":"1","location":"assets","locale":"","width":700,"height":81},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2676138,"resolution":"2","location":"assets","locale":"","width":701,"height":296}},"screenshots":{"1":"Closed Simple Expand.","2":"Open Simple Expand with HTML inside."}},"plugin_section":[],"plugin_tags":[4557,2127,2448,80,2133],"plugin_category":[43],"plugin_contributors":[202990],"plugin_business_model":[],"class_list":["post-153197","plugin","type-plugin","status-publish","hentry","plugin_tags-details","plugin_tags-expand","plugin_tags-readmore","plugin_tags-shortcode","plugin_tags-toggle","plugin_category-customization","plugin_contributors-jonashjalmarsson","plugin_committers-jonashjalmarsson"],"banners":{"banner":"https:\/\/ps.w.org\/simple-expand\/assets\/banner-772x250.png?rev=3521773","banner_2x":"https:\/\/ps.w.org\/simple-expand\/assets\/banner-1544x500.png?rev=3521773","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-expand\/assets\/icon-128x128.png?rev=3521773","icon_2x":"https:\/\/ps.w.org\/simple-expand\/assets\/icon-256x256.png?rev=3521773","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-expand\/assets\/screenshot-1.png?rev=2676138","caption":"Closed Simple Expand."},{"src":"https:\/\/ps.w.org\/simple-expand\/assets\/screenshot-2.png?rev=2676138","caption":"Open Simple Expand with HTML inside."}],"raw_content":"<!--section=description-->\n<p>A single shortcode you can drop into any post, page, or text widget to get a click-to-expand \"read more\" toggle. The output is a native HTML <code>&lt;details&gt;<\/code> element styled with a small inline stylesheet \u2014 nothing else.<\/p>\n\n<p>The point is the absence of features. There is no settings page, no animation library, no editor block panel with twelve toggles. If you need a read-more on one paragraph in one post, you do not want a plugin that wants to manage your whole site.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>[expand title=\"My title\"]\nThe content goes here.\n&lt;img src=\"even-images-can-go-in-here.jpg\" \/&gt;\nAnd wrap up with a closing expand tag.\n[\/expand]\n<\/code><\/pre>\n\n<p>Supports a custom CSS class via <code>[expand class=\"my-class\"]<\/code> and works with WordPress oEmbeds and other shortcodes nested inside.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>\/simple-expand\/<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress.<\/li>\n<li>Place <code>[expand]<\/code> shortcodes in your posts or pages.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20work%20in%20the%20block%20editor%3F\"><h3>Does this work in the block editor?<\/h3><\/dt>\n<dd><p>Yes. The shortcode renders inside any paragraph or shortcode block.<\/p><\/dd>\n<dt id=\"can%20i%20style%20it%20myself%3F\"><h3>Can I style it myself?<\/h3><\/dt>\n<dd><p>Yes. Add your own CSS targeting <code>details.jhse-expand<\/code> (or pass <code>class=\"my-class\"<\/code> to the shortcode and target that).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added <code>License<\/code> header to plugin file (wp.org Plugin Check requirement).<\/li>\n<li>Added direct file access protection (<code>ABSPATH<\/code> check).<\/li>\n<li>Added explicit version to <code>wp_register_style()<\/code> call.<\/li>\n<li>Tested up to WordPress 6.9.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li><strong>Breaking:<\/strong> CSS class changed from <code>.expand<\/code> to <code>.jhse-expand<\/code>. If you have custom CSS targeting <code>.expand<\/code>, update it to <code>.jhse-expand<\/code>.<\/li>\n<li>Custom CSS class support via <code>[expand class=\"my-class\"]<\/code>.<\/li>\n<li>Use <code>wp_add_inline_style<\/code> instead of inline style tag.<\/li>\n<li>Removed duplicate iframe attributes.<\/li>\n<li>Fixed Plugin URI.<\/li>\n<li>Tested up to WordPress 6.7.<\/li>\n<li>Updated minimum PHP requirement to 7.4.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added support for YouTube and other iframe embeds inside expand tag (also WP built in embeds).<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added support for shortcode in expand tag.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Adds an [expand] shortcode that wraps content in a native HTML `` toggle. No JavaScript, no settings page, no bloat.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/153197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=153197"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jonashjalmarsson"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=153197"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=153197"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=153197"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=153197"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=153197"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=153197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}