• How do I get the_id() tag into my own variable..?

    I would like to do this: $my_var = the_ID()

    but this only prints out the value for the_ID()…

The topic ‘get the_ID() into a variable – how?’ is closed to new replies.