Post id in javascript
-
I’d like to know how to call a post id from a javascript file.
In the template I use <?php the_ID(); ?> but how can I call the same id from Javascript?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Post id in javascript’ is closed to new replies.