[Solution] Link Categories in Blix Theme for WordPress (2 posts)

  1. Sainty
    Posted 10 years ago #

    I've posted this helping guide also on my blog, with a guiding picture and some guiding fonts that are marked by a red and blue color. But the text is the same as here.

    Hope this will help.

    The original Blix WordPress theme that was made by Sebastian Schmieg comes without Link Categories. Here is a pretty simple solution to change that.

    This might not be the best solution (I don’t really know if there is any other), but it works and it won't give your weird design. This is really simple but no one WordPress.org seems to be able to help (properly), so I guess I will have to honor.

    M'key.. lets do it baby!

    First off all go to your administration panel and look under Links -> Link Categories how many categories you have, memorise (or write down) the ID-number (write also down the name if you can’t remember what ID-number is what).

    After that is done, click on Presentation, then Theme Editor. Choose "sidebar.php". Find the line with the links. It should look something like this:

    <ul class="links">
    < ?php get_links('-1', '

  2. ', '', '', 0, 'name', 0, 0, -1, 0); ?>
  3. If you have only 3 link categories like me, you will have to make 2 copies of those lines. Then change the first number in the get_links line (-1) with the ID-number of the category you would like to show on your sidebar. Also, change the word "Links" in the headline to fit the description of the link category.

    For me, it looks like this:

    <h2>Mina grejer</h2>
    <ul class="links">
    < ?php get_links('3', '

  4. ', '', '', 0, 'name', 0, 0, -1, 0); ?>
  5. <h2><font color="red">Länk- & läsbyte</font></h2>
    <ul class="links">
    < ?php get_links('2', '

  6. ', '', '', 0, 'name', 0, 0, -1, 0); ?>
  7. <h2><font color="red">Bloggportaler & annat</font></h2>
    <ul class="links">
    < ?php get_links('1', '

  8. ', '', '', 0, 'name', 0, 0, -1, 0); ?>
  9. Then save (Update file), click back to your index and then enjoy your Link Categories. Here is a screen shot of working link categories.

  • Ryan Fitzer
    Posted 10 years ago #

    Good job. That Blix theme can be a tuffy to alter.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic