{"id":100406,"date":"2019-04-01T11:45:37","date_gmt":"2019-04-01T11:45:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/mas-static-blocks\/"},"modified":"2026-09-30T07:51:05","modified_gmt":"2026-09-30T07:51:05","slug":"mas-static-content","status":"publish","type":"plugin","link":"https:\/\/mn.wordpress.org\/plugins\/mas-static-content\/","author":17010915,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.3","stable_tag":"1.1.3","tested":"7.1.2","requires":"7.1","requires_php":"7.4","requires_plugins":null,"header_name":"MAS Static Content","header_author":"MadrasThemes","header_description":"This plugin helps to create a CPT static blocks and use it using shortcode.","assets_banners_color":"","last_updated":"2026-09-30 07:51:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/madrasthemes\/mas-static-content","header_author_uri":"https:\/\/madrasthemes.com\/","rating":5,"author_block_rating":0,"active_installs":10000,"downloads":393477,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"farookibrahim","date":"2019-11-13 10:56:38","revision":2191551},"1.0.1":{"tag":"1.0.1","author":"farookibrahim","date":"2019-11-13 10:56:38","revision":2191551},"1.0.2":{"tag":"1.0.2","author":"farookibrahim","date":"2020-04-02 10:06:35","revision":2273765},"1.0.3":{"tag":"1.0.3","author":"yousufansa","date":"2020-12-17 14:06:26","revision":2441574},"1.0.4":{"tag":"1.0.4","author":"madrasthemes","date":"2021-03-29 13:23:22","revision":2505255},"1.0.5":{"tag":"1.0.5","author":"madrasthemes","date":"2023-04-13 10:31:20","revision":2898438},"1.0.6":{"tag":"1.0.6","author":"madrasthemes","date":"2024-01-25 16:01:54","revision":3026888},"1.0.7":{"tag":"1.0.7","author":"madrasthemes","date":"2024-02-05 13:12:16","revision":3031642},"1.0.8":{"tag":"1.0.8","author":"madrasthemes","date":"2024-02-05 13:16:53","revision":3031644},"1.0.9":{"tag":"1.0.9","author":"madrasthemes","date":"2024-09-14 07:01:20","revision":3151679},"1.1.0":{"tag":"1.1.0","author":"madrasthemes","date":"2025-10-16 05:51:25","revision":3379227},"1.1.1":{"tag":"1.1.1","author":"madrasthemes","date":"2025-10-23 08:05:08","revision":3383144},"1.1.2":{"tag":"1.1.2","author":"madrasthemes","date":"2025-11-03 10:36:42","revision":3388766},"1.1.3":{"tag":"1.1.3","author":"madrasthemes","date":"2026-09-30 07:51:05","revision":3720582}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3026888,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3026888,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"mas-static-content\/navigation-static-content":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"mas-static-content\/navigation-static-content","title":"MegaMenu","category":"widgets","icon":"screenoptions","description":"Displays a static content inside the navigation menu.","parent":["core\/navigation","core\/navigation-submenu"],"attributes":{"staticContentId":{"type":"integer"}},"supports":{"inserter":true,"html":false},"textdomain":"mas-static-content","editorScript":"file:.\/index.js"}},"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.2","1.1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3026888,"resolution":"1","location":"assets","locale":"","width":1744,"height":1738}},"screenshots":{"1":"Static Contents admin."}},"plugin_section":[],"plugin_tags":[2007,6277,249602],"plugin_category":[],"plugin_contributors":[169781],"plugin_business_model":[],"class_list":["post-100406","plugin","type-plugin","status-publish","hentry","plugin_tags-cpt","plugin_tags-megamenu","plugin_tags-static-content","plugin_contributors-madrasthemes","plugin_committers-farookibrahim","plugin_committers-madrasthemes","plugin_committers-yousufansa"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/mas-static-content\/assets\/icon-128x128.jpg?rev=3026888","icon_2x":"https:\/\/ps.w.org\/mas-static-content\/assets\/icon-256x256.jpg?rev=3026888","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/mas-static-content\/assets\/screenshot-1.png?rev=3026888","caption":"Static Contents admin."}],"raw_content":"<!--section=description-->\n<p>MAS Static Content is a free plugin that allows you to to create a custom post type static content and use it with shortcode.<\/p>\n\n<p>Use the <code>[mas_static_content]<\/code> shortcode with id attribute to display static content. You can also add class attribute for wrapper class so you can modify the specific output with custom CSS.<\/p>\n\n<!--section=installation-->\n<h4>Minimum Requirements<\/h4>\n\n<ul>\n<li>PHP version 7.4 or greater (PHP 8.3 or greater is recommended)<\/li>\n<\/ul>\n\n<h4>Automatic installation<\/h4>\n\n<p>Automatic installation is the easiest option as WordPress handles the file transfers itself and you don\u2019t need to leave your web browser. To do an automatic install of MAS Static Content, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.<\/p>\n\n<p>In the search field type \u201cMAS Static Content\u201d and click Search Plugins. Once you\u2019ve found our plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking \u201cInstall Now\u201d.<\/p>\n\n<h4>Manual installation<\/h4>\n\n<p>The manual installation method involves downloading our plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains <a href=\"https:\/\/codex.wordpress.org\/Managing_Plugins#Manual_Plugin_Installation\">instructions on how to do this here<\/a>.<\/p>\n\n<h4>Updating<\/h4>\n\n<p>Automatic updates should work like a charm; as always though, ensure you backup your site just in case.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"will%20mas%20static%20content%20work%20with%20my%20theme%3F\"><h3>Will MAS Static Content work with my theme?<\/h3><\/dt>\n<dd><p>Yes; MAS Static Content will work with any theme.<\/p><\/dd>\n<dt id=\"how%20can%20i%20use%20acf%20field%20shortcode%20inside%20static%20content%3F\"><h3>How can I use ACF field shortcode inside static content?<\/h3><\/dt>\n<dd><p>Here is how you use the ACF field shortcode from the calling post inside the static content: <code>[acf field=\"author\" post_id=\"inherit\"]<\/code><\/p><\/dd>\n<dt id=\"where%20can%20i%20report%20bugs%20or%20contribute%20to%20the%20project%3F\"><h3>Where can I report bugs or contribute to the project?<\/h3><\/dt>\n<dd><p>Bugs can be reported either in our support forum or preferably on the <a href=\"https:\/\/github.com\/madrasthemes\/mas-static-content\/issues\">MAS Static Content GitHub repository<\/a>.<\/p><\/dd>\n<dt id=\"can%20i%20contribute%3F\"><h3>Can I contribute?<\/h3><\/dt>\n<dd><p>Yes you can! Join in on our <a href=\"https:\/\/github.com\/madrasthemes\/mas-static-content\/\">GitHub repository<\/a> :)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.3 - 2026-09-30<\/h4>\n\n<ul>\n<li>Fix - PHP warning \"Attempt to read property \"ID\" on null\" when the shortcode is used where there is no global post, such as 404 pages, headers and megamenus.<\/li>\n<li>Fix - MegaMenu block crashing in the editor while static contents are loading.<\/li>\n<li>Fix - MegaMenu block displaying private, draft and password-protected static contents to visitors.<\/li>\n<li>Tweak - MegaMenu block registered from block.json using block API version 3.<\/li>\n<li>Tweak - Requires WordPress 7.1. Tested up to WordPress 7.1 and PHP 8.5.<\/li>\n<li>Dev - Updated development dependencies.<\/li>\n<\/ul>\n\n<h4>1.1.2 - 2025-11-03<\/h4>\n\n<ul>\n<li>Fix - Static content select issue in the MegaMenu block.<\/li>\n<\/ul>\n\n<h4>1.1.1 - 2025-10-23<\/h4>\n\n<ul>\n<li>Feature - Added Static Content Megamenu Block in the navigation menu.<\/li>\n<\/ul>\n\n<h4>1.1.0 - 2025-10-16<\/h4>\n\n<ul>\n<li>Feature - Added Static Content Block <\/li>\n<\/ul>\n\n<h4>1.0.9 - 2024-09-14<\/h4>\n\n<ul>\n<li>Fix - Issue related to reading private shortcodes<\/li>\n<li>Feature - Compatible with WordPress 6.6.x<\/li>\n<\/ul>\n\n<h4>1.0.8 - 2024-02-05<\/h4>\n\n<ul>\n<li>Compatible with WordPress 6.4.x<\/li>\n<\/ul>\n\n<h4>1.0.7 - 2024-02-05<\/h4>\n\n<ul>\n<li>Feature - Support for ACF shortcodes<\/li>\n<\/ul>\n\n<h4>1.0.6 - 2024-01-25<\/h4>\n\n<ul>\n<li>Tested with PHP 8.2<\/li>\n<\/ul>\n\n<h4>1.0.5 - 2023-04-13<\/h4>\n\n<ul>\n<li>Compatible with WordPress 6.2<\/li>\n<\/ul>\n\n<h4>1.0.4 - 2021-03-29<\/h4>\n\n<ul>\n<li>Tested PHP version upto 5.7<\/li>\n<\/ul>\n\n<h4>1.0.3 - 2020-09-30<\/h4>\n\n<ul>\n<li>Enhancement \u2013 Shortcode column added in admin panel<\/li>\n<\/ul>\n\n<h4>1.0.2 - 2020-01-31<\/h4>\n\n<ul>\n<li>Enhancement \u2013 Category taxonomy added<\/li>\n<\/ul>\n\n<h4>1.0.1 - 2019-10-23<\/h4>\n\n<ul>\n<li>Tweak \u2013 [mas_static_content] shortcode updated<\/li>\n<\/ul>\n\n<h4>1.0.0 - 2019-04-01<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"MAS Static Content is a free plugin that allows you to to create a custom post type static content and use it with shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/100406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=100406"}],"author":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/madrasthemes"}],"wp:attachment":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=100406"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=100406"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=100406"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=100406"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=100406"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=100406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}