[Solution] Link Categories in Blix Theme for WordPress
-
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 www.remarpro.com 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:
<h2>Links</h2>
<ul class="links">
< ?php get_links('-1', '- ', '', '', 0, 'name', 0, 0, -1, 0); ?>
- ', '', '', 0, 'name', 0, 0, -1, 0); ?>
- ', '', '', 0, 'name', 0, 0, -1, 0); ?>
- ', '', '', 0, 'name', 0, 0, -1, 0); ?>
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', '<h2><font color="red">L?nk- & l?sbyte</font></h2>
<ul class="links">
< ?php get_links('2', '<h2><font color="red">Bloggportaler & annat</font></h2>
<ul class="links">
< ?php get_links('1', 'Then save (Update file), click back to your index and then enjoy your Link Categories. Here is a screen shot of working link categories.
- The topic ‘[Solution] Link Categories in Blix Theme for WordPress’ is closed to new replies.