Title: Secretary
Author: ChrisBAshton
Published: <strong>20 ກໍລະກົດ 2017</strong>
Last modified: 29 ມັງກອນ 2022

---

ຄົ້ນຫາປລັກອິນ

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

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://ps.w.org/secretary/assets/icon-256x256.png?rev=2668762)

# Secretary

 ໂດຍ [ChrisBAshton](https://profiles.wordpress.org/chrisbashton/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/secretary.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/secretary/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/secretary/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/secretary/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/secretary/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/secretary/)

## ຄຳອະທິບາຍ

Users define their editorial rules in YAML (see Settings -> Secretary) according
to a number of built-in rule functions. For example, Secretary can show a warning
if you’ve forgotten to set a Featured Image for your post, by adding the `featured-
image` rule to your YAML config.

Secretary comes with a number of rules out of the box, but you can write your own
custom plugins for Secretary by calling `SecretaryRules::register`. See example 
at https://github.com/ChrisBAshton/secretary-rule-gallery-at-top, and API documentation
at https://github.com/ChrisBAshton/secretary.

### Contact

If you spot any issues, or want to know how to contribute, please visit https://
github.com/ChrisBAshton/secretary.

Please note that I have open-sourced this plugin to give back to the community, 
and do not have much spare time to answer support queries, but I’ll help where I
can.

## ພາບໜ້າຈໍ

[⌊Secretary warns you against common problems; in this case, the Featured Image 
set for the post was too large in filesize.⌉⌊Secretary warns you against common 
problems; in this case, the Featured Image set for the post was too large in filesize
.⌉[

Secretary warns you against common problems; in this case, the Featured Image set
for the post was too large in filesize.

[⌊Secretary will only look for the rules you tell it to look for. There are a few
built into the Secretary plugin, but you can install other plugins which define 
other rules.⌉⌊Secretary will only look for the rules you tell it to look for. There
are a few built into the Secretary plugin, but you can install other plugins which
define other rules.⌉[

Secretary will only look for the rules you tell it to look for. There are a few 
built into the Secretary plugin, but you can install other plugins which define 
other rules.

[⌊The HTML Checker rule searches for HTML to warn your content editors that this
is a brittle way of styling posts.⌉⌊The HTML Checker rule searches for HTML to warn
your content editors that this is a brittle way of styling posts.⌉[

The `HTML Checker` rule searches for HTML to warn your content editors that this
is a brittle way of styling posts.

[⌊If all is well, you should see all green ticks!⌉⌊If all is well, you should see
all green ticks!⌉[

If all is well, you should see all green ticks!

## ການຕິດຕັ້ງ

 1. Install the plugin through the WordPress plugins screen directly
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Secretary screen to configure the plugin (you can see all available
    rule configs on the right hand side of the screen)

Example YAML config below:

    ```
    categories:
        not:
            - Uncategorized
        not-only:
            - Featured

    featured-image:
        max-size: 100
        format: jpg
        dimensions:
            width: 760
            height: 350

    excerpt:
        min-length: 30
        max-length: 300

    scheduled:
        publish-time: '15:00'

    links:
        internal:
            open-in-new-tab: false
        external:
            open-in-new-tab: true

    images:
        true

    html-checker:
        risky-html:
          - table
          - div
          - span
          - style
          - script
    ```

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### How do I know what rules are available?

Look at the right hand side of the screen under Settings -> Secretary.

### I’m getting a `Config error: no such rule!`

If you see something like:

    ```
    ❌ foo
    Config error: no such rule!
    ```

…it means you have asked Secretary to apply a rule which does not exist. Check your
spelling.

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Secretary” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດ
ທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ ChrisBAshton ](https://profiles.wordpress.org/chrisbashton/)

[ແປ “Secretary” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/secretary)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/secretary/), ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/secretary/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/secretary/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/secretary/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.0.3

 * Removes an accidentally committed internal-facing README file

#### 1.0.2

 * Removed unneeded ‘assets/’ directory

#### 1.0.1

 * Tested with Gutenberg

#### 1.0.0

 * Initial release

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.0.3**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **5 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **ໜ້ອຍກວ່າ 10**
 *  ທົດສອບເຖິງເວີຊັນ **5.9.16**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/secretary/)
 * ແທັກ
 * [check](https://lo.wordpress.org/plugins/tags/check/)[q&a](https://lo.wordpress.org/plugins/tags/qa/)
   [quality](https://lo.wordpress.org/plugins/tags/quality/)[validate](https://lo.wordpress.org/plugins/tags/validate/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/secretary/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/secretary/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/secretary/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ ChrisBAshton ](https://profiles.wordpress.org/chrisbashton/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/secretary/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](http://twitter.com/ChrisBAshton)