[Resolved] get the_ID() as variable
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.
- The topic ‘[Resolved] get the_ID() as variable’ is closed to new replies.