Title: Custom Menu Class
Author: Aiken1
Published: <strong>3 de juny de 2015</strong>
Last modified: 25 d'abril de 2016

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Custom Menu Class

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

[Baixa](https://downloads.wordpress.org/plugin/custom-menu-class.zip)

 * [Detalls](https://ca.wordpress.org/plugins/custom-menu-class/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/custom-menu-class/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/custom-menu-class/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/custom-menu-class/#developers)

 [Suport](https://wordpress.org/support/plugin/custom-menu-class/)

## Descripció

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)

## Captures

[⌊Here's a screenshot of it in action⌉⌊Here's a screenshot of it in action⌉[

Here’s a screenshot of it in action

## Instal·lació

To install the plugin, follow the steps below

 1. Upload `custom-menu-class` to the `/wp-content/plugins/` directory
 2. Activa l’extensió mitjançant el menú ‘Extensions’ del 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)

## PMF

  How can I set the CSS classes?

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

## Ressenyes

![](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 de gener 
de 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 de desembre de 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 de setembre de 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 de setembre de 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 de setembre
de 2016 2 respostes

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 de setembre de 2016 1 resposta

no work

 [ Llegiu totes les 7 ressenyes ](https://wordpress.org/support/plugin/custom-menu-class/reviews/)

## Col·laboradors i desenvolupadors

«Custom Menu Class» és programari de codi obert. La següent gent ha col·laborat 
en aquesta extensió.

Col·laboradors

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

[Traduïu «Custom Menu Class» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/custom-menu-class)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/custom-menu-class/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/custom-menu-class/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/custom-menu-class/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/custom-menu-class/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 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

 *  Versió **0.2.6.1**
 *  Darrera actualització **fa 10 anys**
 *  Instal·lacions actives **200+**
 *  Versió del WordPress ** 3.7 o posterior **
 *  Provada fins a **4.5.33**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/custom-menu-class/)
 * Etiquetes
 * [classes](https://ca.wordpress.org/plugins/tags/classes/)[css class](https://ca.wordpress.org/plugins/tags/css-class/)
   [css classes](https://ca.wordpress.org/plugins/tags/css-classes/)[menu](https://ca.wordpress.org/plugins/tags/menu/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/custom-menu-class/advanced/)

## Valoracions

 3.2 sobre 5 estrelles.

 *  [  3 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=3)
 *  [  1 valoració de 2 estrelles     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=2)
 *  [  2 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/custom-menu-class/reviews/?filter=1)

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/custom-menu-class/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/custom-menu-class/)