Trying to do simple math with the_id tag
-
Hello!
This is probably a no-brainer for someone who speaks and thinks phpsyntax. I don’t however so i need your help.
Hello want to do some simple math with the
<?php the_id(); ?>
tag. I would like to take the ID and subtract it from let’s say 1000 so the posts are (at least displayed as) they are counting down towards 0.Is this is possible to do in a simple way and if so, _how_ do i do it. I only get errors with my efforts to figure it out so far.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Trying to do simple math with the_id tag’ is closed to new replies.