Title: WP Custom Menu Filter Plugin
Author: Travis Smith
Published: <strong>22 ກຸມພາ 2011</strong>
Last modified: 15 ກໍລະກົດ 2012

---

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

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

![](https://s.w.org/plugins/geopattern-icon/wp-custom-menu-filter-plugin.svg)

# WP Custom Menu Filter Plugin

 ໂດຍ [Travis Smith](https://profiles.wordpress.org/wpsmith/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/wp-custom-menu-filter-plugin.zip)

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

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

## ຄຳອະທິບາຍ

WP Custom Menu Filter Plugin uses a new filter hook in WordPress 3.1 that allows
Custom Menus to be filtered. Instead of using the generic CSS {display:none;}, this
plugin actually excludes nav menu items from even being created. While it uses the
CSS class tag in the Custom Menu to determine which custom menu items should be 
excluded, it does not use CSS to hide the menu items, which savvy users can discover.
Instead using one custom menu, the user can hide portions of their custom menu to
visitors (even the savvy ones) while revealing other portions of their menu to users
who are logged in and vice versa.

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

 1. Upload the `wp-custom-menu-filter-plugin` directory to the `/wp-content/plugins/`
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Locate the ‘Custom Menu Filter Settings’ item on the ‘Appearance’ menu
 4. Change your options, and you are good to go!

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

  How do I add a CSS class to my custom menu?

 1. At `/wp-admin/nav-menus.php` found under Appearance > Menus. Then select Screen
    Options at the top right. Then check CSS Classes. Then click Screen Options to 
    hide the menu again.
 2. Click down arrow beside the menu item. You should see an input box for CSS Classes(
    Optional).
 3. Fill in with whatever CSS class you’d like. It is space-separated, so be sure to
    enter each class as one item (e.g., admin, admin-class, NOT admin class).
 4. Click Save Menu
 5. Be sure to assign a menu to a theme location as this will determine whether the
    menu appears in the filter settings page. Click Save.
 6. Navigate to `wp-admin/themes.php?page=wps-filter-menu` which is found under Appearance
    > Custom Menu Filter Settings
 7. Enter CSS Class Name that you’d like to have filtered out.

Again this plugin does not use CSS classes to hide menu items. Instead it uses the
CSS Class information on the backend to filter these items out all together.

## ການຣີວິວ

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

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

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

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

 *   [ Travis Smith ](https://profiles.wordpress.org/wpsmith/)

[ແປ “WP Custom Menu Filter Plugin” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/wp-custom-menu-filter-plugin)

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

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

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

0.7 Fixed another conflict with yet another plugin

0.6 Fixed conflict with another plugin

0.5 Added default settings

0.4 Added uninstall to remove options/settings upon deletion.

0.3 Added flipped functionality (hide items from logged in users). Security update.

0.1 Initial Public Release

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

 *  ເວີຊັນ **0.7**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **14 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **100+**
 *  ເວີຊັນ WordPress ** 3.1 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.2.1**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/wp-custom-menu-filter-plugin/)
 * ແທັກ
 * [admin](https://lo.wordpress.org/plugins/tags/admin/)[custom menu](https://lo.wordpress.org/plugins/tags/custom-menu/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/wp-custom-menu-filter-plugin/advanced/)

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

 4 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 3 ລາຍການ     ](https://wordpress.org/support/plugin/wp-custom-menu-filter-plugin/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/wp-custom-menu-filter-plugin/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/wp-custom-menu-filter-plugin/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/wp-custom-menu-filter-plugin/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/wp-custom-menu-filter-plugin/reviews/?filter=1)

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

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

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

 *   [ Travis Smith ](https://profiles.wordpress.org/wpsmith/)

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

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

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

## ບໍລິຈາກ

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

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](http://wpsmith.net/wp-custom-menu-filter-plugin/#donate)