• Resolved steplab

    (@steplab)


    Hi,
    I have some questions:
    There is a way to display lessons dates and hours inside widget calendar with this plugin?
    During creation of a new course inside tab “Course Dates” I can set one Date and hour of start of the course.
    If for example a course is recurring so is taking for three weeks on Monday so:
    13/03/2017 from 09:00 to 11:00
    20/03/2017 from 09:00 to 11:00
    27/03/2017 from 09:00 to 11:00
    how can I set these dates inside Course settings and display them inside Calendar widget?

    A little bug is that inside public part of site inside course details page I can’t see the start hour added inside Start Date field of the course.

    Another question how can I simply hide Language field, so how can I edit template files so witch file I have to edit? I have to edit list courses on Courses page and single course page.

    Thanks
    Valentina

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello Valentina,

    how can I set these dates inside Course settings and display them inside Calendar widget?

    I’m afraid this is not possible. CoursePress does not support that kind of recurring courses. When course is online it is available all the time.
    That would require huge amount of code rewriting in CoursePress.

    A little bug is that inside public part of site inside course details page I can’t see the start hour added inside Start Date field of the course.

    I’m afraid I can’t replicate this – I tested on my site and it display correctly

    Can I see your site with this issue? Can you switch theme to one of the WordPress defaults and see if this issue is still there?

    Another question how can I simply hide Language field, so how can I edit template files so witch file I have to edit? I have to edit list courses on Courses page and single course page.

    Please try this code:

    .course-language {display: none;}

    You can
    a) add it to the a child theme style.css file
    b) use this small plugin https://www.ads-software.com/plugins/simple-custom-css/

    kind regards,
    Kasia

    Thread Starter steplab

    (@steplab)

    A little bug is that inside public part of site inside course details page I can’t see the start hour added inside Start Date field of the course.

    Inside the page Courses so inside archive the hour is displaing correctly as your screenshot but if you click on the course in the single course page you can’t see it, because you see “Course Dates: 13 march 2017 – 27 march 2017”

    I’m using Storefront theme and WooCommerce plugin.

    Please try this code:
    .course-language {display: none;}

    Ok will do it with css, and to hide it inside admin area?

    Many thanks
    Valentina

    • This reply was modified 7 years, 9 months ago by steplab.
    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Valentina,

    Thanks for the additional info, I can see what you’re referring to, at this moment this is by design but I’ve forwarded it to devs already so they can consider changing that in future. ??

    As for hiding the language field from backend, we would need to take a bit different approach by using this code:

    add_action('admin_head', 'hide_language_field');
    
    function hide_language_field() {
      echo '<style>
    	.step-1 .wide:nth-child(6) {
    	    display: none;
    	}
      </style>';
    }

    You will need to add that to either your child theme functions.php file or use mu-plugin.

    Cheers,
    Predrag

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Course dates and language’ is closed to new replies.