Help needed to adjust display of Blogrolls
-
Dear all,
Currently I am setting up a new Blog with WP v2.0.1 using the 3 Column Relaxation Theme v2.0.2beta by Clemens Orth. See https://EddieCastelli.com/duneblogNew/index.php
At this period of WPsetup I am working to optimize any thing with Categories. Now I jump right into my small problem. Blogroll are a nice feature that I like to use. But I saw the need to make some small adjustments. I have a Link Category added (ownLinks, ID=2). Added to this “parent” I have the Child by the name of “myPhotoblog” where I added the Link to my own Photoblog. This links must always be displayed on top of all other Blogrolls. As an
ignorant person in PHP I still managed to do this and it displays nicely. But now I have this Blogroll ID with
it’s content 2x on the List. When I set “invisible” to ON then I don’t see it at all. Of course this is logic as it still runs through the links.php (in wp-includes). BTW – I do tend to not change anything in WP Templates and/or other files from WP. My change I have done to display ID=2 on the top of all Blogrolls was in the file blogroll.php of my Theme folder. The content of this file is rather simple:<li>
<h2><?php _e('personal Links'); ?></h2><ul>
<?php get_links_list(); ?>
</ul>
</li>I then only added this:
<li>
<h2><?php _e('personal Links'); ?></h2><ul>
<?php get_links('2', '
<li>', '</li>
', '<br />', FALSE, 'id', TRUE, TRUE, -1, TRUE); ?><br />
<?php get_links_list(); ?>
</ul>
</li>If I now want to “exclude ID=2” from being displayed again somewhere else, I then (probably) have to add such a request in the links.php file somewhere in the “function get_links_list()”. I do not know sufficient what function and/or command and/or where to put it.
Anyone can help on this? Many thanks.
DuneBlog
- The topic ‘Help needed to adjust display of Blogrolls’ is closed to new replies.