• Instead of having my link categories flanked by li tags I wanted them flanked by h4 tags. I put it into the admin interface in 2.0, saved, and lo and behold, they’re flanked by h2 tags the way they were when the program was installed. I’d say something is screwy here. I rechecked admin and the h4 tags are what is showing, so yes, it saved ’em, it’s just not generating the correct way in the frontend. Heck, it wasn’t even using the original li tags that are the default before I did anything.

    Anybody know the fix?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hmm. That’s a tad bit ugly…. does that mean that the fix will be in the core code somewhere? I don’t mind tweaking core, as we all know, but most folks aren’t going to want to do that….

    Thread Starter kickass

    (@kickass)

    I found what is overriding the admin choices, it’s a bit of code in wp-includes/links.php and it looks like this:


    // Display the category name
    echo ' <li id="linkcat-' . $cat['link_category'] . '"><h4>' . $cat['cat_name'] . "</h4>nt<ul>n";

    My question is this– I can change this here but then the admin thing won’t work anyway. I’d rather fix it. And besides, html code generation shouldn’t be in core, and isn’t, for the most part. I don’t know why this was overlooked. Please, a fix???

    Thread Starter kickass

    (@kickass)

    Oh, and vkaryl? Whether to hack core isn’t a question when it’s something that’s broken. This is a function in admin. It doesn’t work. It won’t work unless the core code that runs it is corrected. So it’s not a hack, its a repair. Big difference.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘link category “before” and “after” not working in 2.0.’ is closed to new replies.