-
Notifications
You must be signed in to change notification settings - Fork 2
/
404.php
33 lines (33 loc) · 1.12 KB
/
404.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
<?php
get_header(vibe_get_header());
?>
<section id="content">
<?php do_action('wplms_after_header'); ?>
<div class="<?php echo vibe_get_container(); ?> error-page-wrapper">
<h1 class="text-center">Ooops...</h1>
<h4 class="text-center"> We were unable to find the page you are looking for.</h4>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8 text-center">
<div class="search_wrapper">
<form method="GET" action="<?php echo site_url(); ?>">
<input type="hidden" name="post_type" value="course">
<input type="text" name="s" placeholder="Search courses.." value="">
</form>
</div>
<?php the_widget('vibe_course_categories'); ?>
<div class="course-button">
<?php
$bp_pages = get_option('bp-pages');
$courses_page_id = $bp_pages['course'];
?>
<a href="<?php echo get_permalink( $courses_page_id ); ?>" class="button" role="button">Browse All Courses</a>
</div>
</div>
<div class="col-md-2"></div>
</div>
</div>
</section>
<?php
get_footer(vibe_get_footer());
?>