{"id":11068,"date":"2014-03-27T17:47:55","date_gmt":"2014-03-27T17:47:55","guid":{"rendered":"http:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/"},"modified":"2022-11-27T10:52:43","modified_gmt":"2022-11-27T10:52:43","slug":"bw_more","status":"publish","type":"oik_shortcodes","link":"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/","title":{"rendered":"bw_more <span class=\"summary\">&#8211; Hide remaining content behind &#8216;read more&#8217; button<\/span>"},"content":{"rendered":"\n<p>Hide remaining content behind a &#8216;read more&#8217; button.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Click on the read more button until you&#8217;ve read everything. Refresh the page to start again.<\/p>\n\n\n<p><div class=\"bw_read_more\" id=\"bw_more-1\"><span class=\"button art-button bw_button \" id=\"bw_more-1\">read more<\/span><div class=\"bw_more\" id=\"bw_more-1\"  style=\"display:none;\"><\/p>\n\n\n\n<p><strong>Note:<\/strong> You can style the read more link using CSS.<\/p>\n<p class=\"bw_code_live_example\">Live example<\/p><div class=\"bw_read_more\" id=\"bw_more-2\"><span class=\"button art-button bw_button \" id=\"bw_more-2\">read more<\/span><div class=\"bw_more\" id=\"bw_more-2\"  style=\"display:none;\"><p class=\"bw_code_snippet\">Snippet<\/p><p lang=\"HTML\" escaped=\"true\">&lt;div class=&quot;bw_read_more&quot; id=&quot;bw_more-3&quot;&gt;&lt;span class=&quot;button art-button bw_button &quot; id=&quot;bw_more-3&quot;&gt;read more&lt;\/span&gt;&lt;div class=&quot;bw_more&quot; id=&quot;bw_more-3&quot;  style=&quot;display:none;&quot;&gt;&lt;!&#8211; bw_more_end &#8211;&gt;&lt;\/div&gt;&lt;!&#8211; bw_more_end &#8211;&gt;&lt;\/div&gt;&lt;!&#8211; bw_more_end &#8211;&gt;&lt;\/div&gt;<\/p><p lang=\"HTML\" escaped=\"true\">&lt;script type=&quot;text\/javascript&quot;&gt;jQuery( function() { jQuery( &quot;div.bw_read_more#bw_more-1&quot; ).click( function() { jQuery(&quot;span.bw_button#bw_more-1&quot;).hide(  ); } ); });&lt;\/script&gt;&lt;script type=&quot;text\/javascript&quot;&gt;jQuery( function() { jQuery( &quot;div.bw_read_more#bw_more-1&quot; ).click( function() { jQuery(&quot;div.bw_more#bw_more-1&quot;).slideDown(  ); } ); });&lt;\/script&gt;&lt;script type=&quot;text\/javascript&quot;&gt;jQuery( function() { jQuery( &quot;div.bw_read_more#bw_more-2&quot; ).click( function() { jQuery(&quot;span.bw_button#bw_more-2&quot;).hide(  ); } ); });&lt;\/script&gt;&lt;script type=&quot;text\/javascript&quot;&gt;jQuery( function() { jQuery( &quot;div.bw_read_more#bw_more-2&quot; ).click( function() { jQuery(&quot;div.bw_more#bw_more-2&quot;).slideDown(  ); } ); });&lt;\/script&gt;&lt;script type=&quot;text\/javascript&quot;&gt;jQuery( function() { jQuery( &quot;div.bw_read_more#bw_more-3&quot; ).click( function() { jQuery(&quot;span.bw_button#bw_more-3&quot;).hide(  ); } ); });&lt;\/script&gt;&lt;script type=&quot;text\/javascript&quot;&gt;jQuery( function() { jQuery( &quot;div.bw_read_more#bw_more-3&quot; ).click( function() { jQuery(&quot;div.bw_more#bw_more-3&quot;).slideDown(  ); } ); });&lt;\/script&gt;<\/p>","protected":false},"author":3,"template":"","letters":[523],"class_list":{"0":"post-11068","1":"oik_shortcodes","2":"type-oik_shortcodes","3":"status-publish","5":"letters-b","6":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>bw_more - Hide remaining content behind &#039;read more&#039; button - [oik] plugins.com<\/title>\n<meta name=\"description\" content=\"Use the [bw_more] shortcode to hide remaining content behind a &#039;read more&#039; button.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"bw_more - Hide remaining content behind &#039;read more&#039; button - [oik] plugins.com\" \/>\n<meta property=\"og:description\" content=\"Use the [bw_more] shortcode to hide remaining content behind a &#039;read more&#039; button.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/\" \/>\n<meta property=\"og:site_name\" content=\"[oik] plugins.com\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-27T10:52:43+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/\",\"url\":\"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/\",\"name\":\"bw_more - Hide remaining content behind 'read more' button - [oik] plugins.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.oik-plugins.com\/#website\"},\"datePublished\":\"2014-03-27T17:47:55+00:00\",\"dateModified\":\"2022-11-27T10:52:43+00:00\",\"description\":\"Use the [bw_more] shortcode to hide remaining content behind a 'read more' button.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Shortcodes\",\"item\":\"https:\/\/www.oik-plugins.com\/oik_shortcodes\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"bw_more &#8211; Hide remaining content behind &#8216;read more&#8217; button\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.oik-plugins.com\/#website\",\"url\":\"https:\/\/www.oik-plugins.com\/\",\"name\":\"[oik] plugins.com\",\"description\":\"WordPress plugins and themes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.oik-plugins.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"bw_more - Hide remaining content behind 'read more' button - [oik] plugins.com","description":"Use the [bw_more] shortcode to hide remaining content behind a 'read more' button.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/","og_locale":"en_US","og_type":"article","og_title":"bw_more - Hide remaining content behind 'read more' button - [oik] plugins.com","og_description":"Use the [bw_more] shortcode to hide remaining content behind a 'read more' button.","og_url":"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/","og_site_name":"[oik] plugins.com","article_modified_time":"2022-11-27T10:52:43+00:00","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/","url":"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/","name":"bw_more - Hide remaining content behind 'read more' button - [oik] plugins.com","isPartOf":{"@id":"https:\/\/www.oik-plugins.com\/#website"},"datePublished":"2014-03-27T17:47:55+00:00","dateModified":"2022-11-27T10:52:43+00:00","description":"Use the [bw_more] shortcode to hide remaining content behind a 'read more' button.","breadcrumb":{"@id":"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.oik-plugins.com\/oik_shortcodes\/bw_more\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Shortcodes","item":"https:\/\/www.oik-plugins.com\/oik_shortcodes\/"},{"@type":"ListItem","position":2,"name":"bw_more &#8211; Hide remaining content behind &#8216;read more&#8217; button"}]},{"@type":"WebSite","@id":"https:\/\/www.oik-plugins.com\/#website","url":"https:\/\/www.oik-plugins.com\/","name":"[oik] plugins.com","description":"WordPress plugins and themes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oik-plugins.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/oik_shortcodes\/11068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/oik_shortcodes"}],"about":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/types\/oik_shortcodes"}],"author":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":1,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/oik_shortcodes\/11068\/revisions"}],"predecessor-version":[{"id":41280,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/oik_shortcodes\/11068\/revisions\/41280"}],"wp:attachment":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/media?parent=11068"}],"wp:term":[{"taxonomy":"letters","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/letters?post=11068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}