WordPress.org

Ready to get started?Download WordPress

Forums

WordPress menu counting (1 post)

  1. Edde Beket
    Member
    Posted 2 years ago #

    Hi all,

    Is there a way to have WordPress give me the number of the current menu-item (using native drag-n-drop menus. For example: I create a menu containing [home] and [about]. When visiting the about-page, I'd like to get a "2" - or "1", if counting starts at 0 (zero).

    Thanks!
    Edde

Topic Closed

This topic has been closed to new replies.

About this Topic