Title: 4bzCore
Author: 4bzthemes
Published: <strong>2015 年 5 月 14 日</strong>
Last modified: 2015 年 9 月 14 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/4bzcore.svg)

# 4bzCore

 由 [4bzthemes](https://profiles.wordpress.org/4bzthemes/) 開發

[下載](https://downloads.wordpress.org/plugin/4bzcore.1.0.5.zip)

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

 [技術支援](https://wordpress.org/support/plugin/4bzcore/)

## 外掛說明

A collection of shortcodes, widgets, a shortcode builder, multiple featured images,
a related posts module, video and audio embed options, and extra fields for the 
user profile form. Includes Recent Posts, Featured Posts, Popular Posts, Related
Posts, Image Text, Progressbars, Flexslider Slideshow, Contact Info, Contact Form,
Flickr Photos, Facebook Comments, Author Bio, and Column shortcodes and widgets.

This plugin provides filters for theme and plugin authors to override or augment
the default shortcodes and widgets’ options, display, and description. 4bzthemes
recommends the 4bzCore plugin for all of their themes.

You can find [docs](http://4bzthemes.com/knowledgebase/), and more detailed information
on [4bzthemes.com](http://4bzthemes.com/plugin/4bzcore).

If you have any questions about 4bzCore, consult the following in this order:

 1. [Docs](http://4bzthemes.com/knowledgebase/
 2. [Support Forum] (https://wordpress.org/support/plugin/4bzcore) on WordPress.org.

### Translators

4bzCore needs translations. If you have created or updated a language pack, you 
can send [gettext PO and MO files](https://codex.wordpress.org/Translating_WordPress)
to [4bzthemes](http://4bzthemes.com/about/) so that it can be bundled into the plugin.

### Report a bug

You can report any bugs through the [Support Forum](https://wordpress.org/support/plugin/4bzcore)
on WordPress.org.

### Credits

## 安裝方式

The plugin is available for download from the WordPress.org repository. Here are
two ways to install the plugin:

#### Upload a saved zip file

Navigate to Plugins from the admin sidebar, click the “Add New” button.
 Click the“
Upload Plugin” button, click the “Choose File” button, navigate to the location 
where you saved the plugin, click Open, then click the “Install Now” button. Activate
the plugin.

#### Search for the plugin

Navigate to Plugins from the admin sidebar, click the “Add New” button.
 Enter the
plugin’s name in the search box and press enter on your keyboard. The search results
will be displayed below, find the plugin and click the “Install Now” button. Activate
the plugin.

## 常見問題集

If you have any questions about 4bzCore, consult the following in this order:

 1. [Docs](http://4bzthemes.com/knowledgebase/)
 2. [Support Forum] (https://wordpress.org/support/plugin/4bzcore) on WordPress.org.

  How do I display multiple featured images in a theme that doesn’t natively support
this plugin?

4bzCore provides a function to retrieve the post meta data, which includes the featured
images, video/audio embed, and the related posts ids. Here is the suggested code
to use:

    ```
    global $fourbzcore_plugin;
    if ( isset( $fourbzcore_plugin ) && method_exists( $fourbzcore_plugin, 'get_post_meta' ) ) {
        $your_variable = $fourbzcore_plugin->get_post_meta( $post_id /* optional */ );
    }
    ```

Here is the structure of the array:

    ```
    array( 
        // featured images.
        'media' => array(
            array (
                'url' => string,
                'alt_text' => string,
                'width' => int,
                'height' => int,
            )
        ),
        // video/audio iframe embed code.
        'media_embed' => array (
            'code' => string,
        ),
        // related posts ids.
        'related' => string,
    )
    ```

Note that the default wordpress featured image is not included in this array. You
have to retrieve this through wordpress functions, such as get_the_post_thumbnail.

  How do I display the extra user profile fields in a theme that doesn’t natively
support this plugin?

4bzCore provides a function to retrieve the user meta data, which includes the user
avatar, title, address, phone number, social share links, and skills. Here is the
suggested code to use:
 global $fourbzcore_plugin; if ( isset( $fourbzcore_plugin)&&
method_exists( $fourbzcore_plugin, ‘get_user_meta’ ) ) { $your_variable = $fourbzcore_plugin-
>get_user_meta( $user_id /* optional */ ); }

Here is the structure of the array:

    ```
    array( 
        // Title
        'title' => string,
        // Contact info 
        'contact_address'   =>  string,
        'contact_phone' =>  string,
        'contact_facebook'  =>  string,
        'contact_twitter'   =>  string,
        'contact_google'    =>  string,
        'contact_linkedin'  =>  string,
        'contact_instagram' =>  string,
        'contact_tumblr'    =>  string,
        'contact_pinterest' =>  string,
        // Skills
        'items'             =>  array,
        // Avatar
        'avatar'            =>  string,
        'avatar_width'      =>  int,
        'avatar_height'     =>  int,
        'avatar_alt'        =>  string,
    )
    ```

  The featured posts shortcode/widget displays all of my posts, why?

This shortcode/widget displays sticky posts, and if there are no sticky posts to
display, it defaults to display recent posts. So, if there is no limit set and there
are no sticky posts, then this shortcode/widget will display all posts. This is 
not a bug, but the default behaviour.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ 4bzthemes ](https://profiles.wordpress.org/4bzthemes/)

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

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

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

## 變更記錄

#### 1.0.5

 * Updated: updated all widgets classes to use WP_Widget::__construct().

#### 1.0.3

 * Fixed: save_postdata function.

#### 1.0.2

 * Updated: minor css changes.
 * Fixed: flexslider javascript to target only 4bzcore slideshows in front-end.js
   file.

#### 1.0.1

 * Fixed: register the plugin’s admin script to make it available to theme and plugin
   authors.
 * Updated: changed the enqueue script code to not require jquery-ui-tabs and wp-
   color-picker for the plugin’s admin script.

#### 1.0.0

 * Initial Release

## 中繼資料

 *  版本 **1.0.5**
 *  最後更新 **11 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.3.34**
 *  語言
 * [English (US)](https://wordpress.org/plugins/4bzcore/)
 * 標籤:
 * [contact form](https://tw.wordpress.org/plugins/tags/contact-form/)[featured posts](https://tw.wordpress.org/plugins/tags/featured-posts/)
   [popular posts](https://tw.wordpress.org/plugins/tags/popular-posts/)[recent posts](https://tw.wordpress.org/plugins/tags/recent-posts/)
   [related posts](https://tw.wordpress.org/plugins/tags/related-posts/)
 *  [進階檢視](https://tw.wordpress.org/plugins/4bzcore/advanced/)

## 評分

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

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

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

## 參與者

 *   [ 4bzthemes ](https://profiles.wordpress.org/4bzthemes/)

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GLMKNUUTRPVT4)