Title: Custom Menu Class
Author: Aiken1
Published: <strong>3 Tháng 6, 2015</strong>
Last modified: 25 Tháng 4, 2016

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Custom Menu Class

 Bởi [Aiken1](https://profiles.wordpress.org/aiken1/)

[Tải về](https://downloads.wordpress.org/plugin/custom-menu-class.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/custom-menu-class/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/custom-menu-class/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/custom-menu-class/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/custom-menu-class/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/custom-menu-class/)

## Mô tả

Simple plugin that adds extra functionality to menu items. The plugin will allow
to set predefined CSS classes (Select field) to menu items.
 Support for the plugin“
If Menu”: https://wordpress.org/plugins/if-menu/ – does not break the “If Menu” 
plugin.

Example of defining CSS classes for menu items is in the “FAQ” tab here.

Custom Menu Class is 100% free. if you have questions or need additional information
u can comment on my website ( http://deving.de – http://deving.de/blog/wordpress/
2292-wordpress-plugin-fuer-voreingestellte-css-klassen-fuer-menue-links/ ) or in
the “Support” tab here.

Check out my [Themeforest Account](http://themeforest.net/user/Aiken1/portfolio?ref=Aiken1)

## Ảnh màn hình

 * [[
 * Here’s a screenshot of it in action

## Cài đặt

To install the plugin, follow the steps below

 1. Upload `custom-menu-class` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Define CSS classes for menu items in the ‘Options -> Menu CSS Classes’ settings
    page
 4. Set predefined CSS classes for your menu items in ‘Appearance -> Menus’ page – 
    Choose CSS classes from the select field (multiple selection is possible)

## Hỏi đáp

  How can I set the CSS classes?

Set the CSS classes in the Custom Menu Class settings page under ‘Options -> Menu
CSS Classes’

## Đánh giá

![](https://secure.gravatar.com/avatar/74e7ff55d40b110e50cd32e5851c6b7eb6a850527f07497895acf210469afc6e?
s=60&d=retro&r=g)

### 󠀁[Good, but disappears when used with menu icons plugin](https://wordpress.org/support/topic/good-does-what-its-supposed-to-do/)󠁿

 [yesyeswordpress](https://profiles.wordpress.org/yesyeswordpress/) 29 Tháng 1, 
2017

Nice and simple. However, if you have this menu icons plugin installed; https://
wordpress.org/plugins/menu-icons/ ..it doesn’t work, nor do you even see an option
to select css classes. Also, could’ve been even more simple if it worked like WP
used to work; simply a text field in the menu settings underneath each item, where
you write your css classes.. That would be more straightforward and not require 
to go to another settings page to create classes. Hope that can be changed in the
future?

![](https://secure.gravatar.com/avatar/18ec93bc956d644750f4d1fe709383fa5f9118b87a80cb4e6511673c16625fe5?
s=60&d=retro&r=g)

### 󠀁[Simple and easy . Working fine. Nice plugin.](https://wordpress.org/support/topic/simple-and-easy-working-nice-nice-plugin/)󠁿

 [hatez](https://profiles.wordpress.org/hatez/) 25 Tháng 12, 2016

Good plugin

![](https://secure.gravatar.com/avatar/fafc3254a98c69978802fe719d1206bacdbb10c74613b10e934efa4dc5fae631?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-10757/)󠁿

 [br3wow](https://profiles.wordpress.org/br3wow/) 3 Tháng 9, 2016

Work correctly!

![](https://secure.gravatar.com/avatar/6943a7469a7bbd066c3c310680d8697b3eced60bea5f3ed982534f4ec6e5d852?
s=60&d=retro&r=g)

### 󠀁[Works as it should](https://wordpress.org/support/topic/works-as-it-should-32/)󠁿

 [ogiwa](https://profiles.wordpress.org/ogiwa/) 3 Tháng 9, 2016

🙂

![](https://secure.gravatar.com/avatar/c1aee8814945fadf9c63b6cfb8d5d0c76a22488ba7181342f3813efb47a89c35?
s=60&d=retro&r=g)

### 󠀁[I could not make it work](https://wordpress.org/support/topic/no-good-12/)󠁿

 [Pedro Magnifico](https://profiles.wordpress.org/pedro-magnifico/) 3 Tháng 9, 2016
2 trả lời

Installing this plugin removed my theme’s built in options for configuring menu 
items and replaced them with a panel that only allows you to apply a style but I
was unable to create any styles. There is a panel that lists all styles in the Settings
panel (mistakenly referred to as Options in the instructions, unless I misunderstood)
but no “add new” button. So I was unable to create a class, rendering the class 
pulldown in the menu builder ineffective.

![](https://secure.gravatar.com/avatar/06cbae0fb33b9e6288a192556dae827e14a630b4f018673440cce4f7ad8ca685?
s=60&d=retro&r=g)

### 󠀁[no work](https://wordpress.org/support/topic/no-work-19/)󠁿

 [alex1nd](https://profiles.wordpress.org/alex1nd/) 3 Tháng 9, 2016 1 trả lời

no work

 [ Đọc tất cả 7 đánh giá ](https://wordpress.org/support/plugin/custom-menu-class/reviews/)

## Người đóng góp & Lập trình viên

“Custom Menu Class” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Aiken1 ](https://profiles.wordpress.org/aiken1/)

[Dịch “Custom Menu Class” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/custom-menu-class)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/custom-menu-class/), check
out [SVN repository](https://plugins.svn.wordpress.org/custom-menu-class/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/custom-menu-class/)
qua [RSS](https://plugins.trac.wordpress.org/log/custom-menu-class/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 0.1

 * Plugin release. Basis for this plugin is “If Menu”: https://wordpress.org/plugins/
   if-menu/

#### 0.1.2

 * Added screenshot
 * Bugfix: Filter function name

#### 0.2.0

 * Added plugin settings page for CSS classes (Options -> Menu CSS Classes)

#### 0.2.1

 * Fullwidth select field for menu CSS classes

#### 0.2.2

 * Bugfix: Added wp_reset_query
 * Bugfix: Changed _e() to __()

#### 0.2.3

 * Notice: removed deprecated argument caller_get_posts and added ignore_sticky_posts

#### 0.2.4

 * changed wp_reset_query to wp_reset_postdata

#### 0.2.5

 * changed WP_Query to get_posts

#### 0.2.6

 * bugfix get_post_meta in wp 4.5

#### 0.2.6.1

 * bugfix get_post_meta in wp < 4.5

## Meta

 *  Phiên bản **0.2.6.1**
 *  Cập nhật lần cuối **10 năm trước**
 *  Số lượt cài đặt **200+**
 *  Phiên bản WordPress ** 3.7 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.5.33**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/custom-menu-class/)
 * Thẻ
 * [classes](https://vi.wordpress.org/plugins/tags/classes/)[css class](https://vi.wordpress.org/plugins/tags/css-class/)
   [css classes](https://vi.wordpress.org/plugins/tags/css-classes/)[menu](https://vi.wordpress.org/plugins/tags/menu/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/custom-menu-class/advanced/)

## Đánh giá

 3.2 trên 5 sao.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/custom-menu-class/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/custom-menu-class/reviews/)

## Những người đóng góp

 *   [ Aiken1 ](https://profiles.wordpress.org/aiken1/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/custom-menu-class/)