Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kencomer

    (@kencomer)

    addendum: I forgot to say earlier that I did clear my cache.

    You sound link you made the cardinal error of upgrading: no backup. If you have a reasonable web host that allows telnet sessions, do this to make a backup from now on before you upgrade:

    1. get puTTy (a quick google/scroogle will do it)
    2. if you are on a PC, go get 7zip or winzip (7zip is free and better in some ways)
    3. when you get into your site, go to the directory where wordpress hides (it sounds like this is your public_html directory)
    4. type tar c -z index.php wp*.php wp-* > archivename.tgz
    5. download the file for an extra copy–it never hurts to have two

    if you need to recover, get archivename.tgz back onto your server in the right directory

    1. puTTy back in
    2. type tar x archivename.tgz * 
    3. But that’s for next time… Glad you’re at least sort of “up and running”. If this problem is fixed, please go ahead and close it. Maybe one of the gurus will check the post and see my link above… ??

    Hoping to earn some good kharma for my own problem, I’ll point you to the docs with a couple of suggestions. The information I am going to give you will show you what the parameters are and, unless you say otherwise, I am assuming that you know enough HTML to be able to take it from there. Please post another reply if you do not, or close the topic if this helps you fix things.

    I looked up get_linksbyname under the DOCS heading. You can find the details of any function by looking there. To solve your problem,

    • you can look at what the parameters mean
    • look at the WP 2.1 wp_list_cats tag that appears to be intended to replace it (but which does not seem to be as flexible)
    • look at wp_get_linksbyname function, possibly with an eye to manually listing each of the names separately and doing the formatting by hand
    • if you look up a few basic looping constructs (e.g., “for”) at php.net to see how to create a loop that would let you have the flexibility for creating the formatting while still retaining the automated link-fetching, so that you would not have to change the page each time you added a link
    • just replace the whole get_linksbyname tag with a manually formatted manually created section

    If you are familiar with HTML and daunted by the complexities of trying to create HTML chunks to insert into a PHP function, the last option might be the easiest and most flexible–despite it’s “primitiveness”–especially if you do not often add links. (I know that I don’t.)

    I hope all of this formatting works, heh…

    I added this to my “favorites” link and I’ll keep an eye on it to see how much this helped you. Good luck.

Viewing 3 replies - 1 through 3 (of 3 total)