Commit 216a50d1 by Muhammad Usman

download request save

parent 73a50df8
Pipeline #187 passed with stage
in 0 seconds
...@@ -55,6 +55,19 @@ function vq_lms_settings_init() { ...@@ -55,6 +55,19 @@ function vq_lms_settings_init() {
'vq_lms_settings_custom_data' => 'custom', 'vq_lms_settings_custom_data' => 'custom',
] ]
); );
add_settings_field(
'vq_lms_settings_field_video',
'Video',
'vq_lms_settings_field_video_cb',
'vq_lms_settings',
'vq_lms_settings_section_developers',
[
'label_for' => 'vq_lms_settings_field_video',
'class' => 'vq_lms_settings_row',
'vq_lms_settings_custom_data' => 'custom',
]
);
} }
function vq_lms_settings_section_developers_cb( $args ) { function vq_lms_settings_section_developers_cb( $args ) {
...@@ -103,6 +116,72 @@ function vq_lms_settings_field_currency_symbol_cb($args) { ...@@ -103,6 +116,72 @@ function vq_lms_settings_field_currency_symbol_cb($args) {
<?php <?php
} }
function vq_lms_settings_field_video_cb($args) {
wp_enqueue_media();
$options = get_option( 'vq_lms_settings_options' );
if($options[$args['label_for']]) {
?>
<div style="width: 200px;" id="video_holder">
<video id="vid" src="<?php echo $options[$args['label_for']]; ?>">
</video>
</div>
<?php
}
?>
<input type="button"
id="vq_lms_video"
class="button"
value="Upload Video">
<input type="button"
id="vq_lms_remove_video"
class="button"
value="Remove Video">
<input type="hidden"
id="vq_lms_video_hidden"
name="vq_lms_settings_options[<?php echo esc_attr( $args['label_for'] ); ?>]"
value="<?php echo $options[$args['label_for']]; ?>">
<p class="description">
<?php esc_html_e( 'video attachment to show.', 'vq_lms_settings' ); ?>
</p>
<script>
var mediaUploader;
jQuery("#vq_lms_remove_video").on('click', function() {
jQuery("#vq_lms_video_hidden").val('');
jQuery("#vid").attr('src', '');
});
jQuery('#vq_lms_video').on('click', function ( e ) {
e.preventDefault();
if (mediaUploader) {
mediaUploader.open();
return;
}
mediaUploader = wp.media.frames.file_frame = wp.media({
title: 'Select Video',
button: {
text: 'Choose Video'
},
multiple: false
});
mediaUploader.on('select', function () {
attachment = mediaUploader.state().get('selection').first().toJSON();
jQuery("#vq_lms_video_hidden").val(attachment.url);
jQuery("#vid").attr('src', attachment.url);
});
mediaUploader.open();
});
</script>
<?php
}
function vq_lms_settings_page() { function vq_lms_settings_page() {
add_submenu_page('edit.php?post_type=vq_course', add_submenu_page('edit.php?post_type=vq_course',
......
<?php <?php
require_once('template/dependencies/index.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-post.php');
...@@ -26,6 +29,8 @@ add_shortcode('vq_short_banner', 'vq_render_short_banner'); ...@@ -26,6 +29,8 @@ add_shortcode('vq_short_banner', 'vq_render_short_banner');
add_shortcode('vq_large_banner', 'vq_render_large_banner'); add_shortcode('vq_large_banner', 'vq_render_large_banner');
function vq_apex_custom_posts() { function vq_apex_custom_posts() {
/* Course Post Type */
$labels = array( $labels = array(
'name' => __( 'LMS Courses'), 'name' => __( 'LMS Courses'),
'singular_name' => __( 'LMS Course'), 'singular_name' => __( 'LMS Course'),
...@@ -60,6 +65,42 @@ function vq_apex_custom_posts() { ...@@ -60,6 +65,42 @@ function vq_apex_custom_posts() {
); );
register_post_type( 'vq_course', $args ); register_post_type( 'vq_course', $args );
/* Download Request Post Type */
$labels = array(
'name' => __( 'Download Requests'),
'singular_name' => __( 'Download Request'),
'menu_name' => __( 'Download Requests'),
'name_admin_bar' => __( 'Download Requests'),
'add_new' => __( 'Add New', 'download_request'),
'add_new_item' => __( 'Add New Download Request'),
'new_item' => __( 'New Download Request'),
'edit_item' => __( 'Edit Download Request'),
'view_item' => __( 'View Download Request'),
'all_items' => __( 'Download Requests'),
'search_items' => __( 'Search Download Requests'),
'parent_item_colon' => __( 'Parent Download Requests:'),
'not_found' => __( 'No Download Request found.'),
'not_found_in_trash' => __( 'No Download Request found in Trash.')
);
$args = array(
'labels' => $labels,
'description' => __( 'Description.'),
'public' => false,
'publicly_queryable' => false,
'show_ui' => true,
'show_in_menu' => "edit.php?post_type=vq_course",
'query_var' => true,
'rewrite' => false,
'capability_type' => 'post',
'has_archive' => false,
'hierarchical' => false,
'supports' => array( 'title', 'editor', 'thumbnail')
);
register_post_type( 'vq_lms_drequest', $args );
} }
function vq_apex_custom_taxonomies() { function vq_apex_custom_taxonomies() {
......
...@@ -16,9 +16,13 @@ function use_lms_template($data) ...@@ -16,9 +16,13 @@ function use_lms_template($data)
return __DIR__ . "/template/e-learning.php"; return __DIR__ . "/template/e-learning.php";
} }
if(is_page('lms-courses')) { else if(is_page('lms-courses')) {
return __DIR__ . "/template/it-course.php"; return __DIR__ . "/template/it-course.php";
} }
else if(is_page('download-all')) {
return __DIR__ . '/template/download-now.php';
}
return $data; return $data;
} }
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com
Version 1.8.2
Full source at https://github.com/harvesthq/chosen
Copyright (c) 2011-2017 Harvest http://getharvest.com
MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
This file is generated by `grunt build`, do not edit it by hand.
*/.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chosen-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;-webkit-box-shadow:0 4px 5px rgba(0,0,0,.15);box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),to(#f4f4f4));background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;-webkit-box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:url(chosen-sprite.png) no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(1%,#eee),color-stop(15%,#fff));background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;height:25px;outline:0;border:0!important;background:0 0!important;-webkit-box-shadow:none;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),to(#eee));background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;-webkit-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),to(#eee));background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#eee),color-stop(80%,#fff));background-image:linear-gradient(#eee 20%,#fff 80%);-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi),only screen and (min-resolution:1.5dppx){.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span,.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container-single .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-rtl .chosen-search input[type=text]{background-image:url(chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}
\ No newline at end of file
jQuery(document).ready(function() {
jQuery(".chosen-select").chosen();
});
\ No newline at end of file
<?php
add_action('wp_enqueue_scripts', 'register_third_party_styles');
function register_third_party_styles() {
wp_enqueue_style('vq-chosen-css', plugin_dir_url(__FILE__) . '/chosen/chosen.min.css','','1.0.0');
wp_enqueue_script('vq-chosen-js', plugin_dir_url(__FILE__) . '/chosen/chosen.jquery.min.js', 'jQuery','1.0.0');
wp_enqueue_script('vq-custom-js', plugin_dir_url(__FILE__) . '/custom-script.js', 'jQuery', '1.0.0');
}
\ No newline at end of file
<?php <?php
if( 'POST' === $_SERVER['REQUEST_METHOD'] && isset($_POST['download_submit']) && $_POST['post_action'] === 'download-all') {
$fname = $_POST['dl_firstName'];
$lname = $_POST['dl_lastName'];
$company = $_POST['dl_company'];
$email = $_POST['dl_email'];
$cNumber = $_POST['dl_contactNumber'];
$jobTitle = $_POST['dl_jobTitle'];
$country = $_POST['dl_country'];
$dlCourses = $_POST['dl_course'];
$postContent = '<strong>First Name: ' . $fname . '</strong><br>';
$postContent .= '<strong>Last Name: ' . $lname . '</strong><br>';
$postContent .= '<strong>Company: ' . $company . '</strong><br>';
$postContent .= '<strong>Email: ' . $email . '</strong><br>';
$postContent .= '<strong>Contact Number: ' . $cNumber . '</strong><br>';
$postContent .= '<strong>Job Title: ' . $jobTitle . '</strong><br>';
$postContent .= '<strong>Country: ' . $country. '</strong><br>';
$courseName = array();
foreach($dlCourses as $course) {
$courses = new WP_Query(array('post_type' => 'vq_course'));
while($courses->have_posts()) {
$courses->the_post();
if($course == get_the_ID()){
$courseName[] = get_the_title();
}
}
}
$postContent .= '<strong>Courses: ['. implode(', ', $courseName) .'] </strong>';
$newDownloadRequest = array(
'post_title' => $fname. ' ' . $lname,
'post_type' => 'vq_lms_drequest',
'post_status' => 'publish',
'post_content' => $postContent
);
$pid = wp_insert_post($newDownloadRequest);
update_post_meta($pid, 'dl_firstName', $fname);
update_post_meta($pid, 'dl_lastName', $lname);
update_post_meta($pid, 'dl_company', $company);
update_post_meta($pid, 'dl_email', $email);
update_post_meta($pid, 'dl_contactNumber', $cNumber);
update_post_meta($pid, 'dl_jobTitle', $jobTitle);
update_post_meta($pid, 'dl_country', $country);
update_post_meta($pid, 'dl_courses', json_encode($courses));
}
get_header(); get_header();
$page = get_page_by_path('download-all');
$settings = $options = get_option('vq_lms_settings_options');
$video = $settings['vq_lms_settings_field_video'];
$courses = new WP_Query(array('post_type' => 'vq_course'));
?> ?>
<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>
</div> </div>
</div> </div>
</div> </div>
...@@ -14,62 +68,69 @@ get_header(); ...@@ -14,62 +68,69 @@ get_header();
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm-6"> <div class="col-sm-6">
<div class="inquire-box"> <form class="inquire-box" method="post" name="download-post" action="">
<div class="inquire-heading"> <h2 class="text-center" style="margin-top: 0; font-weight: bold;">Download Now</h2>
<h2>Download Now</h2>
</div> <div class="col-md-12 form-group">
<div class="col-sm-12"> <input type="text" class="form-control" name="dl_firstName" placeholder="First Name" required>
<input type="email" class="form-control text-feild" id="exampleInputEmail1" placeholder="First Name"> </div>
<div class="col-md-12 form-group">
<input type="text" class="form-control" name="dl_lastName" placeholder="Last Name" required>
</div> </div>
<div class="col-sm-12"> <div class="col-md-12 form-group">
<input type="email" class="form-control text-feild" id="exampleInputEmail1" placeholder="Last Name"> <input type="text" class="form-control" name="dl_company" placeholder="Company Name" required>
</div> </div>
<div class="col-sm-12"> <div class="col-md-12 form-group">
<input type="email" class="form-control text-feild" id="exampleInputEmail1" placeholder="Company Name"> <input type="text" class="form-control" name="dl_email" placeholder="Email Address" required>
</div>
<div class="col-sm-12">
<input type="email" class="form-control text-feild" id="exampleInputEmail1" placeholder="Email Address">
</div> </div>
<div class="col-sm-12"> <div class="col-md-12 form-group">
<input type="email" class="form-control text-feild" id="exampleInputEmail1" placeholder="Contact Number"> <input type="text" class="form-control" name="dl_contactNumber" placeholder="Contact Number" required>
</div> </div>
<div class="col-sm-12"> <div class="col-md-12 form-group">
<input type="email" class="form-control text-feild" id="exampleInputEmail1" placeholder="Job Title"> <input type="text" class="form-control" name="dl_jobTitle" placeholder="Job Title" required>
</div> </div>
<div class="col-sm-12"> <div class="col-md-12 form-group">
<select class="form-control text-feild"> <select class="form-control chosen-select" name="dl_country" data-placeholder="Select Country">
<option>Country</option> <option>Country</option>
<option>2</option> <option>2</option>
<option>3</option> <option>3</option>
<option>4</option> <option>4</option>
<option>5</option> <option>5</option>
</select> </select>
</div> </div>
<div class="col-sm-12"> <div class="col-md-12 form-group">
<select class="form-control text-feild"> <select class="form-control chosen-select" name="dl_course[]" multiple data-placeholder="Select Courses">
<option>IT Excellence</option> <?php
<option>2</option> while($courses->have_posts()) {
<option>3</option> $courses->the_post();
<option>4</option> ?>
<option>5</option> <option value="<?php the_ID(); ?>"><?php the_title(); ?></option>
</select> <?php
}
$page = get_page_by_path('download-all');
?>
</select>
</div> </div>
<div class="col-sm-12"> <div class="col-md-8 pull-right form-group">
<input type="email" class="form-control text-feild" id="exampleInputEmail1" placeholder="Verification Code"> <input type="text" class="form-control" name="vCode" placeholder="Verification Code">
</div> </div>
<div class="col-sm-12"> <div class="col-md-12 form-group">
<button type="submit" class="submit-course-button">Submit</button> <input value="Submit" type="submit" name="download_submit" class="submit-course-button"/>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> <?php wp_nonce_field( 'new_song_nonce' ); ?>
<input type="hidden" id="post_action" name="post_action" value="download-all" />
</form>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<a href="#"><img class="management-video" src="<?php plugin_dir_url(__FILE__); ?>imgaes/management-video.jpg" alt=""/></a> <video class="management-video" src="<?php echo $video; ?>">
</video>
<div class="inquire-box"> <div class="inquire-box">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="payment-heading"> <div class="payment-heading">
<h4>Learning management system</h4> <h4><?php echo $page->post_excerpt; ?></h4>
<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,</p> <p><?php echo $page->post_content ?></p>
</div> </div>
</div> </div>
<div class="col-sm-4"> <div class="col-sm-4">
......
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