currently, the only way to get a number associated with a comment is to use the
tag. That is the default of WP layout. So for each comment, you get a number associated with it. If you want to post a comment, you’ll clearly see you’re the (let’s say…) seventeenth (17).
That is ok.
But what if we wanted to put this number elsewhere, thus NOT being able to use the
tags. For example, how could we get this number to appear inside the comment itself after it’s been posted ?
comment_ID()isn’t a solution since the outputed number is incremental but relative to the whole database. I’m looking for a solution to create and output a incremental number per post.
I hope I make sense and that someone could contribute with his genious idea. 🙂
- The topic ‘Create incremental number for each comment per art’ is closed to new replies.