Commit 9fce169c by Muhammad Usman

listing page, courses page, shortcodes both

parent b377c5bd
<?php
add_action('add_meta_boxes', 'vq_add_custom_meta_boxes', 10, 2);
function vq_render_short_banner_shortcode_metabox() {
echo '[vq_short_banner bgClr="" btnBg="" txt="" txtClr="" btnClr="" btnLink="" btnTxt=""]';
}
function vq_render_course_attachment_metabox() {
wp_enqueue_media();
$file = file_get_contents(__DIR__ . '/includes/attachmentAndPrice.html');
$attachment_id = get_post_meta(get_the_ID(), 'course_attachment_id', true);
$attachment_title = get_post_meta(get_the_ID(), 'course_attachment_title', true);
$courseFee = get_post_meta(get_the_ID(), 'course_fee', true);
if($attachment_id > 0) {
$file = str_replace('[[ATTACHMENT]]', $attachment_title, $file);
$file = str_replace('[[ATTACHMENT_ID]]', $attachment_id, $file);
} else {
$file = str_replace('[[ATTACHMENT]]', 'NONE', $file);
$file = str_replace('[[ATTACHMENT_ID]]', -1, $file);
}
if($courseFee > 0) {
$file = str_replace('[[PRICE]]', $courseFee, $file);
} else {
$file = str_replace('[[PRICE]]', '', $file);
}
echo $file;
}
function vq_add_custom_meta_boxes() {
add_meta_box(
'vq_short_banner_shortcode_metabox',
'Short Banner Shortcode',
'vq_render_short_banner_shortcode_metabox',
'vq_course',
'side',
'high'
);
add_meta_box(
'vq_course_attachment_metabox',
'Attachment',
'vq_render_course_attachment_metabox',
'vq_course',
'advanced',
'high'
);
}
<?php
add_action('save_post_vq_course', 'vq_handle_course_post');
function vq_handle_course_post() {
if(isset($_POST['course_attachment_id'])) {
$attachment_id = $_POST['course_attachment_id'];
$attachment_title = $_POST['course_attachment_title'];
update_post_meta(get_the_ID(), 'course_attachment_id', $attachment_id);
update_post_meta(get_the_ID(), 'course_attachment_title', $attachment_title);
}
if(isset($_POST['course_fee'])) {
update_post_meta(get_the_ID(), 'course_fee', $_POST['course_fee']);
}
}
\ No newline at end of file
<label>Course Fee: </label>
<input type="text" name="course_fee" value="[[PRICE]]"/>
<br>
<input type="hidden" name="course_attachment_id" id="course_attachment_id" value="">
<input type="hidden" name="course_attachment_title" id="course_attachment_title" value="">
<h4 id="attachment_title">None</h4>
<input id="upload_course_attachment" type="button" class="button center-block" value="Upload Attachment"/>
<input id="remove_attachment" type="button" class="button center-block" value="Remove Attachment"/>
<script>
var title = '[[ATTACHMENT]]';
var attachment_id = [[ATTACHMENT_ID]];
if(attachment_id > 0) {
jQuery("#course_attachment_id").val(attachment_id);
jQuery("#attachment_title").text(title);
jQuery("#course_attachment_title").val(title);
}
jQuery("#remove_attachment").on('click', function() {
jQuery("#attachment_title").text('None');
jQuery("#course_attachment_id").val(-1);
jQuery("#course_attachment_title").val(-1);
});
jQuery(document).ready(function () {
var mediaUploader;
jQuery('#upload_course_attachment').on('click', function ( e ) {
e.preventDefault();
if (mediaUploader) {
mediaUploader.open();
return;
}
mediaUploader = wp.media.frames.file_frame = wp.media({
title: 'Select Attachment',
button: {
text: 'Choose Attachment'
},
multiple: false
});
mediaUploader.on('select', function () {
attachment = mediaUploader.state().get('selection').first().toJSON();
jQuery("#course_attachment_id").val(attachment.id);
jQuery("#attachment_title").text(attachment.filename);
jQuery("#course_attachment_title").val(attachment.filename);
});
mediaUploader.open();
});
});
</script>
\ No newline at end of file
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="e-learning-heading">
<h4>[[BANNER_HEADING]]</h4>
</div>
</div>
</div>
</div>
<div class="learning-manaegment-image" style="background-image: url([[BG_IMG]]);">
<div class="container">
<div class="row">
<div class="col-sm-4">
<div class="intro-box">
<div class="intro-heading">
<h2>Special <br>intro <br>price</h2>
<h3>$1.00</h3>
<h4>Per user / Per month</h4>
</div>
</div>
</div>
<div class="col-sm-8">
<div class="intro-heading">
<p>[[BANNER_DESCRIPTION]]</p>
</div>
<button type="submit" class="learn-button-1">Loern More</button>
</div>
</div>
</div>
</div>
\ No newline at end of file
<div class="course-take-bg" style="background-color: [[BANNER_BG]];">
<div class="container">
<div class="row">
<div class="col-sm-7">
<div class="e-learning-heading">
<h6 style="color: [[TXT_CLR]]">[[TXT]]</h6>
</div>
</div>
<div class="col-sm-5">
<div class="e-learning-link">
<a href="[[BTN_LINK]]" style="background-color: [[BTN_BG]]; color: [[BTN_CLR]]" class="download-course-button">[[BTN_TXT]]</a>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
<?php <?php
require_once('admin/ct_max_meta.php'); require_once('admin/ct_max_meta.php');
require_once('admin/handle-post.php');
require_once('admin/handle-metaboxes.php');
add_action('init', 'vq_apex_custom_posts'); add_action('init', 'vq_apex_custom_posts');
add_action('init', 'vq_apex_custom_taxonomies'); add_action('init', 'vq_apex_custom_taxonomies');
add_shortcode('vq_short_banner', 'vq_render_short_banner'); add_action( 'admin_menu', 'vq_add_plugin_setting_page' );
add_action('add_meta_boxes', 'vq_add_custom_meta_boxes', 10, 2);
add_filter('wp_nav_menu_items', 'vq_add_lms_navigation', 10, 2); add_filter('wp_nav_menu_items', 'vq_add_lms_navigation', 10, 2);
add_filter( 'query_vars', 'vq_query_vars_filter' );
add_shortcode('vq_short_banner', 'vq_render_short_banner');
add_shortcode('vq_large_banner', 'vq_render_large_banner');
function vq_apex_custom_posts() { function vq_apex_custom_posts() {
$labels = array( $labels = array(
...@@ -63,43 +70,78 @@ function vq_apex_custom_taxonomies() { ...@@ -63,43 +70,78 @@ function vq_apex_custom_taxonomies() {
$labels, $labels,
'show_ui' => true, 'show_ui' => true,
'show_tagcloud' => false, 'show_tagcloud' => false,
'hierarchical' => true 'hierarchical' => true,
'rewrite' => array( 'slug' => 'e-learning', 'with_front' => false ),
) )
); );
} }
function vq_add_lms_navigation($items, $args) {
$items .= '<li id="menu-item-786" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-786"><a href="'.site_url('lms').'">E-Learning</a></li>';
return $items;
}
function vq_query_vars_filter( $vars ){
$vars[] = "course";
return $vars;
}
function vq_render_short_banner($attr) { function vq_render_short_banner($attr) {
$bgColor = isset($attr['bgClr']) ? attr['bgClr'] : "#000";
$btnBg = isset($attr['btnBg']) ? attr['btnBg'] : "#00f"; $bgColor = isset($attr['bgclr']) ? $attr['bgclr'] : "#000";
$txt = isset($attr['txt']) ? attr['txt'] : "Heading"; $btnBg = isset($attr['btnbg']) ? $attr['btnbg'] : "#00f";
$txtClr = isset($attr['txtClr']) ? attr['txtClr'] : "#fff"; $txt = isset($attr['txt']) ? $attr['txt'] : "Heading";
$btnClr = isset($attr['btnClr']) ? attr['btnClr'] : "#fff"; $txtClr = isset($attr['txtclr']) ? $attr['txtclr'] : "#fff";
$btnLink = isset($attr['btnLink']) ? $attr['btnLink'] : 'https://google.com'; $btnClr = isset($attr['btnclr']) ? $attr['btnclr'] : "#fff";
$btnTxt = isset($attr['btnTxt']) ? $attr['btnTxt'] : 'Click Here'; $btnLink = isset($attr['btnlink']) ? $attr['btnlink'] : 'https://google.com';
$btnTxt = isset($attr['btntxt']) ? $attr['btntxt'] : 'Click Here';
$a = shortcode_atts( array(
'foo' => 'something',
'bar' => 'something else', $banner = file_get_contents(__DIR__ . '/admin/includes/short-banner.html');
), $attr );
$banner = str_replace('[[TXT]]', $txt, $banner);
$banner = str_replace('[[BTN_TXT]]', $btnTxt, $banner);
$banner = str_replace('[[BANNER_BG]]', $bgColor, $banner);
$banner = str_replace('[[BTN_LINK]]', $btnLink, $banner);
$banner = str_replace('[[BTN_BG]]', $btnBg, $banner);
$banner = str_replace('[[TXT_CLR]]', $txtClr, $banner);
$banner = str_replace('[[BTN_CLR]]', $btnClr, $banner);
echo $banner;
} }
function vq_add_custom_meta_boxes() { function vq_render_large_banner($attr) {
add_meta_box(
'vq_short_banner_shortcode_metabox', $pgslg = isset($attr['pgslg']) ? $attr['pgslg'] : "none";
'Short Banner Shortcode',
'vq_render_short_banner_shortcode_metabox', $page = get_page_by_path($pgslg);
'vq_course',
'side', $banner = file_get_contents(__DIR__ . '/admin/includes/large-banner.html');
'high'
); $banner = str_replace('[[BANNER_HEADING]]', $page->post_title, $banner);
$banner = str_replace('[[BANNER_DESCRIPTION]]', $page->post_content, $banner);
$banner = str_replace('[[BG_IMG]]', get_the_post_thumbnail_url(get_page_by_path($pgslg)), $banner);
echo $banner;
} }
function vq_render_short_banner_shortcode_metabox() { function vq_add_plugin_setting_page() {
echo '[vq_short_banner bgClr="" btnBg="" txt="" txtClr="" btnClr="" btnLink="" btnTxt=""]'; add_options_page(
'LMS Settings',
'LMS Settings',
'manage_options',
'vq_lms_settings',
'vq_render_lms_settings'
);
} }
function vq_add_lms_navigation($items, $args) { function vq_render_lms_settings() {
$items .= '<li id="menu-item-786" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-786"><a href="'.site_url('lms').'">E-Learning</a></li>';
return $items;
} }
\ No newline at end of file
...@@ -20,13 +20,19 @@ register_activation_hook(__FILE__, 'vq_apex_lms_activation'); ...@@ -20,13 +20,19 @@ register_activation_hook(__FILE__, 'vq_apex_lms_activation');
register_deactivation_hook(__FILE__, 'vq_apx_lms_deactivation'); register_deactivation_hook(__FILE__, 'vq_apx_lms_deactivation');
function vq_apex_lms_activation() { add_action("init", "register_rewrite_rules");
function vq_apex_lms_activation() {
register_rewrite_rules();
// clear the permalinks after the post type has been registered // clear the permalinks after the post type has been registered
flush_rewrite_rules(); flush_rewrite_rules();
} }
function register_rewrite_rules(){
add_rewrite_rule("^lms-courses/([A-Za-z0-9-]+)/?$", 'index.php?pagename=lms-courses&course=$matches[1]', 'top');
}
function vq_apx_lms_deactivation() { function vq_apx_lms_deactivation() {
flush_rewrite_rules(); flush_rewrite_rules();
......
...@@ -16,5 +16,9 @@ function use_lms_template($data) ...@@ -16,5 +16,9 @@ function use_lms_template($data)
return __DIR__ . "/template/e-learning.php"; return __DIR__ . "/template/e-learning.php";
} }
if(is_page('lms-courses')) {
return __DIR__ . "/template/it-course.php";
}
return $data; return $data;
} }
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
} }
.learning-profile-box .learning-profile-box
{ {
width: 100%; background-color: white; margin-top: 30px; width: 100%; background-color: white; margin-top: 30px; padding-bottom: 20px;
} }
.download-course-button .download-course-button
{ {
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
} }
.course-take-bg .course-take-bg
{ {
width: 100%; background-color: #f89f18; padding-top: 30px; padding-bottom: 30px; margin-bottom: 20px; width: 100%; background-color: #f89f18; padding-top: 30px; padding-bottom: 30px;
} }
.intro-box .intro-box
{ {
...@@ -124,9 +124,16 @@ ...@@ -124,9 +124,16 @@
} }
.course-heading h4 .course-heading h4
{ {
font-size: 18px; text-align: center; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; color: #fff; line-height: 30px; font-size: 18px; text-align: center; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; color: #fff; line-height: 20px;
} }
.course-heading p .course-heading h4 a {
color: #fff;
text-decoration: none;
}
.col-padding {
padding-right: 0 !important;
}
.course-p
{ {
font-size: 16px; color: #838383; letter-spacing: 2px; text-align: justify; line-height: 32px; font-size: 16px; color: #838383; letter-spacing: 2px; text-align: justify; line-height: 32px;
} }
...@@ -297,4 +304,7 @@ ...@@ -297,4 +304,7 @@
.login-button:hover .login-button:hover
{ {
background-color: #41a4cb; color: white; background-color: #41a4cb; color: white;
}
.e-learning-link{
margin-top: 5%;
} }
\ No newline at end of file
<?php <?php
get_header(); get_header();
$page = get_page_by_path('lms');
$course_categories = get_terms( array(
'taxonomy' => 'vq_course_taxonomy',
'hide_empty' => false,
));
//echo "<pre>";
//print_r($course_categories);
//exit;
?> ?>
<div class="bootstrap-iso"> <div class="bootstrap-iso">
<div class="e-learning-banner"> <div class="e-learning-banner" style="background-image: url(<?php echo get_the_post_thumbnail_url($page); ?>)">
<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 echo $page->post_title ?></h2>
<h3>Unlimited time only! choose any course for $49.00 with 1 year access!</h3> <h3><?php echo $page->post_content ?></h3>
</div> </div>
</div> </div>
</div> </div>
...@@ -17,115 +28,46 @@ get_header(); ...@@ -17,115 +28,46 @@ get_header();
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="e-learning-heading"> <div class="e-learning-heading">
<h4>Our E-learning Profile</h4> <h4><?php echo $page->post_excerpt ?></h4>
</div> </div>
</div> </div>
<?php foreach ($course_categories as $category){ ?>
<div class="col-sm-3"> <div class="col-sm-3">
<div class="learning-profile-box"> <div class="learning-profile-box">
<div class="e-learning-course-1"> <div class="e-learning-course-1" style="background-image: url(<?php echo wp_get_attachment_url(get_term_meta($category->term_id, 'vq_course_taxonomy-image-id', true)) ?>)">
<div class="e-learning-heading"> <div class="e-learning-heading">
<h5>It Courses</h5> <h5><?php echo $category->name ?></h5>
</div> </div>
</div> </div>
<div class="col-sm-12"> <div class="col-sm-12">
<div class="e-learning-heading"> <div class="e-learning-heading">
<p>Mauris placerat placerat ligula at scelerisque. Sed accumsan purus non turpis <p><?php echo $category->description ?></p>
commodo fermentum. Curabitur efficitur faucibus blandit. Sed id sem
ullamcorper,</p>
</div> </div>
</div> </div>
<div class="col-sm-12"> <div class="col-sm-12">
<div class="text-center"> <div class="text-center">
<button type="submit" class="learn-button">Learn More</button> <a href="<?php echo get_permalink(get_page_by_path('lms-courses')) . $category->slug ?>" class="learn-button">Learn More</a>
</div> </div>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</div> </div>
<div class="col-sm-3"> <?php } ?>
<div class="learning-profile-box">
<div class="e-learning-course-1">
<div class="e-learning-heading">
<h5>It Courses</h5>
</div>
</div>
<div class="col-sm-12">
<div class="e-learning-heading">
<p>Mauris placerat placerat ligula at scelerisque. Sed accumsan purus non turpis
commodo fermentum. Curabitur efficitur faucibus blandit. Sed id sem
ullamcorper,</p>
</div>
</div>
<div class="col-sm-12">
<div class="text-center">
<button type="submit" class="learn-button">Learn More</button>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="col-sm-3">
<div class="learning-profile-box">
<div class="e-learning-course-1">
<div class="e-learning-heading">
<h5>It Courses</h5>
</div>
</div>
<div class="col-sm-12">
<div class="e-learning-heading">
<p>Mauris placerat placerat ligula at scelerisque. Sed accumsan purus non turpis
commodo fermentum. Curabitur efficitur faucibus blandit. Sed id sem
ullamcorper,</p>
</div>
</div>
<div class="col-sm-12">
<div class="text-center">
<button type="submit" class="learn-button">Learn More</button>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="col-sm-3">
<div class="learning-profile-box">
<div class="e-learning-course-1">
<div class="e-learning-heading">
<h5>It Courses</h5>
</div>
</div>
<div class="col-sm-12">
<div class="e-learning-heading">
<p>Mauris placerat placerat ligula at scelerisque. Sed accumsan purus non turpis
commodo fermentum. Curabitur efficitur faucibus blandit. Sed id sem
ullamcorper,</p>
</div>
</div>
<div class="col-sm-12">
<div class="text-center">
<button type="submit" class="learn-button">Learn More</button>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
</div>
<div class="course-take-bg">
<div class="container">
<div class="row">
<div class="col-sm-7">
<div class="e-learning-heading">
<h6>Not sure which course to take?</h6>
</div>
</div>
<div class="col-sm-5">
<button type="submit" class="download-course-button">Download full list of courses</button>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="container">
<?php do_shortcode('[vq_short_banner
txtClr="#fff"
btnClr="#fff"
bgClr="#f89f18"
btnBg="#2898c4"
btnTxt="Download Full List Of Courses"
txt="Not sure which course to take?"]'); ?>
<?php do_shortcode('[vq_large_banner pgslg="banner"]') ?>
<!--<div class="container">
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="e-learning-heading"> <div class="e-learning-heading">
...@@ -158,7 +100,7 @@ get_header(); ...@@ -158,7 +100,7 @@ get_header();
</div> </div>
</div> </div>
</div> </div>
</div> </div>-->
</div> </div>
<?php <?php
get_footer(); get_footer();
......
<?php <?php
get_header(); get_header();
$page = get_page_by_path('lms-courses');
$tax = get_query_var('course');
$args = array(
'post_type' => 'vq_course'
);
$courses = new WP_Query($args);
//exit;
//die;
?> ?>
<div class="bootstrap-iso"> <div class="bootstrap-iso">
<div class="e-learning-banner"> <div class="e-learning-banner">
<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 echo $page->post_title ?></h2>
<h3>Unlimited time only! choose any course for $49.00 with 1 year access!</h3> <h3><?php echo $page->post_excerpt ?></h3>
</div> </div>
</div> </div>
</div> </div>
...@@ -15,98 +27,39 @@ get_header(); ...@@ -15,98 +27,39 @@ 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 echo $page->post_content ?>
<div class="course-heading">
<h2>It course</h2>
</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">
<?php while($courses->have_posts()) { $courses->the_post(); ?>
<div class="course-box"> <div class="course-box">
<div class="col-sm-3 col-padding"> <div class="col-sm-3 col-padding">
<img src="<?php plugin_dir_url(__FILE__); ?>imgaes/course-1-image.jpg" alt=""/> <?php the_post_thumbnail('thumbnail') ?>
</div>
<div class="col-sm-6">
<div class="course-heading">
<h3>it excellence</h3>
<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.</p>
</div>
</div>
<div class="col-sm-3 col-padding">
<div class="download-course-box">
<div class="course-heading">
<h4>Download <br>course list</h4>
</div>
<div class="text-center">
<a href="#"><img src="<?php plugin_dir_url(__FILE__); ?>imgaes/download-icon.png" alt=""/></a>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="course-box">
<div class="col-sm-3 col-padding">
<img src="<?php plugin_dir_url(__FILE__); ?>imgaes/course-1-image.jpg" alt=""/>
</div>
<div class="col-sm-6">
<div class="course-heading">
<h3>it excellence</h3>
<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.</p>
</div>
</div>
<div class="col-sm-3 col-padding">
<div class="download-course-box">
<div class="course-heading">
<h4>Download <br>course list</h4>
</div>
<div class="text-center">
<a href="#"><img src="<?php plugin_dir_url(__FILE__); ?>imgaes/download-icon.png" alt=""/></a>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="course-box">
<div class="col-sm-3 col-padding">
<img src="<?php plugin_dir_url(__FILE__); ?>imgaes/course-1-image.jpg" alt=""/>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<div class="course-heading"> <div class="course-heading">
<h3>it excellence</h3> <h3><?php the_title(); ?> </h3>
<p>It is a long established fact that a reader will be distracted by the readable <?php the_content(); ?>
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>course list</h4> <?php $aid = get_post_meta(get_the_ID(), 'course_attachment_id', true) ?>
<h4><a href="<?php echo wp_get_attachment_url($aid); ?>">Download <br>course list</a></h4>
</div> </div>
<div class="text-center"> <div class="text-center">
<a href="#"><img src="<?php plugin_dir_url(__FILE__); ?>imgaes/download-icon.png" alt=""/></a>
</div> </div>
</div> </div>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<?php }?>
</div> </div>
<div class="col-sm-4"> <div class="col-sm-4">
<div class="inquire-box"> <div class="inquire-box">
...@@ -145,34 +98,23 @@ get_header(); ...@@ -145,34 +98,23 @@ get_header();
</div> </div>
</div> </div>
</div> </div>
<div class="course-take-bg margin-set">
<div class="container"> <?php do_shortcode('[vq_short_banner
<div class="row"> txtClr="#fff"
<div class="col-sm-7"> btnClr="#fff"
<div class="e-learning-heading"> bgClr="#f89f18"
<h6>Not sure which course to take?</h6> btnBg="#2898c4"
</div> btnTxt="Download Full List Of Courses"
</div> txt="Not sure which course to take?"]'); ?>
<div class="col-sm-5">
<button type="submit" class="download-course-button">Download full list of courses</button> <?php do_shortcode('[vq_short_banner
</div> txtClr="#fff"
</div> btnClr="#fff"
</div> bgClr="#2898c4"
</div> btnBg="#f89f18"
<div class="course-take-bg color-set"> btnTxt="Sign Up today"
<div class="container"> txt="Ready to begin?"]'); ?>
<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>
<?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