Title: Extra Classes
Author: Ben Huson
Published: <strong>Èrèlé  11, 2013</strong>
Last modified: Igbe 23, 2015

---

Ṣàwárí àwọn plugin

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

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

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

# Extra Classes

 Láti ọwọ́ [Ben Huson](https://profiles.wordpress.org/husobj/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/extra-classes.0.3.1.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/extra-classes/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/extra-classes/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/extra-classes/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/extra-classes/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/extra-classes/)

## Àpèjúwe

#### Add missing classes

Adds missing classes for selected menu states. Classes added include:

 * `current-page-parent` and `current_page_parent`
 * `current-page-ancestor` and `current_page_ancestor`
 * `current-menu-ancestor`
 * `current-menu-parent`

The classes are added in the following scenarios:

 * **When viewing an attachment page** classes are added to any parent pages and
   their menu ancestors.
 * **When viewing a post** classes are added to any relevant taxonomy menu items
   and their manu ancestors.

#### Manage Menu Select States

Allows you to control which menu items should be selected (or deselected) when viewing
certain pages of your site. You need to add classes to the menu items for this to
work.

 * `ecms-archive-{$post_type}` Ìtumọ̀ Yorùbá: – Select menu item when viewing a 
   post type archive page.
 * `ecms-single-{$post_type}` Ìtumọ̀ Yorùbá: – Select menu item when viewing a single
   post type page.
 * `ecms-taxonomy-{$taxonomy}` Ìtumọ̀ Yorùbá: – Select menu item when viewing a 
   taxonomy archive.
 * `ecms-taxonomy-{$taxonomy}-term-{$term}` Ìtumọ̀ Yorùbá: – Select menu item when
   viewing a taxonomy term archive.
 * `ecms-404` Ìtumọ̀ Yorùbá: – Select menu item when viewing a 404 page.
 * `ecms-no-archive-{$post_type}` Ìtumọ̀ Yorùbá: – Deselect menu item when viewing
   a post type archive page.
 * `ecms-no-single-{$post_type}` Ìtumọ̀ Yorùbá: – Deselect menu item when viewing
   a single post type page.
 * `ecms-no-taxonomy-{$taxonomy}` Ìtumọ̀ Yorùbá: – Deselect menu item when viewing
   a taxonomy archive.
 * `ecms-no-taxonomy-{$taxonomy}-term-{$term}` Ìtumọ̀ Yorùbá: – Deselect menu item
   when viewing a taxonomy term archive.
 * `ecms-no-404` Ìtumọ̀ Yorùbá: – Deselect menu item when viewing a 404 page.

## Ìgbéwọlẹ̀

To install and configure this plugin…

 1. Upload or install the plugin through your WordPress admin.
 2. Activate the plugin via the ‘Plugins’ admin menu.
 3. No configuration neccessary.

#### Upgrading

If you are upgrading manually via FTP rather that through the WordPress automatic
upgrade link, please de-activate and re-activate the plugin to ensure the plugin
upgrades correctly.

## FAQ

  Where can I report bugs and issues?

Please log issues and bugs on the pluginÌtumọ̀ Yorùbá: ’s [GitHub page](https://github.com/benhuson/extra-classes/issues).

You can also submit suggested enhancements if you like.

  How can I contribute?

If you can, please [fork the code](https://github.com/benhuson/extra-classes) and
submit a pull request via GitHub. If youÌtumọ̀ Yorùbá: ’re not comfortable using
Git, then please just submit it to the issues link above.

## Àwọn àgbéyẹ̀wò

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

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-654/)󠁿

 [Mary](https://profiles.wordpress.org/marypop/) Ọ̀wàrà 7, 2016

Love this plugin. Thanks :))

 [ Ka gbogbo àwọn àgbéyẹ̀wò 3 ](https://wordpress.org/support/plugin/extra-classes/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Extra Classes” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa
sí plugin yìí.

Àwọn Olùkópa

 *   [ Ben Huson ](https://profiles.wordpress.org/husobj/)

[Túmọ̀ “Extra Classes” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/extra-classes)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/extra-classes/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/extra-classes/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/extra-classes/) 
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/extra-classes/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 0.3.1

Fix issue where menu selected states were not inherited correctly for non-404 pages.

#### 0.3

Added Menu Selector support for ‘ecms-404’ and ‘ecms-no-404’ classes.

#### 0.2

Added Menu Selector class.
 Add menus module and ‘extraclasses_menu_item_class’ 
filter for easier filtering of menu item classes. Restructure include files for 
modules.

#### 0.1

First release (beta).

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **0.3.1**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 11 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **30+**
 *  Ẹ̀yà WordPress ** 3.7 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **4.2.39**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/extra-classes/)
 * Àwọn àmì
 * [class](https://yor.wordpress.org/plugins/tags/class/)[classes](https://yor.wordpress.org/plugins/tags/classes/)
   [css](https://yor.wordpress.org/plugins/tags/css/)[menu](https://yor.wordpress.org/plugins/tags/menu/)
   [styles](https://yor.wordpress.org/plugins/tags/styles/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/extra-classes/advanced/)

## Àwọn ìbò

 5 lára àwọn ìràwọ̀ 5.

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

[Your review](https://wordpress.org/support/plugin/extra-classes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/extra-classes/reviews/)

## Àwọn Olùkópa

 *   [ Ben Huson ](https://profiles.wordpress.org/husobj/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/extra-classes/)