• My template displays the rating “0” for all the links. I want add a blank selection in the options so the “0” will disappear, but I don’t know which file holds that information. It’s Edit Link – Advanced – Rating in WP Admin.

    I’d appreciate any help!
    Thank you. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m also experiencing this issue. Any help is appreciated.

    silviaparvu

    (@silviaparvu)

    Hi,
    I had the same problem (the “Leave at 0 for no rating” instruction in advanced link settings didn’t work for some of my themes) and I just found aslee’s answer to a similar question

    OK, so I downloaded Purpling and took it apart for you.

    in rsidebar.php, there’s a set of lines that looks like this:
    <?php get_links($link_cat->cat_id, ‘

    • ‘, ‘
    • ‘, ‘
      ‘, FALSE, ‘id’, TRUE,
      TRUE, -1, TRUE); ?>

      If you look at the Codex page for get_links you can see what this means, and change it to your heart’s content.

      If you’re happy with it otherwise, you find out that the second TRUE after ‘id’ determines whether your ratings will show up (try editing one of the links’ rating to 9, and you’ll see it change to 9). You want it to go away, so change it to look like so:
      <?php get_links($link_cat->cat_id, ‘

    • ‘, ‘
    • ‘, ‘
      ‘, FALSE, ‘id’, TRUE,
      FALSE, -1, TRUE); ?>

      You could also change ‘id’ to ‘name’ to alphabetize your links, if you’d like.

      Depending on the theme, the filename may be different (in my case it was sidebar.php)

      Hope it helps,
      Cheers.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Blogroll ratings are deprecated. They’re still in there, but they’re not really used or have that functionality exposed anymore.

    Thanks for this advice. I had been looking all over for a way to fix this. I just set the last of the FALSE/TRUE’s in left-sidebar.php to FALSE, and whammo. /rejoice.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where to find blogroll rating file?’ is closed to new replies.