• Hello.

    I have a little problem with my sidebar, nothing big but I hope you can help me.

    Look at my sidebar at: https://linuzzzz.gnrsweden.com/

    What’s “Blogroll”? I can’t change the name and I can’t find it in the Blogroll-file. However, I tried to remove this code from sidebar.php:

    <?php
    $link_cats = $wpdb->get_results(“SELECT cat_id, cat_name FROM $wpdb->linkcategories”);
    foreach ($link_cats as $link_cat) {
    ?>
    <li id=”linkcat-<?php echo $link_cat->cat_id; ?>”><h4><?php echo $link_cat->cat_name; ?></h4>

      <?php wp_get_links($link_cat->cat_id); ?>

    <?php } ?>

    I removed it and uploaded it and that “Blogroll” was gone. But the code looked so complicated so I thought that it was an important code. Do you know if it’s okey to remove it?

    One more thing. I want to translate “About” under “Sidor:” But it’s not in sidebar.php. Here’s the code there:

    <?php wp_list_pages(‘sort_column=menu_order&title_li=<h4>’ . __(‘Sidor:’) . ‘</h4>’ ); ?>

    How can I translate “About”?

    Hope you can help me, I would appreciate it!

    EDIT: Oh, and I’m using the theme: Daisyraegemini

Viewing 1 replies (of 1 total)
  • I don’t know how important the code that you deleted is but if I were you I would restore the file as it was because there is an easy way to change the name of blogroll. Go to ‘links’ on your dashboard and then to link categories. You can then change the name to anything you want.

Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar problem’ is closed to new replies.