Skip to content
Newer
Older
100644 102 lines (71 sloc) 2.85 KB
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
1 <?php
2 /**
3 * Template Name: Bookmarks
4 *
5 * A custom page template for displaying the site's bookmarks/links.
30f9e0d @jayj Code cleanup
authored Jun 1, 2012
6 *
bda9730 @jayj PHPDoc changes. You can browse the documentation on http://wpthemes.j…
authored Mar 20, 2012
7 * @package Cakifo
8 * @subpackage Template
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
9 */
10
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
11 get_header(); // Loads the header.php template ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
12
13 <?php do_atomic( 'before_main' ); // cakifo_before_main ?>
14
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
15 <div id="main">
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
16
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
17 <?php do_atomic( 'open_main' ); // cakifo_open_main ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
18
19 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
20
21 <?php do_atomic( 'before_entry' ); //cakifo_before_entry ?>
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
22
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
23 <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
24
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
25 <?php do_atomic( 'open_entry' ); //cakifo_open_entry ?>
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
26
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
27 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
28
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
29 <?php
3fb3ddb @jayj Inline documentation improvements
authored Jan 27, 2012
30 // Get the thumbnail
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
31 if ( current_theme_supports( 'get-the-image' ) )
32 get_the_image( array(
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
33 'meta_key' => 'Thumbnail',
34 'size' => 'thumbnail',
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
35 'attachment' => false
36 ) );
37 ?>
38
39 <div class="entry-content">
d5b6def @jayj Make the Cakifo textdomain static due to changes in Hybrid Core
authored Oct 20, 2011
40 <?php the_content( __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'cakifo' ) ); ?>
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
41
42 <?php do_atomic( 'before_bookmarks' ); //cakifo_before_bookmarks ?>
43
44 <?php
45 $args = array(
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
46 'title_li' => false,
47 'title_before' => '<h2>',
48 'title_after' => '</h2>',
49 'category_before' => false,
50 'category_after' => false,
51 'categorize' => true,
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
52 'show_description' => true,
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
53 'between' => '<br />',
54 'show_images' => false,
55 'show_rating' => false,
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
56 );
57
3fb3ddb @jayj Inline documentation improvements
authored Jan 27, 2012
58 wp_list_bookmarks( $args );
59 ?>
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
60
61 <?php do_atomic( 'after_bookmarks' ); //cakifo_after_bookmarks ?>
62
d5b6def @jayj Make the Cakifo textdomain static due to changes in Hybrid Core
authored Oct 20, 2011
63 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'cakifo' ), 'after' => '</p>' ) ); ?>
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
64 </div> <!-- .entry-content -->
65
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
66 <?php edit_post_link( __( 'Edit', 'cakifo' ), '<div class="entry-meta">', '</div>' ); ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
67
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
68 <div class="clear"></div>
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
69
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
70 <?php do_atomic( 'close_entry' ); //cakifo_close_entry ?>
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
71
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
72 </article> <!-- #post-<?php the_ID(); ?> -->
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
73
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
74 <?php do_atomic( 'after_entry' ); //cakifo_after_entry ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
75
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
76 <?php do_atomic( 'after_singular' ); // cakifo_after_singular ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
77
78 <?php
3fb3ddb @jayj Inline documentation improvements
authored Jan 27, 2012
79 /**
80 * Show comments on singular pages? (not single posts)
81 *
82 * On by default. Disable in child theme with
83 * add_filter( 'show_singular_comments', '__return_false' );
84 */
85 $display = apply_filters( 'show_singular_comments', true );
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
86
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
87 if ( $display )
88 comments_template( '/comments.php', true ); // Loads the comments.php template
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
89 ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
90
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
91 <?php endwhile; ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
92
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
93 <?php do_atomic( 'close_main' ); // cakifo_close_main ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
94
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
95 <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
96
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
97 </div> <!-- #main -->
999c5d4 @jayj 404 page, archives template, bookmarks template
authored Apr 19, 2011
98
0116328 @jayj Spacing clean ups
authored Feb 16, 2012
99 <?php do_atomic( 'after_main' ); // cakifo_after_main ?>
98d2d96 @jayj Code cleanup, a little easter egg, updated scripts and other improvem…
authored Apr 19, 2011
100
30f9e0d @jayj Code cleanup
authored Jun 1, 2012
101 <?php get_footer(); // Loads the footer.php template ?>
Something went wrong with that request. Please try again.