-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-damn-plus.php
More file actions
33 lines (25 loc) · 1.35 KB
/
page-damn-plus.php
File metadata and controls
33 lines (25 loc) · 1.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
<?php the_content(); ?>
<div class="bordered marginBottom2em profile-options button-box">
<a href="/category/damn-plus/" class="btn btn-primary btn-lg marginRight">VIEW ALL DAM<sub>N</sub>° <span>+</span> ARTICLES</a> <a href="/join-damn-plus/damn-plus/profile/" class="btn btn-primary btn-lg">EDIT PROFILE</a>
</div>
<section class="widget damn-plus-login-form visible-xs-block bordered marginBottom2em">
<?php if ( is_active_sidebar( 'sidebar-damn-plus-widget' ) ) : dynamic_sidebar( 'sidebar-damn-plus-widget' ); endif; ?>
<div class="clearthis"></div>
</section>
<div class="clearthis"></div>
<div class="related-posts clearfix">
<div class="text-center">
<h3 class="marginAuto bottomBorderInline">DAM<sub>N</sub>° <span>+</span> Articles </h3>
</div>
<div class="row">
<?php
$damn_query1 = new WP_Query( array( 'post_type' => array( 'post' ), 'showposts' => 15, 'offset' => 0, 'category_name' => "damn-plus"));
while($damn_query1->have_posts()) : $damn_query1->the_post();
?>
<?php get_template_part('templates/content', get_post_type() != 'post' ? get_post_type() : get_post_format()); ?>
<?php endwhile; ?>
<?php wp_reset_postdata(); // reset the query ?>
</div>
</div>
<div class="clearthis"></div>
<?php wp_link_pages(['before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>