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

Flexia Core

外掛說明

Core plugin for Flexia theme. Controls all the plugin territory functionality for Flexia.

Requirements

This is a specialized plugin for the theme Flexia that is available for free on WordPress.org. But since plugin works independently, it will work with any standard theme if you deactivate Flexia.

Features

The plan is to keep all the plugin territory functionality of Flexia within this plugin and it’s a continuous process. It will provide the shortcodes, metabox and extra Customizer options.

  • Shortcodes
  • Extra Customizer Options
  • Metaboxes

Customizer Options

  • Custom JavaScripts
    • Header Script
    • Footer Script
    • Google Analytics

You can add custom JavaScripts to your site header and footer through Customizer and edit your scripts with CodeMirror editor. You can place any custom JavaScript, Google Analytics, Facebook Pixel or any kind of embed script. Extremely helpful if you need to place any custom javascript or jQuery code to header or footer. This plugin gives you the ability to place different scripts to header or footer separately. Uses Customizer so you can edit the code live and see the changes on the fly.

  • CodeMirror Editor
  • Ability to add custom scripts to wp header.
  • Ability to add custom scripts to wp footer.
  • Ability to add multiple scripts.
  • Ability to add Google Alalytics code.
  • Ability to add any embed code.

Go to Customize > Custom JavaScripts to add your scripts.

Custom Metaboxes (Page and Post Settings)

  • Post Header style control
  • Additional Body Classes option
  • Show/Hide Page/Post Title
  • Show/Hide Post Meta
  • Show/Hide Post Navigation
  • Show/Hide Post Social Sharing
  • And lots more control for individual posts

Shortcodes

Shortcode usage

Grid

[row]
    [column md="6"]
        ...
    [/column]
    [column md="6"]
        ...
    [/column]
[/row]

Add container (different max-width for various screen size)

[container]
    [row]
        [column md="6"]
            ...
        [/column]
        [column md="6"]
            ...
        [/column]
    [/row]
[/container]

Add container-fluid (100% width container)

[container-fluid]
    [container]
        [row]
            [column md="6"]
                ...
            [/column]
            [column md="6"]
                ...
            [/column]
        [/row]
    [/container]
[/container-fluid]

All shortcodes containes number of parameteres. See the Github Repo for detailed documentation.

安裝方式

  1. Upload flexia-core.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

Does it work standalone?

It’s a specialized plugin for Flexia theme, you need to install Flexia to get most of the features. But since plugin works independently, it will work with any standard theme if you deactivate Flexia.

使用者評論

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

參與者及開發者

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

參與者

〈Flexia Core〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

1.4.2

  • Removed: Customizer controls moved to Theme
  • Removed: Metabox controls moved to Theme

1.4.1

  • Admin notice removed

1.4.0

  • Compatiblity with Flexia v1.1.0
  • Compatiblity with WordPress 5.3
  • Few minor bugfix and improvements

1.3.1

  • Compatiblity with Flexia v1.0.0

1.3.0

  • More Page Settings options added
  • More Post Settings options added
  • Documentation, support links added
  • Few bugfix and improvements

1.2.3

  • Google Analytics option added to Customizer
  • Few bugfix and improvements

1.2.2

  • Custom JavaScripts backward compatibility added for WordPress < 4.9

1.2.1

  • Post Settings improved with lot more options
  • Important information added to options panel
  • Few minor bugfix and improvements

1.2.0

  • Page Settings added
  • Additional Body class option added to Page Settings
  • Page Title show/hide option added to Page Settings

1.1.0

  • Bootstrap 4 Grid shortcodes added
  • Custom JavaScripts option added to Customizer
  • Lots of improvements

1.0.0

  • Initial release