-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathitroisolution.php
More file actions
145 lines (104 loc) · 7.35 KB
/
itroisolution.php
File metadata and controls
145 lines (104 loc) · 7.35 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?php
/**
* The template for displaying all pages.
* template name:IT-ROI Knowledge & insight
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that other
* 'pages' on your WordPress site will use a different template.
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header(); ?>
<div class="content" >
<div class="panel-display panel-2col clearfix">
<div class="panel-panel panel-col-first">
<div class="inside">
<div class="panel-pane pane-block pane-quicktabs-homepage-quicktab" style="margin-top: 16px;">
<div class="pane-content">
<div id="quicktabs-homepage_quicktab" class="quicktabs-wrapper quicktabs-style-nostyle"><div id="quicktabs-container-homepage_quicktab" class="quicktabs_main quicktabs-style-nostyle"><div id="quicktabs-tabpage-homepage_quicktab-0" class="quicktabs-tabpage "><div id="block-views-latest-articles-block-1" class="block block-views">
<div class="content">
<div class="view view-latest-articles view-id-latest_articles view-display-id-block_1 view-dom-id-d2aad2774da5445702cc7a30b6ba6da6">
<div class="view-content">
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts('&paged=' . $paged); ?>
<?php if ( have_posts() ) : ?>
<header class="archive-header">
<h1 class="archive-title">All posts published by: IT-ROI Knowledge & insight</h1>
</header><!-- .archive-header -->
<?php /* The loop */ ?>
<?php
while ( have_posts() ) : the_post();
?>
<div class="post" id="<?php the_ID(); ?>">
<?php
$key='permission';
$post_id=$post->ID;
$permission = get_post_meta( $post_id, $key, true ); ?>
<div class="ds-2col node node-article node-promoted node-teaser view-mode-teaser clearfix">
<div class="">
<br/>
<h2 class="entry-title" style="width:750px;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="pruena" style="">
<div style="float: left;">
<div class="name-author_div"> <div class="label-inline">By </div><a href="?author=<?php echo the_author_id(); ?>" title="View user profile." class="username" xml:lang="" about="#" typeof="sioc:UserAccount" property="foaf:name" datatype="" style="color: rgba(5, 55, 105, 0.8);font-weight: bold;"><?php the_author(); ?></a>
</div>
</div>
<div class="field-item even" style="float: left;">
<div style="font-weight: bold; color: #949B9F;"> On <?php $post_date1=$post->post_date;
$post_date = date("F jS, Y", strtotime($post_date1));
echo $post_date; ?>
</div>
</div>
</div>
<div class="entry-content" property="schema:articleBody content:encoded">
<!-- changes 19_01_2014 -->
<?php
$short_des=get_field('short_description');
if($short_des!="")
{
$short_des= strip_tags($short_des,'<p><span><li><ul><ol><a><br/><br>');
echo "<p>".$short_des."</p>";
}
else
{
the_content();
}
?>
<!-- changes finish 19_01_2014 -->
</div>
<span class="entry-title1" style="font-size:16px;font-weight: lighter;color:#003963;margin-bottom:9px;font-weight:bold;">
<?php if($short_des!="") { ?>
<a href="<?php the_permalink(); ?>" > Read the rest of entry >> </a>
<?php } ?>
</span>
<div class="cat categories">
<span style="float:left">In: [<?php the_category('], ['); ?>]</span> | <a href="<?php the_permalink(); ?>"><?php comments_number(); ?> »</a>
</div>
</div>
</div>
</div>
<?php
endwhile; ?>
<?php wpbeginner_numeric_posts_nav(); ?>
<?php //echo twentythirteen_paging_nav(); ?>
<?php else : ?>
<?php //get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</div>
</div> </div>
</div>
</div> </div>
</div>
</div>
</div>
</div> </div>
<?php get_sidebar(); ?>
</div>
</div>
</section>
</div>
<div style="clear:both;height:18px;"></div>
<?php get_footer(); ?>