-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
328 lines (142 loc) · 9.9 KB
/
Copy pathheader.php
File metadata and controls
328 lines (142 loc) · 9.9 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="wpOceans">
<link rel="shortcut icon" type="image/png" href="<?php echo get_template_directory_uri(); ?>/assets/images/favicon.png">
<?php
wp_head();
if (is_page('about-us')) {
$title = "About Us | Coworking – Abuja's Modern Workspace for Tech & Business Teams";
$description = "Suqat is Abuja’s modern coworking hub for tech and business professionals. We provide reliable infrastructure, event spaces, and startup support.";
} elseif (is_category('courses')) {
$title = "Courses | Startup, Design Sprint & Branding Training";
$description = "Browse Suqat’s wide range of professional and personal development courses.";
} elseif (is_category('events')) {
$title = "Events | Workshops, Pitch Nights & Networking";
$description = "Join Suqat’s vibrant events in Abuja—workshops, pitch nights, and networking meetups for tech and business professionals. Gain insights, build connections, and grow together.";
} elseif (is_page('booking')) {
$title = "Booking | Reserve Coworking, Events & Courses in Abuja";
$description = "Book your spot at Suqat in Abuja—secure a coworking desk, register for events, or enroll in courses like No-Code Tools for Startups. Reserve now quickly!";
} elseif (is_page('contact')) {
$title = "Contact Us | Coworking in Abuja | Reach Us by Phone or Email";
$description = "Connect with Suqat in Abuja – your modern coworking hub for tech and business professionals. Discover our spaces, events, and courses designed to help you grow.";
} elseif (is_page('terms-and-conditions')) {
$title = "Terms & Conditions | Coworking Policies in Abuja";
$description = "Review Suqat's Terms & Conditions for coworking, events, and courses in Abuja. Understand our policies, booking terms, and user responsibilities.";
} elseif (is_front_page() || is_home() ) {
$title = "Home | Tech Workspace, Event Space & Startup Courses";
$description = "Suqat in Abuja is a modern coworking hub for tech and business professionals. Enjoy high-speed Wi-Fi, onsite tech support, late-night access, flexible event spaces, and startup courses.";
} elseif (is_page('donate')) {
$title = "Donate | Support Innovation & Coworking in Abuja";
$description = "Support Suqat in Abuja by donating to help us empower tech and business professionals. Your contribution fuels coworking, events, and startup growth.";
} elseif (is_page('galllery')) {
$title = "Galllery | Coworking Spaces, Events & Community";
$description = "Explore the Stack & Hustle Gallery showcasing modern coworking spaces, vibrant events, and our creative community. See where innovation and collaboration thrive.";
} else {
// Fallback for posts, homepage, or unknown pages
$title = get_the_title() . " | Suqat";
$description = strip_tags(get_the_excerpt());
}
?>
<title><?php echo esc_html($title); ?></title>
<meta name="description" content="<?php echo esc_attr($description); ?>">
<meta property="og:url" content="<?php echo esc_url(home_url(add_query_arg(array(), $wp->request))); ?>">
<meta property="og:image" content="<?php echo get_template_directory_uri(); ?>/assets/images/favicon.png">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/themify-icons.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/flaticon.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/animate.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/owl.carousel.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/owl.theme.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/slick.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/slick-theme.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/swiper.min.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/owl.transitions.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/jquery.fancybox.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/odometer-theme-default.css" rel="stylesheet">
<link href="<?php echo get_template_directory_uri(); ?>/assets/sass/style.css" rel="stylesheet">
<!-- Lightbox2 CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css" />
</head>
<body <?php body_class(); ?>>
<!-- start page-wrapper -->
<div class="page-wrapper">
<!-- start preloader -->
<div class="preloader">
<div class="vertical-centered-box">
<div class="content">
<div class="loader-circle"></div>
<div class="loader-line-mask">
<div class="loader-line"></div>
</div>
<img src="<?php echo get_template_directory_uri(); ?>/assets/images/preloader.png" alt="">
</div>
</div>
</div>
<!-- end preloader -->
<!-- start header -->
<header id="header">
<div class="wpo-site-header wpo-header-style-4">
<nav class="navigation navbar navbar-expand-lg navbar-light">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-3 col-md-3 col-3 d-lg-none dl-block">
<div class="mobail-menu">
<button type="button" class="navbar-toggler open-btn">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar first-angle"></span>
<span class="icon-bar middle-angle"></span>
<span class="icon-bar last-angle"></span>
</button>
</div>
</div>
<div class="col-lg-2 col-md-6 col-6">
<div class="navbar-header">
<a class="navbar-brand" href="<?php echo site_url(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/stack-and-hustle-logo.png"
alt="logo"></a>
</div>
</div>
<div class="col-lg-8 col-md-1 col-1">
<div id="navbar" class="collapse navbar-collapse navigation-holder">
<button class="menu-close"><i class="ti-close"></i></button>
<ul class="nav navbar-nav mb-2 mb-lg-0">
<li>
<a class="active" href="<?php echo site_url(); ?>">Home</a>
</li>
<li><a href="<?php echo site_url(); ?>/about-us/">About us</a></li>
<li>
<a href="<?php echo site_url(); ?>/category/courses/">Courses</a>
</li>
<li>
<a href="<?php echo site_url(); ?>/category/events/">Events</a>
</li>
<li>
<a href="<?php echo site_url(); ?>/pricing/">Pricing</a>
</li>
<li>
<a href="<?php echo site_url(); ?>/galllery/">Galllery</a>
</li>
<li><a href="<?php echo site_url(); ?>/contact/">Contact</a></li>
</ul>
</div><!-- end of nav-collapse -->
</div>
<div class="col-lg-2 col-md-2 col-2">
<div class="header-right">
<div class="btns">
<a href="<?php echo site_url(); ?>/book-space/" class="price-btn">
<!-- <span>initial price:</span> -->
<p>BOOK SPACE</p>
<!-- <i class="ti-arrow-top-right"></i> -->
</a>
</div>
</div>
</div>
</div>
</div><!-- end of container -->
</nav>
</div>
</header>
<!-- end of header -->