-
Notifications
You must be signed in to change notification settings - Fork 1
/
page-template-links.php
76 lines (56 loc) · 1.84 KB
/
page-template-links.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
/* Template Name: Links Page */
get_header(); ?>
<div id="page" class="clearfix">
<div id="container">
<div id="content" role="main">
<?php do_action('before_content'); ?>
<?php stf_breadcrumbs(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div class="entry-wrap">
<!-- Post -->
<div id="entry-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-body">
<?php get_template_part('entry', 'header'); ?>
<!-- Entry Content -->
<div class="entry-content">
<?php the_content(); ?>
<?php stf_entry_pages(); ?>
<!-- Links -->
<?php $args = array(
'orderby' => 'name',
'order' => 'ASC',
'limit' => -1,
'category' => '',
'exclude_category' => '',
'category_name' => '',
'hide_invisible' => 1,
'show_updated' => 0,
'echo' => 1,
'categorize' => 1,
'title_li' => '' ,
'title_before' => '<h3>',
'title_after' => '</h3>',
'category_orderby' => 'name',
'category_order' => 'ASC',
'class' => 'linkcat',
'category_before' => '<div id=%id class="%class link-category">',
'category_after' => '</div>' );
wp_list_bookmarks( $args );
?>
</div>
<!-- [End] Entry Content -->
<?php get_template_part('entry', 'footer'); ?>
</div>
<div class="clear"></div>
</div>
<!-- [End] Post -->
</div>
<?php stf_comments(); ?>
<?php endwhile; // end of the loop. ?>
<?php do_action('after_content'); ?>
</div>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>