I have some posts on my WordPress site, and let's say I want to add a random number for each post with
$num as key and
random() as value. Then I want to access them with something like:
Can this be done during The Loop? Since the value will change every time it is executed, I need to make it during The Loop. I can't add this random number as a custom field.
Is there a way to achieve this?