Sidebar problem
-
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
- The topic ‘Sidebar problem’ is closed to new replies.