-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchive-product.php
More file actions
executable file
·42 lines (35 loc) · 931 Bytes
/
archive-product.php
File metadata and controls
executable file
·42 lines (35 loc) · 931 Bytes
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
<?php
/**
* The Template for displaying all single posts.
*
* @package Shiftwp
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<article class="page">
<?php /* ?>
<header class="page-title">
<h1>Portfolio</h1>
</header>
<?php */ ?>
<ul class="listing products">
<?php while ( have_posts() ) : the_post(); ?>
<li id="project-<?php echo $user->id; ?>">
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail('thumbnail'); ?>
<p class="name">
<strong><?php the_title(); ?></strong>
<?php echo get_post_meta( get_the_ID(), 'what_does_it_do', true ); ?>
</p>
<span class="info">
<span class="button">See more</span>
</span>
</a>
</li>
<?php endwhile; // end of the loop. ?>
</ul>
</article>
</main>
</div>
<?php get_footer(); ?>