prefix."terms a, ".$wpdb->prefix."term_taxonomy b WHERE a.term_id = b.term_id AND a.term_id = '".$post_taxonomy_Array[$j]."'"; $results = $wpdb->get_results($sql); $post_taxonomy = get_term( $post_taxonomy_Array[$j], $results[0]->taxonomy); if ($post_taxonomy->taxonomy == "category"){ if ($_GET["lh_rdf_extend"]){ include('taxonomy-category.php'); } else { echo "\nterm_id)."\">\n"; echo "term_id)."?feed=lhrdf\"/>\n"; echo "\n"; } } elseif ($post_taxonomy->taxonomy == "post_tag"){ if ($_GET["lh_rdf_extend"]){ include('taxonomy-tag.php'); } else { echo "\nterm_id)."\">\n"; echo "term_id)."?feed=lhrdf\"/>\n"; echo "\n"; } } $j++; } $j = 0; while ($j < count($post_author_Array)) { $authordata = get_userdata($post_author_Array[$j]); if ($_GET["lh_rdf_extend"]){ include('author.php'); } else { echo "\nID)."\">\n"; echo "ID)."?feed=lhrdf\"/>\n"; echo "\n"; } $j++; } ?>