I’m using the random entries tag on a page where I display my headlines.
I have about 10 instances of this:
<div class="random"><?php $gen = random_field_id("comics"); ?>
<a href="<?php random_field($gen, "weblog_url","comics"); ?>"><?php random_field($gen, "custom1","comics"); ?></a><br />
<a href="<?php random_field($gen, "weblog_url","comics"); ?>">COMICS</a>
</div>
stacked on top of each other to form a column of random links.
It works except that the “weblog url” does not link to the correct entry.
The url that the article is actually on will be something like “http://www.website.com/there.php?id=6_0_4_0”
but instead the link will go “http://www.hypertransitory.com/here.php?id=P6”
In the last link, here is the page that the random tag is actually on.
Is there any explanation for this behavior? How can I get the correct url out of this? Thanks for your help.
-john
