-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage-support.php
45 lines (33 loc) · 1.26 KB
/
page-support.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
<?php
/**
* Template Name: Support
* Description:
*/
get_header(); ?>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo("template_url"); ?>/css/support.css" />
<div class="na-wrapper">
<div class="na-wbox content support-page">
<div class="partner-logos">
<?php
$page = get_page_by_title( 'Partner-Logos' );
$page_id = $page->ID;
$lang_id = lang_page_id($page_id);
$lang_page = get_page( $lang_id );
$content = $lang_page->post_content;
if ( get_post_status ( $page_id ) == 'publish' ) echo $content;
?>
</div>
<div class="na-column23">
<div class="na-col2">
<div id="content" class="na-cbox" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div>
<?php get_sidebar('support'); ?>
</div>
</div>
</div>
<?php get_footer(); ?>