這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Module Positions

外掛說明

What does it do?

If you have a site with multiple subpages, you might have some positions in your template where you probably want to manage individual content (like a sidebar, a footer, a banner or whatever). The WordPress widgets can display content in specific widget-positions, but you can’t tell WordPress to only display your content on a certain page – That’s where my plugin comes in.

You can create different module positions, assign content and choose on which pages it will be shown. If you use WordPress as a CMS, this will be very helpful.

Create Module Positions

First, you can create different module positions. Rename these as you want. To put a module position in your template you can easily copy & paste the shortcode right next to the positions’s name. if you have already created content, you can drag and drop these around to change their order.

Create Content

Now, you can create content for your module positions. You can choose on which pages, categories or posts your content will be displayed. For this information your custom menus will be loaded (which are defined in your template).

If there are categories with posts in your custom menu, click the “+”-button to show them. You also can choose on which posts your content will be displayed here.

Define your HTML-markup

In the little metabox on the right side, you can simply define your HTML-markup. Try writing {{post_content}} for your content and {{post_title}} for your title – A list of all values can be found here. To reset your markup just click on “Reset”, that will load the standard markup (which can be changed on the settings page).

Settings

  • Change your standard HTML-markup. If you click on “Reset” in your moduleposition-posts, this will be loaded.
  • Change the order of posts in the drop-down menus of your categories. That may be useful if you have a lot of posts in a category and you want to find a special post.

Missing something? Send me an e-mail!

I’m open to new ideas! Write me: kontakt@philipp-kuehn.com

螢幕擷圖

  • Create Module Positions.
  • Create Content.
  • Choose on which pages your content will be shown.
  • Define your HTML-Markup.
  • Settings

安裝方式

  1. Upload the entire module-positions folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.

常見問題集

Coming soon…

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Module Positions〉的開發相關工作。

參與者

將〈Module Positions〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.6

  • Fixed: some errors

1.2.5

  • Fixed: some errors

1.2.4

  • Fixed: compatible to WordPress 3.8

1.2.3

  • Fixed: some errors

1.2.2

  • Fixed: compatible to WordPress 3.6

1.2.1

  • Fixed: set english as default language if local language is not supported

1.2

  • Added: a module positions widget – you now simply can use module positions in a sidebar
  • Added: WPML support
  • Added: an option to select (and deselect) all subpages with one click
  • Added: some descriptions
  • Fixed: some errors
  • Some visual changes

1.1

  • Added: special pages for selecting (404, search, archive, tag, author)
  • Added: show name of module positions in content list
  • Changed: set permalink for all custom post types of module positions to ‘/’
  • Changed: default visibility values are now “none” instead of “all”
  • Fixed: some errors
  • Code cleaning

1.0.1

  • Fixed: checkboxes are sometimes not visible
  • Fixed: error if the requested module position does not exist
  • Code cleaning