Created
March 28, 2012 17:33
-
-
Save jdevalk/2228482 to your computer and use it in GitHub Desktop.
Link template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: Links | |
*/ | |
?> | |
<?php get_header(); ?> | |
<div id="content"> | |
<?php | |
if (have_posts()) : while (have_posts()) : the_post(); | |
// Display post content | |
the_content(); | |
edit_post_link('Edit content.', '<p>', '</p>'); | |
// Display Links | |
wp_list_bookmarks( | |
array( | |
'category_orderby' => 'slug', | |
'category_before' => '', | |
'category_after' => '', | |
) | |
); | |
endwhile; endif; | |
?> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment