Commit 3ddc8ced by Muhammad Usman

management page

parent 81d01537
Pipeline #254 passed with stage
in 0 seconds
...@@ -44,6 +44,8 @@ function use_lms_template($data) ...@@ -44,6 +44,8 @@ function use_lms_template($data)
else if(is_page('lms-notify')) { else if(is_page('lms-notify')) {
include(__DIR__ . '/template/order-redirection.php'); include(__DIR__ . '/template/order-redirection.php');
exit; exit;
} else if(is_page('learning-management')) {
return __DIR__ . '/template/management.php';
} }
return $data; return $data;
......
...@@ -65,7 +65,8 @@ $course_categories = get_terms( array( ...@@ -65,7 +65,8 @@ $course_categories = get_terms( array(
btnTxt="Download Full List Of Courses" btnTxt="Download Full List Of Courses"
txt="Not sure which course to take?"]'); ?> txt="Not sure which course to take?"]'); ?>
<?php echo do_shortcode('[vq_course_banner id="6173"]') ?> <?php $ad = get_page_by_path('learning-management');
echo do_shortcode("[vq_course_banner id=\"{$ad->ID}\"]") ?>
</div> </div>
<?php <?php
get_footer(); get_footer();
......
...@@ -6,8 +6,8 @@ get_header(); ...@@ -6,8 +6,8 @@ get_header();
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="e-learning-heading"> <div class="e-learning-heading">
<h2>Professional Development anytime, anywhere</h2> <h2><?php the_title(); ?></h2>
<h3>Special intro price: $1.00 per user / per month</h3> <h3><?php the_excerpt() ?></h3>
</div> </div>
</div> </div>
</div> </div>
...@@ -15,45 +15,31 @@ get_header(); ...@@ -15,45 +15,31 @@ get_header();
<div class="learning-profile-bg"> <div class="learning-profile-bg">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm-12"> <?php the_content(); ?>
<div class="e-learning-heading">
<h4>Learning management system</h4>
</div>
</div>
<div class="col-sm-12">
<div class="course-heading">
<p>It is a long established fact that a reader will be distracted by the readable content of
a page when looking at its layout. The point of using Lorem Ipsum is that it has a
more-or-less normal distribution of letters, as opposed to using 'Content here, content
here', making it look like readable English. Many desktop publishing packages and web
page editors now use Lorem Ipsum as their default model text, and a search for 'lorem
ipsum' will uncover many web sites still in their infancy. Various versions have evolved
over the years, sometimes by accident, sometimes on purpose (injected humour and the
like).</p>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm-8"> <div class="col-sm-8">
<a href="#"><img class="management-video" src="<?php plugin_dir_url(__FILE__);?>imgaes/management-video.jpg" alt=""/></a> <video src="<?php echo get_post_meta(get_the_ID(), 'page_video_url', true); ?>" width="100%" controls>
</video>
<div class="course-box"> <div class="course-box">
<div class="col-sm-9"> <div class="col-sm-9">
<div class="course-heading"> <div class="course-heading">
<h3>Learning management system</h3> <h3><?php echo get_post_meta(get_the_ID(), 'page_content_extra_heading', true); ?></h3>
<p>It is a long established fact that a reader will be distracted by the readable <p><?php echo get_post_meta(get_the_ID(), 'page_content_extra_description', true); ?></p>
content of a page when looking at its layout.</p>
</div> </div>
</div> </div>
<div class="col-sm-3 col-padding"> <div class="col-sm-3 col-padding">
<div class="download-course-box"> <div class="download-course-box">
<div class="course-heading"> <div class="course-heading">
<h4>Download <br>data sheet</h4> <h4>
</div> <a href="<?php echo get_post_meta(get_the_ID(), 'page_content_download_url', true) ?>">
<div class="text-center"> Download <br>data sheet
<a href="#"><img src="<?php plugin_dir_url(__FILE__);?>imgaes/download-icon.png" alt=""/></a> </a></h4>
</div> </div>
</div> </div>
</div> </div>
...@@ -61,56 +47,20 @@ get_header(); ...@@ -61,56 +47,20 @@ get_header();
</div> </div>
</div> </div>
<div class="col-sm-4"> <div class="col-sm-4">
<div class="inquire-box"> <?php echo do_shortcode('[contact-form-7 id="6212" title="Inquiry Form"]'); ?>
<div class="inquire-heading">
<h2>Inquire Now</h2>
</div>
<div class="col-sm-12">
<input type="email" class="form-control text-feild" id="exampleInputEmail1"
placeholder="Name">
</div>
<div class="col-sm-12">
<input type="email" class="form-control text-feild" id="exampleInputEmail1"
placeholder="Email">
</div>
<div class="col-sm-12">
<select class="form-control text-feild">
<option>E-Learning Solution</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<div class="col-sm-12">
<textarea class="form-control text-feild" placeholder="Message" rows="5"></textarea>
</div>
<div class="col-sm-12">
<input type="email" class="form-control text-feild" id="exampleInputEmail1"
placeholder="Verification Code">
</div>
<div class="col-sm-12">
<button type="submit" class="submit-course-button">Submit</button>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<div class="course-take-bg color-set margin-set">
<div class="container">
<div class="row">
<div class="col-sm-7">
<div class="e-learning-heading">
<h6>Ready to begin?</h6>
</div>
</div>
<div class="col-sm-5">
<button type="submit" class="download-course-button-1">Sign Up today</button>
</div>
</div> </div>
</div> </div>
</div> </div>
<br><br>
<?php echo do_shortcode('[vq_short_banner
txtClr="#fff"
btnClr="#fff"
bgClr="#2898c4"
btnBg="#f89f18"
btnTxt="Sign Up today"
btnLink="lms-pricing"
txt="READY TO BEGIN??"]'); ?>
</div> </div>
<?php <?php
get_footer(); get_footer();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment