View Single Post
Old 01-10-2011, 02:37 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,506
Quote:
Originally Posted by BCyber View Post
Alright cool. I'll see if I can figure that out. Haven't taught myself much php yet.
assuming you have a link category called amateurs, and a post category called amateurs

Code:
function show_links()
{
    global $post;
    $cat = get_the_category($post->ID);
    $check = $cat[0]->cat_name;
    $links = get_bookmarks('category_name=$check&orderby=rand');
    foreach($links as $link) {
        echo "<a href='$link->link_url'>$link->link_name</a>";
    }
}
maybe somelike like this?

not sure i havent tested it.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script / Free Templates / Gallery Scraper
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote