-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.php
executable file
·53 lines (35 loc) · 2 KB
/
search.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
<?php get_header(); ?>
<!-- Left Sec -->
<section id="left-sec" class="col-md-9 col-sm-8">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article class="master-post" id="post-<?php the_ID(); ?>">
<header class="post-header">
<i class="fa fa-file-text-o fa-lg"></i>
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
</header>
<div class="post-body clearfix">
<?php if ( has_post_thumbnail() ) { the_post_thumbnail('thumbnail', array('class' => 'post-img img-thumbnail img-responsive')); } ?>
<?php the_content(); ?>
</div>
<footer class="post-footer clearfix">
<?php if( function_exists('the_views') ) { ?>
<span id="view">
<i class="fa fa-eye fa-lg"></i>
<?php the_views(); ?>
</span>
<?php } ?>
<span id="date">
<i class="fa fa-calendar fa-lg"></i>
<?php the_time('j / m / Y'); ?>
</span>
<span id="cat">
<i class="fa fa-bars fa-lg"></i>
<?php the_category(' '); ?>
</span>
</footer>
</article>
<?php endwhile; endif; wp_reset_postdata(); ?>
<?php professor_posts_nav(); ?>
</section>
<!-- /Left Sec -->
<?php get_footer(); ?>