With WordPress 2.3, the developer had merged and created three new tables Three new terms tables (schema) : term_relationships, term_taxonomy and terms support combined post categories, link categories, and the new tags. Which means old tables like categories, link2cat, and link2post are gone ! Now this had affected few themes on GFXedit as most themes used to query the “gone” tables for showing up with the style instead of just using a single line of code <?php get_links()?>.
<?php
$link_cats = $wpdb->get_results…….
<?php
$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
foreach ($link_cats as $link_cat) {
?>
That should fix the error but in order to show up the Link heading you have replace the code within the <h2></h2> (h3,h4 in some themes) tags with any text like “Links” or “BlogRoll“
GFXedit Designs is the official website of Web Designer & Coder, Sreejith R Krishnan, with over five years commercial design experience as a freelance designer. Creating clear, simple, effective web designs with respects to latest web standards, personally and with help of a team of freelance designers.
The services range from web designs (PSD), XHTML/CSS coding, PHP, Content Management Systems, Static, Corporate & Blog themes with Wordpress etc.
Leave a comment »