WP Add Active Class To Menu Item

November 26, 2023

WP Add Active Class To Menu Item Plugin

This plugin is useful when you need to add active class to menu item li tag. Currently it is current-menu-item or current_page_parent.

This plugin is useful when you need to add active class to menu item li tag. Currently it is current-menu-item or current_page_parent. You can even set custom class to li tag if your need is other than active class

Installation

To install this plugin follow below steps

  1. Upload the plugin files to the ‘/wp-content/plugins/’ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Set custom class name from ‘Settings’ -> ‘WP Add Active Class To Menu Item’ screen(optional)
  4. That’s it, no other settings needed.

Screenshots

  1. Inspect site without <strong>WP Add Active Class To Menu Item</strong> plugin

    Inspect site without WP Add Active Class To Menu Item plugin

  2. <strong>WP Add Active Class To Menu Item</strong> plugin settings page

    WP Add Active Class To Menu Item plugin settings page

  3. Inspect site with <strong>WP Add Active Class To Menu Item</strong> plugin

    Inspect site with WP Add Active Class To Menu Item plugin

FAQ

When this plugin is useful?

This plugin is useful when you need to set custom class to li tag if your need is other than current-menu-item or current_page_parent class.

Is this plugin paid or free?

This plugin is totally free.

What about support?

Create a support ticket at WordPress forum and I will take care of any issue.

Details

  • Version: 1.0
  • Active installations: 700
  • WordPress Version: 3.1
  • Tested up to: 6.4.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars