This repository has been archived by the owner on Dec 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about-us.php
102 lines (89 loc) · 3.86 KB
/
about-us.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
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
<?php
/**
* Template Name: about-us
* Description: Displays all posts
*/
get_header(); ?>
<head>
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(). '/style.css' ?>">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="University Radio Nottingham is the multi-award–winning university radio station of the University of Nottingham Students’ Union.">
<meta name="author" content="">
<title>URN MAIN SITE</title>
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(). '/vendor/fontawesome-free/css/all.min.css' ?>">
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(). '/vendor/bootstrap/css/bootstrap.min.css' ?>">
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(). '/scss/urnportal.scss' ?>">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i' ?>">
</head>
<div class="main-page-content">
<?php
// Start the loop. </div>
while ( have_posts() ) : the_post();
// Include the page content template.
?>
<div class="row" id="whiteness">
<div class="col">
<?php
$user = wp_get_current_user();
if ( in_array( 'Administrator', $user->roles ) ) {
?>
<!-- Any HTML what you need to hide from "Customers" and show for "Vendor" -->
<div>
<?php edit_post_link(__('Edit Page')); ?>
</div>
<?php } ?>
<article id="post-<?php the_ID();?>" <?php post_class();?>>
<header class="entry-header ">
<?php the_title(' <div class="text-center"> <h1 class="verticaltext_content">','</h1> </div>');?>
</div>
</div>
<div class="entry-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-10">
</header>
<!-- <div class="text-left"> CHANGE THIS FOR TEXT ALLIGNMENT-->
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__('Pages:', 'URN-2020Redesign' ),
'after' => '</div',
));
?>
</div>
<footer class="entry-footer">
<?php
edit_post_link(
sprintf(
esc_html__('Edit %s', 'URN-2020Redesign'),
the_title('<span class="screen-reader-text">"','"
</span>', false)
),
'<span class="edit-link">',
'</span>'
);
?>
</div>
</footer>
</article>
<?php // End the loop.
endwhile;
?>
</div>
<div class="col-sm-1">
</div>
</div>
</div>
<!--
<div class="jumbotron" id = "jumbo-about">
<div class="purp">
<a id="click-here" href="<?php echo site_url('/get-involved'); ?>"><h1>Click Here to get Involved!</h1></a>
<p>See how to get in contact whether you are a musician, student or interested in the tech side of the station</p>
<p>For general queries, get in touch at [email protected] </p>
</div>
</div>-->
<?php get_footer(); ?>