Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] How to show links/blogroll as a Wordpress page? (http://forum.bytesforall.com/showthread.php?t=1883)

AndrewRH Jun 2, 2009 03:06 PM

[SOLVED] How to show links/blogroll as a Wordpress page?
 
Hi,

I would like to have my links in a Wordpress page, instead of a widget on the side.

Other themes use a template file, called links.php, to do this -- inside it is a call to wp_list_bookmarks()

Thanks,

~Andrew~

Flynn Jun 4, 2009 08:11 AM

You can make a copy of index.php as links.php and edit that, i.e. replace everything from <?php // If there are any posts: up to and including <?php endif; // END of: If there are any posts ?> with your wp_list_bookmarks code

AndrewRH Jun 4, 2009 08:49 AM

Thanks!

I tweaked your suggestion a bit so that the page title and the kicker / byline / footer would also appear...

Any chance of including this links.php file in future releases of the theme?
Code:

<?php
/*
Template Name: Links
*/
?>
<?php // get all options:
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header(); ?>
                        <?php bfa_post_kicker(); // Post Kicker: To edit the output, see functions/bfa_post_parts.php ?>

                        <?php bfa_post_headline(); // Post Headline: To edit the output, see functions/bfa_post_parts.php ?>

                        <?php bfa_post_byline(); // Post Byline: To edit the output, see functions/bfa_post_parts.php ?>


                        <?php wp_list_bookmarks(); ?>

                        <?php bfa_post_footer(); // Post Footer: To edit the output, see functions/bfa_post_parts.php ?>

<?php get_footer(); ?>

~Andrew~

Flynn Jun 4, 2009 06:13 PM

I am adding something to make this easier

abodnar Jun 3, 2010 04:59 PM

Hello :) I was quite excited to read:

"I am adding something to make this easier"

Has that something by chance appeared yet?
I too would really like to have a links page for a long blogroll.

abodnar Jun 11, 2010 11:01 AM

I found what I needed. The Plugin "WP Render Blogroll Links" is perfect for displaying links on a page.


All times are GMT -6. The time now is 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.