-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
executable file
·69 lines (60 loc) · 1.52 KB
/
Copy pathsingle.php
File metadata and controls
executable file
·69 lines (60 loc) · 1.52 KB
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
<?php
/*
Template Name: Single
*/
$args = array(
'show_option_all' => '',
'orderby' => 'name',
'order' => 'ASC',
'style' => 'list',
'show_count' => 0,
'hide_empty' => 1,
'use_desc_for_title' => 1,
'child_of' => 0,
'feed' => '',
'feed_type' => '',
'feed_image' => '',
'exclude' => '',
'exclude_tree' => '',
'include' => '',
'hierarchical' => 1,
'show_option_none' => '',
'number' => null,
'echo' => 1,
'depth' => 0,
'current_category' => 0,
'pad_counts' => 0,
'walker' => null,
);
$project_technologies_args = $args;
$project_technologies_args['title_li'] = __( 'Technologies:', 'nyctech' );
$project_technologies_args['taxonomy'] = 'technology';
$project_contributions_args = $args;
$project_contributions_args['title_li'] = __( 'Contributions:', 'nyctech' );
$project_contributions_args['taxonomy'] = 'contribution';
get_header();
?>
<main id="main">
<div class="main-content">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
?>
<?php get_template_part( 'templates/content', 'single' ); ?>
<section class="comments boxed">
<?php comments_template(); ?>
</section>
<?php
endwhile;
else :
?>
<article class="message">
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?>
</article>
<?php endif; ?>
</div>
</main>
<?php get_footer(); ?>