Wordpress - Current page class to nav


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. You can use the following class provided by wordpress natively (wp3.0+):
  2. current-menu-item current_page_item

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.