Plugin Directory

Changeset 2372829


Ignore:
Timestamp:
09/01/2020 07:43:04 AM (6 years ago)
Author:
attest
Message:

Add trunk v1.6.1

Location:
wp-attest/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • wp-attest/trunk/asset/css/wp-attest.css

    r2351320 r2372829  
    2727.attest-course-item {
    2828  margin-bottom: 20px; padding-left: 0px; min-height: 170px; border-radius: 6px;
    29   box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); background-color: #ffffff;
     29   background-color: #ffffff;
     30}
     31.attest-course-item-shadow {
     32  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
     33}
     34.attest-course-item-radius {
    3035  -moz-border-radius: 6px !important; -webkit-border-radius: 6px !important;
    3136}
    3237.attest-course-thumb {
    33   min-height: 170px; padding-left: 0px; -moz-border-radius: 6px 0px 0px 6px !important;
    34   -webkit-border-radius: 6px 0px 0px 6px !important; background-repeat: no-repeat;
     38  min-height: 170px; padding-left: 0px; background-repeat: no-repeat;
    3539  background-size: cover;  background-position: center;
     40}
     41.attest-course-thumb-border-radius {
     42  -moz-border-radius: 6px 0px 0px 6px !important; -webkit-border-radius: 6px 0px 0px 6px !important;
    3643}
    3744.attest-course-item-content {
     
    5057}
    5158.course-featured {
    52   border: solid 2px #ffecb3 !important;
     59  border: solid 2px #ffecb3;
    5360}
    5461.badge-featured {
  • wp-attest/trunk/lib/templates/single-course.php

    r2359878 r2372829  
    2222    <?php
    2323    //Get current post
    24     $current_post_ID = get_the_id();
     24    $current_post_ID = get_the_ID();
    2525    $post = get_post($current_post_ID);
    2626
     
    150150        <div class="mt-5">
    151151          <h4><?php _e( 'Curriculum', 'attest'); ?></h4>
    152           <input type="hidden" id="attest_total_number_of_sections" value="<?php echo esc_attr($curriculum['lesson']); ?>" />
    153152          <div class="mt-5">
    154153            <?php $item = 1;
     
    209208        </div>
    210209        <?php endif; ?>
    211         <?php the_content(); ?>
    212210
    213211        <?php if(false != $faqs) : ?>
  • wp-attest/trunk/lib/templates/single-lesson.php

    r2340069 r2372829  
    2222    <?php
    2323    //Get current post
    24     $current_post_ID = get_the_id();
     24    $current_post_ID = get_the_ID();
    2525    $post = get_post($current_post_ID);
    2626
  • wp-attest/trunk/readme.txt

    r2359878 r2372829  
    66Tested up to: 5.5
    77Requires PHP: 5.4
    8 Stable tag: 1.6
     8Stable tag: 1.6.1
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    416416== Changelog ==
    417417
     418= v1.6.1 - 2020-09-01 =
     419
     420+ Solves: duplication of description in single course template.
     421
    418422= v1.5.3 - 2020-08-07 =
    419423
  • wp-attest/trunk/src/shortcode/class-courses-shortcode.php

    r2351320 r2372829  
    2222
    2323            $plugins = $this->get_activated_plugin();
    24             if( in_array('WP Attest PRO - WooCommerce', $plugins) ) { 
     24            if( in_array('WP Attest PRO - WooCommerce', $plugins) ) {
    2525                $this->pro_installed = true;
    2626            } else {
     
    115115                    $first_lesson = $this->functions->get_course_first_lesson($ID);
    116116
    117                     $body .= '<div class="row attest-course-item course-' . $ID . (($featured == '1' && !is_user_logged_in()) ? ' course-featured' : false) . '">';
     117                    $body .= '<div class="row attest-course-item attest-course-item-shadow attest-course-item-radius course-' . $ID . (($featured == '1' && !is_user_logged_in()) ? ' course-featured' : false) . '">';
    118118
    119119                        if ($data['thumbnail']) :
    120                             $body .= '<div class="col-md-4 attest-course-thumb" style="background-image: url(\'' . esc_url(get_the_post_thumbnail_url( $ID, 'post-thumbnail' )) . '\');">' .
     120                            $body .= '<div class="col-md-4 attest-course-thumb attest-course-thumb-border-radius" style="background-image: url(\'' . esc_url(get_the_post_thumbnail_url( $ID, 'post-thumbnail' )) . '\');">' .
    121121                                ( ($featured == '1' && !is_user_logged_in()) ?
    122122                                    '<span class="badge badge-featured">' . __('FEATURED', 'attest') . '</span>'
  • wp-attest/trunk/wp-attest.php

    r2359878 r2372829  
    44 Plugin URI: http://www.wpattest.com/
    55 Description: Attest is a <strong>WordPress LMS Plugin</strong>, good for Tutors, that helps create free <strong>Online Courses</strong>, <strong>Classes</strong> and <strong>Lessons</strong> with a Gutenberg-ready interface.
    6  Version: 1.6
     6 Version: 1.6.1
    77 Author: WP Attest
    88 Author URI: https://profiles.wordpress.org/attest/
Note: See TracChangeset for help on using the changeset viewer.