• Resolved mmusil

    (@mmusil)


    I just recently started my wordpress blog, and I freely admit that my knowledge of codes is minimal. I have a pretty good knowledge of html, but beyond that I am struggling to teach myself everything else.

    I used one of the open-source templates on my site (http://butterflyecho.com). So far it is mostly working but it seems that I have something wrong with this one segment of code:
    `

      <li class="listHeader"><h2><?php _e('Friends'); ?></h2>
      <?php wp_get_linksbyname('Blogroll', 'before=

    • &after=
    • &orderby=name&show_description=0&show_updated=1') ?>

    `
    I’ve researched PHP but I can’t figure out what is wrong with it! Any help you can give would be much appreciated!
    Thanks ~ Melinda

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hmm. The code didn’t post well, so it’s hard to say what might be wrong. Try pasting the code here:

    http://wordpress.pastebin.ca/

    Also, what exactly is the problem? Are you getting an error message?

    Thread Starter mmusil

    (@mmusil)

    OK, I pasted the text into the pastebin… so here’s some links for you…
    This is the section of the code that (I think) has a problem:
    http://wordpress.pastebin.ca/803040
    This is the entire text. It’s actually only the code for the sidebars (two sidebars, left and right).
    http://wordpress.pastebin.ca/803042

    The area I pointed out begins on line 82.

    Feel free to visit my site (http://butterflyecho.com to see what I describe. (Yes, there are duplicates of several things on the sidebars – I’m trying to teach myself!) On the right sidebar, one of the widgets is supposed to contain my blogroll. (this is the section of text I have pointed out.) The problem is that, quite frankly, it doesn’t. The widget appears, and it includes the “Friends” title, but it does not include links to the pages included in my blogroll.

    I think this is a PHP thing but I really don’t know. Help!

    You’ve got version 2.3.1 of WP, but wp_get_linksbyname() was deprecated (dropped) in 2.1. Try wp_list_bookmarks instead.

    Thread Starter mmusil

    (@mmusil)

    YAY!!!! It’s fixed!
    Thank you, adamrbrown. Believe it or not, I feel like I’m learning a lot about wordpress and coding and stuff. I really REALLY appreciate your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php and themes’ is closed to new replies.