• Best Drag & Drop Website Builder
  • Build Any Type of Website
  • Unlimited design flexibility
  • Drag & Drop Builder

Extra Classes

by Ben Huson

3 Ratings

  • 5.0

Active Installations

40+

Last Update

9 years

Quality

D

Plugin Description

Description
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}
– Select menu item when viewing a post type archive page.
ecms-single-{$post_type}
– Select menu item when viewing a single post type page.
ecms-taxonomy-{$taxonomy}
– Select menu item when viewing a taxonomy archive.
ecms-taxonomy-{$taxonomy}-term-{$term}
– Select menu item when viewing a taxonomy term archive.
ecms-404
– Select menu item when viewing a 404 page.
ecms-no-archive-{$post_type}
– Deselect menu item when viewing a post type archive page.
ecms-no-single-{$post_type}
– Deselect menu item when viewing a single post type page.
ecms-no-taxonomy-{$taxonomy}
– Deselect menu item when viewing a taxonomy archive.
ecms-no-taxonomy-{$taxonomy}-term-{$term}
– Deselect menu item when viewing a taxonomy term archive.
ecms-no-404
– Deselect menu item when viewing a 404 page.

Similar Plugins

  • Report Bug
The content on this website originates from various sources. All rights to the original content remain with the respective author. If you believe that your copyrights have been infringed by the use of content on this website, please contact us at info@plugin-guru.com. We will remove the content in question immediately.

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Collections

Create your first Collection

To create a collection, simply click on the symbol on the desired plugin.

You can see this symbol when you move the mouse over the plugin. 

Current Level

Plugin Magican

You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community

0 of 500 views reached