Change an li class name in a wordpress custom menu walker
Troubleshooting Enabling the WP_DEBUG constant in wp-config.php exposed the following errors: – Function Signatures If Strict Standards is enabled, you’ll see an error detailing incompatible method signatures. Though not absolutely necessary, I like to eliminate as many errors as possible. To correct this, the new Walker_Nav_Menu class’s start_el() and start_lvl() methods’ declarations need to match … Read more