Coming up EventOn in WPLMS

We’re finally integrating EventOn with WPLMS. Events for WPLMS has been a long standing feature request.   We’ll be including EventOn in WPLMS and WPLMS EventOn Addon plugin in the Theme Package in version 1.9.9 . Front end event creation will be included in version 2.0 a. Once activated WPLMS Events […]

Import Page Builder Block “Course Key Features” from OneCourse

How to add below block in your theme ? view it live here : http://themes.vibethemes.com/wplms/skins/onecourse/   a. Import this code in WP Admin – WPLMS – Page Builder import code. YToxOntpOjA7YToyOntzOjQ6Im5hbWUiO3M6MTI6ImtleV9mZWF0dXJlcyI7czo3OiJjb250ZW50IjtzOjUxODQ6IjxkaXYgZGF0YS1wbGFjZWhvbGRlcj0iRnVsbFNjcmVlbiBTdHJpcGUgd2l0aCBDb250YWluZXIiIGRhdGEtbmFtZT0ic3RyaXBlX2NvbnRhaW5lciIgY2xhc3M9Im1vZHVsZSBtX2NvbHVtbiBtX2NvbHVtbl9zdHJpcGVfY29udGFpbmVyIHVpLWRyYWdnYWJsZSB1aS1kcmFnZ2FibGUtaGFuZGxlIHVpLXJlc2l6YWJsZSB1aS1kcm9wcGFibGUgdWktc29ydGFibGUgZmlyc3QiIHN0eWxlPSJvcGFjaXR5OiAxOyBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7IHotaW5kZXg6IDE7Ij48c3BhbiBjbGFzcz0ibW9kdWxlX25hbWUgY29sdW1uX25hbWUiPkZ1bGxTY3JlZW4gU3RyaXBlIHdpdGggQ29udGFpbmVyPC9zcGFuPiA8c3BhbiBjbGFzcz0iZGVsZXRlX2NvbHVtbiBkZWxldGUiIHN0eWxlPSJkaXNwbGF5OiBibG9jazsiPjwvc3Bhbj48ZGl2IGRhdGEtcGxhY2Vob2xkZXI9IldQIEVkaXRvciIgZGF0YS1uYW1lPSJ0ZXh0X2Jsb2NrIiBjbGFzcz0ibW9kdWxlIG1fdGV4dF9ibG9jayB1aS1kcmFnZ2FibGUgdWktZHJhZ2dhYmxlLWhhbmRsZSIgc3R5bGU9Im9wYWNpdHk6IDE7I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9yOiM5OTk7Cn0KLmtleWZlYXR1cmVzIC5oZWFkaW5newoJZm9udC1zaXplOjI0cHg7CglwYWRkaW5nOjIwcHggMDsKCW1hcmdpbjoyMHB4IDA7Cn0KLmtleWZlYXR1cmVzIGxpewoJY2xlYXI6Ym90aDsKCWZvbnQtc2l6ZToxNHB4OwoJbWFyZ2luOjIwcHggMDsKCWNvbG9yOiM2NjY7CiAgCWRpc3BsYXk6IGlubGluZS1ibG9jazsKICAJd2lkdGg6IDEwMCU7Cn0KLmtleWZlYXR1cmVzIGl7Cglmb250LXNpemU6MjhweDsKCWNvbG9yOiNiYmI7CglmbG9hdDpsZWZ0OwoJbWFyZ2luOiAwIDEwcHggMCAwOwp9Ci5rZXlmZWF0dXJlcyAub25lX2hhbGZ7CglwYWRkaW5nOiAxMHB4Owp9Ci5rZXlmZWF0dXJlcyAub25lX2hhbGYgLmZpcnN0ewoJdGV4dC1hbGlnbjogcmlnaHQ7Cn0KLmtleWZlYXR1cmVzIC5vbmVfaGFsZiAuZmlyc3QgaXsKCWZsb2F0OnJpZ2h0OwoJbWFyZ2luOiAwIDAgMCAxMHB4Owp9Ci5rZXlmZWF0dXJlcyBsaSBzdHJvbmc6YWZ0ZXJ7Cgljb250ZW50OicnOwoJZGlzcGxheTogYmxvY2s7Cn0KLmtleWZlYXR1cmVzIC5oZXJvewoJbWF4LXdpZHRoOjYwJTsKfTwvZGl2PjwvZGl2PjwvZGl2PjxkaXYgY2xhc3M9InVpLXJlc2l6YWJsZS1oYW5kbGUgdWktcmVzaXphYmxlLWUiIHN0eWxlPSJ6LWluZGV4OiA5MDsiPjwvZGl2PjwvZGl2PiI7fX0=   b. Edit/Create page and locate the page builder block. c. Click the sample layouts, drag the block and place it […]

Ordering Courses in Product short description

Below tip will help you in re-ordering courses which are displayed in product short description. For example :       add_filter(‘wplms_product_course_order_filter’,’wplms_rearrange_courses’); function wplms_rearrange_courses($courses){ foreach($courses as $course){ $new_courses[get_post_field(‘menu_order’,$course)]=$course; } $courses = ksort($new_courses); //Sort courses by Menu order value return $courses; }   Above code snippet will sort the courses based […]

Auto complete WooCommerce orders

WPLMS does not interfere in WooCommerce order process. So, if the orders are not auto-completing then it lies under WooCommerce, mostly it is a settings issue but many times we find that WooCommerce itself fails to mark the order as complete. If orders are not auto-completing then WooCommerce recommends the […]

Disable Print in Unit

Below tip disables the print button in Unit in courses. Note this only disables the inbuilt print, the user can always use the browser print or take  a screenshot and print it. add_filter(‘wplms_unit_print_button’,’disable_print_in_unit’); function disable_print_in_unit($p){ return ”; }