Support » Plugins » get the_ID() as variable

  • Resolved schlobben

    (@schlobben)


    I have searched over and over, so I finally gave up. Anyone know how to get the post id, using the_ID() without having it printed out?

    I need it to make a navigation where the active post is highlighted by comparing the post I am reading with the ID’s of the posts in the menu.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘get the_ID() as variable’ is closed to new replies.