Title: Custom Menu Class
Author: Aiken1
Published: <strong>3. juni 2015</strong>
Last modified: 25. april 2016

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

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

# Custom Menu Class

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

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

 * [Detaljar](https://nn.wordpress.org/plugins/custom-menu-class/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/custom-menu-class/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/custom-menu-class/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/custom-menu-class/#developers)

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

## Skildring

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)

## Skjermbilete

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

Here’s a screenshot of it in action

## Installasjon

To install the plugin, follow the steps below

 1. Upload `custom-menu-class` to the `/wp-content/plugins/` directory
 2. Aktiver innstikket gjennom Innstikk-menyen i 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)

## Vanlege spm.

  How can I set the CSS classes?

Set the CSS classes in the Custom Menu Class settings page under «Options -> Menu
CSS Classes»

## Omtalar

![](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. januar 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. desember 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. september 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. september 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. september
2016 2 replies

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. september 2016 1 reply

no work

 [ Les alle 7 omtalar ](https://wordpress.org/support/plugin/custom-menu-class/reviews/)

## Bidragsytarar og utviklarar

“Custom Menu Class” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Omset “Custom Menu Class” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/custom-menu-class)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/custom-menu-class/),
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/custom-menu-class/) eller 
abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/custom-menu-class/)
med [RSS](https://plugins.trac.wordpress.org/log/custom-menu-class/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

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

## Om

 *  Version **0.2.6.1**
 *  Last updated **10 år sidan**
 *  Active installations **200+**
 *  WordPress version ** 3.7 eller nyare **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/custom-menu-class/)
 * Tags
 * [classes](https://nn.wordpress.org/plugins/tags/classes/)[css class](https://nn.wordpress.org/plugins/tags/css-class/)
   [css classes](https://nn.wordpress.org/plugins/tags/css-classes/)[menu](https://nn.wordpress.org/plugins/tags/menu/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/custom-menu-class/advanced/)

## Vurderingar

 3.2 out of 5 stars.

 *  [  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)

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

## Contributors

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

## Hjelp

Har du noko å seia? Treng du hjelp?

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