the reason why i dont want to "just place a link"
is cause we're talking about 100+ posts wich might change category ..
I don't want to have to replace the link in each post to get what i want..
think i need to do something with this bit:
PHP Code:
// Categories, linked
if ( strpos($postinfo_string,'%categories-linked') !== FALSE ) {
while ( strpos($postinfo,'%categories-linked') !== FALSE ) {
$category_linked_separator = preg_match("/(.*)%categories-linked\('(.*?)'\)(.*)/i",
$postinfo_string,$category_linked_matches);
ob_start();
the_category($category_linked_matches[2]);
$categories_linked = ob_get_contents();
ob_end_clean();
$postinfo = preg_replace("/(.*)%categories-linked\((.*?)\)%(.*)/i", "\${1}" .
$categories_linked. "\${3}", $postinfo);
}
}
or this bit:
PHP Code:
// Permalink
if ( strpos($postinfo_string,'%permalink%') !== FALSE ) {
ob_start();
the_permalink();
$permalink = ob_get_contents();
ob_end_clean();
$postinfo = str_replace("%permalink%", $permalink, $postinfo);
}
no clue...