{"id":334899,"date":"2026-08-02T09:59:18","date_gmt":"2026-08-02T09:59:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/pfadiheime\/"},"modified":"2026-08-02T09:59:06","modified_gmt":"2026-08-02T09:59:06","slug":"pfadiheime","status":"publish","type":"plugin","link":"https:\/\/bn-in.wordpress.org\/plugins\/pfadiheime\/","author":23526213,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.3","stable_tag":"1.0.3","tested":"7.0.2","requires":"6.1","requires_php":"7.4","requires_plugins":null,"header_name":"Pfadiheime","header_author":"Diego Steiner","header_description":"Blocks for the Pfadiheim-Verzeichnis (calendar embed and more).","assets_banners_color":"","last_updated":"2026-08-02 09:59:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":47,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"pfadiheime","date":"2026-08-02 09:59:06"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"pfadiheime\/calendar":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"pfadiheime\/calendar","version":"1.0.3","title":"Calendar","category":"embed","icon":"calendar","description":"Embed a calendar as an iframe by its ID.","keywords":["calendar","iframe","calendar","pfadiheim"],"textdomain":"pfadiheime","supports":{"html":false,"align":["wide","full"]},"attributes":{"id":{"type":"string","default":""},"locale":{"type":"string","default":"de"},"width":{"type":"string","default":"100%"},"height":{"type":"string","default":"600"},"months":{"type":"integer","default":12}},"editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","render":"file:.\/render.php"}},"tagged_versions":["1.0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[4121,416,230,1860,274226],"plugin_category":[40,56],"plugin_contributors":[274227],"plugin_business_model":[],"class_list":["post-334899","plugin","type-plugin","status-publish","hentry","plugin_tags-blocks","plugin_tags-calendar","plugin_tags-embed","plugin_tags-iframe","plugin_tags-pfadiheime","plugin_category-calendar-and-events","plugin_category-social-and-sharing","plugin_contributors-pfadiheime","plugin_committers-pfadiheime"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/pfadiheime.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin provides Gutenberg blocks for the Pfadiheim-Verzeichnis. Each block\nlives in its own folder under <code>build\/<\/code> and is auto-registered.<\/p>\n\n<h4>Calendar block<\/h4>\n\n<p>Embeds a calendar as an iframe. Each calendar is identified by an ID that is\ninserted into a URL template. Place it with the \"Calendar\" block or the\n    [pfadiheime_calendar] shortcode, and set the locale, month count and iframe\nsize in the block sidebar (or as shortcode attributes).<\/p>\n\n<h3>Source Code<\/h3>\n\n<p>The source code for this plugin is publicly available at: https:\/\/github.com\/diegosteiner\/pfadiheime-wp-plugin\/<\/p>\n\n<h3>Configuration<\/h3>\n\n<p>The URL template is read from the <code>PFADIHEIME_CALENDAR_TEMPLATE_URL<\/code> environment\nvariable. When unset, it defaults to:<\/p>\n\n<pre><code>https:\/\/pfadiheime.ch\/{locale}\/cottages\/{id}\/occupancies\/calendar?months={months}\n<\/code><\/pre>\n\n<p>Placeholders replaced when building the iframe URL:<\/p>\n\n<ul>\n<li><code>{id}<\/code> \u2014 the calendar ID.<\/li>\n<li><code>{locale}<\/code> \u2014 the chosen locale (<code>de<\/code>, <code>fr<\/code> or <code>it<\/code>).<\/li>\n<li><code>{months}<\/code> \u2014 the number of months to display.<\/li>\n<\/ul>\n\n<h4>Calendar shortcode<\/h4>\n\n<pre><code>[pfadiheime_calendar id=\"123\" locale=\"de\" months=\"12\" width=\"100%\" height=\"600\"]\n<\/code><\/pre>\n\n<ul>\n<li><code>id<\/code> \u2014 the calendar ID (required).<\/li>\n<li><code>locale<\/code> \u2014 <code>de<\/code>, <code>fr<\/code> or <code>it<\/code>. Invalid values fall back to <code>de<\/code>. Default <code>de<\/code>.<\/li>\n<li><code>months<\/code> \u2014 number of months to display (integer, minimum 1). Default <code>12<\/code>.<\/li>\n<li><code>width<\/code> \u2014 CSS width, e.g. <code>100%<\/code> or <code>800<\/code>. Default <code>100%<\/code>.<\/li>\n<li><code>height<\/code> \u2014 CSS height, e.g. <code>600<\/code> or <code>75vh<\/code>. Default <code>600<\/code>.<\/li>\n<\/ul>\n\n<h3>Build<\/h3>\n\n<p>The plugin uses the official WordPress scripts to build the minified javascript. Run <code>npm build<\/code> to \nbuild what needs to be built into the <em>dist\/<\/em> folder.<\/p>\n\n<h3>Adding a new block<\/h3>\n\n<p>Create a folder under <code>src\/&lt;block-name&gt;\/<\/code> with its own <code>block.json<\/code> (and a\n    render.php for dynamic blocks). Run <code>npm run build<\/code>; the plugin auto-registers\nevery block found in <code>build\/<\/code>. Note: <code>build\/<\/code> is generated (not committed), so\nrun <code>npm install &amp;&amp; npm run build<\/code> after checkout.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/pfadiheime\/<\/code>, or install the\nzip via Plugins \u2192 Add New \u2192 Upload Plugin.<\/li>\n<li>Activate \"Pfadiheime\" through the Plugins screen in WordPress.<\/li>\n<li>Add the \"Calendar\" block to a page, or use the <code>[pfadiheime_calendar]<\/code>\nshortcode.<\/li>\n<li>Optionally set the <code>PFADIHEIME_CALENDAR_TEMPLATE_URL<\/code> environment variable to\noverride the default calendar URL template (see Configuration).<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: Pfadiheime plugin with the \"Calendar\" block and shortcode.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Tested with WordPress 7.0<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix automated review issues<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Add public repo url<\/li>\n<\/ul>","raw_excerpt":"Gutenberg blocks for the Pfadiheim-Verzeichnis. Ships with a calendar embed block; more blocks can be added.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/334899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=334899"}],"author":[{"embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pfadiheime"}],"wp:attachment":[{"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=334899"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=334899"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=334899"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=334899"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=334899"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bn-in.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=334899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}