• Hi,
    I’m begining to find that the amount of links I am collecting is just getting too large for my index page. I tried the limit option in the admin section hoping that the rest of the links would be available from another link. Something link:
    Link 1
    Link 2
    Link 3
    Link 4
    See more links

    But it doesn’t. The See more links link would then take them to a page displaying all the links in that category.
    Does anybody have any ideas about how to deal with this issue?

Viewing 12 replies - 1 through 12 (of 12 total)
  • You could display all the links in one category on your index page, then make another page to display the rest of the link categories (links.php or something like that).

    Well a simple, very accessible fix is to make up a post containing all the links you want off the menu bar. You can then call that post in a number of different ways.

    Thread Starter planetphillip

    (@planetphillip)

    Anonymous:
    I need to keep the links separated into different categories. I really don’t want to have too many static pages that have to be updated. I currently only have a 404.php and want to keep it at that. Thanks for the suggestion though.
    Root:
    I did think about doing this but I would either have to add them manually in the post or call the categories in the post. I didn’t think WP could use tags in the post. Another reason I wanted to keep them in the database was because I wanted to use the random feature.
    Any other ideas? Shall I add it to the wishlist thingy?

    You wouldn’t have to enter the links manually into a static page. You could use your index.php template, but replace the post loop with a get_links call (randomising the links, displaying particular categories etc. ) and save it as links.php. BUT if you want a variety of categories on the front page and for all those categories to have a continuation on another page (rather than having one set of cats for the front page and another for the links page) then sorry, I think that would take quite a bit of hacking.

    Thread Starter planetphillip

    (@planetphillip)

    OK,
    Looks like I will have to find another solution. Thanks for your help.

    Nevertheless anon’s solution looks pretty nifty. Tx

    I list recent links & blogs I read on my index page, with a separate page for all links. see https://blog.trubbel.com
    and https://blog.trubbel.com/links.php

    There is a recent links plugin that does this. Look in the plugins section of the wiki to find it.

    mufflonen:
    What did you replace “the loop” with to generate your links list page?

    Thread Starter planetphillip

    (@planetphillip)

    I used:
    <?php get_links_list('name',TRUE); ?>
    But there are other options.
    You can see the results here:
    https://www.planetphillip.com/links.php
    Hope that helps.

    Thread Starter planetphillip

    (@planetphillip)

    Well, firstly I edited the CSS file and added this:
    #calendar, #meta, #archives {
    display: none;
    }

    That simply stops the items from not displaying.
    Secondly I edited the index file and added this:

      <li id="other"><?php _e('Other:'); ?>

    As you can see all I did was add some links under the other catergory. The stats page is a nice little plugin.
    The rest of the menu is simply links. If that’s not what you meant, feel free to ask again or email me.

    That’s what I meant. However, on closer inspection I see that your categories list on your menu isn’t what I thought it was. I thought it was your links categories, not your blog entries categories. I’m trying to find a way to only display link categories, preferrably in a dropdown, in the menu. The other things you outlined did give me some ideas with other developments. Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Idea for the links category’ is closed to new replies.