Title: Atom Builder
Author: Vincent Dubroeucq
Published: <strong>2017 年 12 月 1 日</strong>
Last modified: 2019 年 12 月 19 日

---

搜尋外掛

![](https://ps.w.org/atom-builder/assets/banner-772x250.png?rev=1779344)

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

![](https://ps.w.org/atom-builder/assets/icon-128x128.png?rev=1779344)

# Atom Builder

 由 [Vincent Dubroeucq](https://profiles.wordpress.org/vincentdubroeucq/) 開發

[下載](https://downloads.wordpress.org/plugin/atom-builder.1.0.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/atom-builder/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/atom-builder/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/atom-builder/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/atom-builder/#developers)

 [技術支援](https://wordpress.org/support/plugin/atom-builder/)

## 外掛說明

This plugin simply allows you to build your page content with widgets instead of
using the default page layout for your theme.

**Using the Atom Builder**

By default, only basic pages are supported. It basically registers a widget area
for all of your pages.
 To avoir cluttering the admin area, the newly registered
widget areas do not appear alongside your theme’s standard ones, and you have to
access them directly in the customizer. To see it in action : * Just visit any page
on your site while logged in, and click the ‘Customize’ link. * In the Customizer
panel, click on ‘Widgets’ and you should see a widget area registered for your page.*
Just use the widgets you need to build your page content.

This plugin provides you with 3 additional widgets to help you build your page with
interesting content and layout: Atom Builder Page, Atom Builder Post, and Atom Builder
Posts widgets.
 These basic widgets will probably get a bit more complex and have
more options in the future, and a few more custom widgets will be added later, but
that’s a start.

**Adding theme support for the Atom Builder**

By default, the Atom Builder replaces your page content using ‘the_content’ filter.
That means any markup you have before, such as the title for example, will be kept.

Only your content as it appears in the editor in the admin area is replaced.

If you want to replace the whole content for your page, you’ll have to tweak your
theme’s code a little bit.

 * Add theme support for the Atom builder in your child theme’s functions.php file
   by simply adding this snippet.
 * `
    add_action( ‘after_setup_theme’, ‘mythemeprefix_add_atom_builder_support’ );/**
    - Add theme support for the Atom Builder
    - This deactivate the basic filter on the_content.
    - Just replace your get_template_part() call in page.php with atom_builder_get_template_part()
      to replace your whole page content template with registered widgets.
       **/ 
      function mythemeprefix_add_atom_builder_support(){ add_theme_support( ‘atom-
      builder’ ); } `
 * Duplicate the page.php template from your theme in your child theme’s folder.
 * Replace the `get_template_part()` function call with `atom_builder_get_template_part()`,
   with the same parameters. (Basically all you need to do is prefix it.)
 * Now everything should work fine. Your whole template is replaced with widgets
   now, not just your content.

## 螢幕擷圖

[⌊Once the plugin is activated, you'll get three new widgets. Registered widget 
areas for your pages won't appear.⌉⌊Once the plugin is activated, you'll get three
new widgets. Registered widget areas for your pages won't appear.⌉[

Once the plugin is activated, you’ll get three new widgets. Registered widget areas
for your pages won’t appear.

[⌊Visit a basic page on the front end of your site, and open up the customizer to
see a new widget area registered for your page.⌉⌊Visit a basic page on the front
end of your site, and open up the customizer to see a new widget area registered
for your page.⌉[

Visit a basic page on the front end of your site, and open up the customizer to 
see a new widget area registered for your page.

[⌊Use the provided widgets or any other widget to build your page layout and content!⌉⌊
Use the provided widgets or any other widget to build your page layout and content
!⌉[

Use the provided widgets or any other widget to build your page layout and content!

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/atom-builder` directory, or
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. That’s it ! Edit your pages in the customizer and add widgets to your page to see
    it in action !

## 常見問題集

  Does the Atom Builder supports custom post types ?

Not yet. By default, it only works with basic pages. But there’s a hook for that!
Developper documentation is in writing, don’t worry.
 Have a look in the `init-functions.
php` file in the `inc/` folder to see how it works.

  Do you plan on releasing other widgets ?

Of course ! The three widgets included are just a start.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Vincent Dubroeucq ](https://profiles.wordpress.org/vincentdubroeucq/)

[將〈Atom Builder〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/atom-builder)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/atom-builder/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/atom-builder/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/atom-builder/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/atom-builder/)。

## 變更記錄

#### 1.0.0

 * Tested with WordPress 5.0.1

#### 1.0

 * Initial release

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **7 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 4.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.3.21**
 *  語言
 * [English (US)](https://wordpress.org/plugins/atom-builder/)
 * 標籤:
 * [sidebar](https://tw.wordpress.org/plugins/tags/sidebar/)[widget](https://tw.wordpress.org/plugins/tags/widget/)
   [widget area](https://tw.wordpress.org/plugins/tags/widget-area/)[widgets](https://tw.wordpress.org/plugins/tags/widgets/)
   [widgets area](https://tw.wordpress.org/plugins/tags/widgets-area/)
 *  [進階檢視](https://tw.wordpress.org/plugins/atom-builder/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/atom-builder/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/atom-builder/reviews/)

## 參與者

 *   [ Vincent Dubroeucq ](https://profiles.wordpress.org/vincentdubroeucq/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/atom-builder/)