WordPress.org

Forums

[resolved] links showing (2 posts)

  1. michelespada
    Member
    Posted 10 years ago #

    Hi!
    I'm trying to add some links to my blog's sidebar. For a reason I can't understand the maximum numerber of links shown is four. Each links has been set as "visible". If I add a new link another one desappear. My homepage in http://www.michelespada.net

    The sidebar's code is:
    <div id="nav">

      <?php if (function_exists('wp_theme_switcher')) { ?>

    • <h4>Themes</h4>
      <?php wp_theme_switcher('dropdown'); ?>
    • <?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 } ?>

    <li id="categories"><h4><?php _e('Categories:'); ?></h4>

      <?php wp_list_cats(); ?>

    <li id="archives"><h4><?php _e('Archives:'); ?></h4>

      <?php wp_get_archives('type=monthly'); ?>

    <?php wp_list_pages('sort_column=menu_order&title_li=<h4>' . __('Pages') . '</h4>' ); ?>

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    On your Link Categories page, is there anything in the Limit: box ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.