{"id":199192,"date":"2024-08-14T09:28:30","date_gmt":"2024-08-14T09:28:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/mher-list-subpages\/"},"modified":"2024-08-16T07:14:21","modified_gmt":"2024-08-16T07:14:21","slug":"mher-list-subpages","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/mher-list-subpages\/","author":12787995,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"6.6.5","requires":"6.5","requires_php":"8.0","requires_plugins":null,"header_name":"mher list Subpages","header_author":"Michael H.E. Roth","header_description":"Creates a list of subpages with featured image, title and the content of the blocks named 'teaser' or any other name provided in the shortcode","assets_banners_color":"524692","last_updated":"2024-08-16 07:14:21","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ko-fi.com\/mher30","header_plugin_uri":"https:\/\/mher.de\/mher-list-subpages","header_author_uri":"https:\/\/mher.de","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1052,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","faq","changelog","description"],"tags":{"1.0.0":{"tag":"1.0.0","author":"mher30","date":"2024-08-14 09:29:22"},"1.0.1":{"tag":"1.0.1","author":"mher30","date":"2024-08-16 07:14:21"}},"upgrade_notice":{"1.0.1":"<p>Minor Bugfix<\/p>","1.0.0":"<p>Initial release<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3135420,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3135420,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3135420,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3135420,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3135420,"resolution":"1","location":"assets","locale":"","width":2529,"height":1193},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3135420,"resolution":"2","location":"assets","locale":"","width":590,"height":510}},"screenshots":{"1":"The Options Configuration Page","2":"The Default Output in the Frontend"}},"plugin_section":[],"plugin_tags":[230656],"plugin_category":[],"plugin_contributors":[230657],"plugin_business_model":[],"class_list":["post-199192","plugin","type-plugin","status-publish","hentry","plugin_tags-page-subpages-navigation-shortcode","plugin_contributors-mher30","plugin_committers-mher30"],"banners":{"banner":"https:\/\/ps.w.org\/mher-list-subpages\/assets\/banner-772x250.png?rev=3135420","banner_2x":"https:\/\/ps.w.org\/mher-list-subpages\/assets\/banner-1544x500.png?rev=3135420","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/mher-list-subpages\/assets\/icon-128x128.png?rev=3135420","icon_2x":"https:\/\/ps.w.org\/mher-list-subpages\/assets\/icon-256x256.png?rev=3135420","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/mher-list-subpages\/assets\/screenshot-1.png?rev=3135420","caption":"The Options Configuration Page"},{"src":"https:\/\/ps.w.org\/mher-list-subpages\/assets\/screenshot-2.png?rev=3135420","caption":"The Default Output in the Frontend"}],"raw_content":"<!--section=installation-->\n<p>Starting with <strong>mher list Subpages<\/strong> is very simple and if you've ever installed a plugin you know the drill:<\/p>\n\n<h4>Install mher list Subpages from within Wordpress<\/h4>\n\n<ol>\n<li>Visit the plugins page within your dashboard and select 'Add New'<\/li>\n<li>Seach for 'mher list Subpages'<\/li>\n<li>Select install<\/li>\n<li>Continue with 'After Installation' below<\/li>\n<\/ol>\n\n<h4>Install mher list Subpages manually<\/h4>\n\n<ol>\n<li>Upload the 'mher-list-subpages' folder to the \/wp-content\/plugins\/ directory<\/li>\n<li>Continue with 'After Installation' below<\/li>\n<\/ol>\n\n<h4>After Installation<\/h4>\n\n<ol>\n<li>Activate <strong>mher list Subpages<\/strong> from your Plugins page<\/li>\n<li>Use the shortcode <code>[mher_subpages]<\/code> in your pages (with subpages)<\/li>\n<li>Visit the Configuration Page to set up options<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20can%20i%20avoid%20that%20any%20blocks%20are%20shown%3F'><h3>How can I avoid that any blocks are shown?<\/h3><\/dt>\n<dd><p>There are actually two ways to accomplish this: a) explicitly set <code>blocks_named=-<\/code> b) create your own template and don't use the <code>{{ blocks }}<\/code> placeholder<\/p><\/dd>\n<dt id='why%20does%20the%20sequence%20not%20reflect%20the%20sequence%20of%20the%20pages%20in%20my%20menu%3F'><h3>Why does the sequence not reflect the sequence of the pages in my menu?<\/h3><\/dt>\n<dd><p>You have to change the sequence of the pages within their parent page to match the sequence of your menu.<\/p><\/dd>\n<dt id='how%20can%20i%20change%20the%20sequence%3F'><h3>How can I change the sequence?<\/h3><\/dt>\n<dd><p>Currently only by changing the sequence of the pages within their parent page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<p>Minor Bugfix<\/p>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>Lists the subpages of the current page with multiple options, including defining your own templates for the listings<\/p>\n\n<h3>Configurable Settings<\/h3>\n\n<ul>\n<li>Default Fallback image in case the subpage does not have a featured image and on shortcode level no fallback image has been set<\/li>\n<li>Custom html-templates for listing the subpages\n\n<ul>\n<li>accessable via number or name<\/li>\n<li>placeholders to use in the templates\n\n<ul>\n<li><code>{{ url }}<\/code> - url of the subpage<\/li>\n<li><code>{{ title }}<\/code> - title of the subpage<\/li>\n<li><code>{{ img }}<\/code> - html-code for the featured image of the subpage<\/li>\n<li><code>{{ img_url }}<\/code> - just the url of the featured image of the subpage<\/li>\n<li><code>{{ blocks }}<\/code> - the via name selected blocks of the subpage<\/li>\n<\/ul><\/li>\n<li>For security reasons no javascript is allowed in the user defined templates and will be silently removed after rendering.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h3>Shortcode Options<\/h3>\n\n<ul>\n<li><code>template=<\/code>     - either the number or the name of the custom template<\/li>\n<li><code>blocks_named=<\/code> - fetches and renders all blocks of the corresponding subpage and replaces {{ blocks }} in the selected template - default for blocks_named: teaser - to make sure no blocks are used, use the dash, like: <em>blocks=-<\/em><\/li>\n<li><code>image_id=<\/code>     - id of an image in the media library to be used as a fallback image in case a subpage does not have a featured image<\/li>\n<li><code>image_size=<\/code>   - any registered image size possible - default: thumbnail<\/li>\n<li><code>list=<\/code>         - a comma-separated list of page-ids that should be listed INSTEAD of the subpages of the current page (combinable with <em>include=<\/em> and <em>exclude=<\/em> even though this does not make much sense)<\/li>\n<li><code>exclude=<\/code>      - a comma-separated list of page-ids that should NOT be listed<\/li>\n<li><code>prepend=<\/code>      - a comma-separated list of page-ids that should be listed before the subpages (combinable with <code>exclude=<\/code> and <code>append=<\/code> and even <code>list=<\/code>, although this makes little sense)<\/li>\n<li><code>append=<\/code>      - a comma-separated list of page-ids that should be listed after the subpages (combinable with <code>exclude=<\/code> and <code>prepend=<\/code> and even <code>list=<\/code>, although this makes little sense)<\/li>\n<\/ul>\n\n<p>Subpages, that do not have blocks, i.e. \"classic\" pages, and subpages that do not have blocks with the given name, will be shown without content.<\/p>","raw_excerpt":"Lists the subpages of the current page with multiple options, including defining your own templates for the listings","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/199192","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=199192"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mher30"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=199192"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=199192"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=199192"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=199192"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=199192"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=199192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}