Title: MAS Static Content
Author: MadrasThemes
Published: <strong>2019 年 4 月 1 日</strong>
Last modified: 2025 年 11 月 3 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/mas-static-content/assets/icon-256x256.jpg?rev=3026888)

# MAS Static Content

 作者：[MadrasThemes](https://profiles.wordpress.org/madrasthemes/)

[下载](https://downloads.wordpress.org/plugin/mas-static-content.1.1.2.zip)

 * [详情](https://cn.wordpress.org/plugins/mas-static-content/#description)
 * [评价](https://cn.wordpress.org/plugins/mas-static-content/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/mas-static-content/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/mas-static-content/#developers)

 [支持](https://wordpress.org/support/plugin/mas-static-content/)

## 描述

MAS Static Content is a free plugin that allows you to to create a custom post type
static content and use it with shortcode.

Use the `[mas_static_content]` 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.

## 屏幕截图

[⌊Static Contents admin.⌉⌊Static Contents admin.⌉[

Static Contents admin.

## 区块

该插件提供了 1 个区块.

 *   MegaMenu

## 安装

#### Minimum Requirements

 * PHP version 7.4 or greater (PHP 8.3 or greater is recommended)

#### Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers
itself and you don’t 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.

In the search field type “MAS Static Content” and click Search Plugins. Once you’ve
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“
Install Now”.

#### Manual installation

The manual installation method involves downloading our plugin and uploading it 
to your webserver via your favourite FTP application. The WordPress codex contains
[instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

#### Updating

Automatic updates should work like a charm; as always though, ensure you backup 
your site just in case.

## 常见问题

### Will MAS Static Content work with my theme?

Yes; MAS Static Content will work with any theme.

### How can I use ACF field shortcode inside static content?

Here is how you use the ACF field shortcode from the calling post inside the static
content: `[acf field="author" post_id="inherit"]`

### Where can I report bugs or contribute to the project?

Bugs can be reported either in our support forum or preferably on the [MAS Static Content GitHub repository](https://github.com/madrasthemes/mas-static-content/issues).

### Can I contribute?

Yes you can! Join in on our [GitHub repository](https://github.com/madrasthemes/mas-static-content/)
🙂

## 评价

![](https://secure.gravatar.com/avatar/cc7a65d3a68881aa815bbf9864314d39d891ee7599aa3f36f2cd05f02c71193a?
s=60&d=retro&r=g)

### 󠀁[Great plugin, working with PHP8](https://wordpress.org/support/topic/great-plugin-working-with-php8/)󠁿

 [petrj](https://profiles.wordpress.org/petrj/) 2023 年 6 月 28 日

I was looking for alternative to Static block plugin, which has some issues with
new PHP8. This plugin works great!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/mas-static-content/reviews/)

## 贡献者及开发者

「MAS Static Content」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ MadrasThemes ](https://profiles.wordpress.org/madrasthemes/)

「MAS Static Content」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/mas-static-content/contributors)
为本插件所做的贡献。

[帮助将「MAS Static Content」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mas-static-content)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/mas-static-content/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/mas-static-content/)，或通过[RSS](https://plugins.trac.wordpress.org/log/mas-static-content/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/mas-static-content/)。

## 更新日志

#### 1.1.1 – 2025-10-23

 * Feature – Added Static Content Megamenu Block in the navigation menu.

#### 1.1.0 – 2025-10-16

 * Feature – Added Static Content Block

#### 1.0.9 – 2024-09-14

 * Fix – Issue related to reading private shortcodes
 * Feature – Compatible with WordPress 6.6.x

#### 1.0.8 – 2024-02-05

 * Compatible with WordPress 6.4.x

#### 1.0.7 – 2024-02-05

 * Feature – Support for ACF shortcodes

#### 1.0.6 – 2024-01-25

 * Tested with PHP 8.2

#### 1.0.5 – 2023-04-13

 * Compatible with WordPress 6.2

#### 1.0.4 – 2021-03-29

 * Tested PHP version upto 5.7

#### 1.0.3 – 2020-09-30

 * Enhancement – Shortcode column added in admin panel

#### 1.0.2 – 2020-01-31

 * Enhancement – Category taxonomy added

#### 1.0.1 – 2019-10-23

 * Tweak – [mas_static_content] shortcode updated

#### 1.0.0 – 2019-04-01

 * Initial Release

## 额外信息

 *  版本 **1.1.2**
 *  最后更新：**7 月前**
 *  活跃安装数量 **10,000+**
 *  WordPress 版本 ** 6.7 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/mas-static-content/) 和 [Swedish](https://sv.wordpress.org/plugins/mas-static-content/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/mas-static-content)
 * 标签
 * [cpt](https://cn.wordpress.org/plugins/tags/cpt/)[megamenu](https://cn.wordpress.org/plugins/tags/megamenu/)
 *  [高级视图](https://cn.wordpress.org/plugins/mas-static-content/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/mas-static-content/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/mas-static-content/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/mas-static-content/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/mas-static-content/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/mas-static-content/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mas-static-content/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/mas-static-content/reviews/)

## 贡献者

 *   [ MadrasThemes ](https://profiles.wordpress.org/madrasthemes/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/mas-static-content/)