ok then i want add the detail like this area
https://prnt.sc/umyp8g its possible whats the matter is input the course language via instrucor then show that area
well we can try but not sure to show it here
https://prnt.sc/umyp8g
please give the permission to implement the code on your site for adding the field in the setting of the course then later i will try the code to show language in front end
hi,
just added the code for the custom field
http://prntscr.com/uo9xlr
now we need to check another code to show the same on the desired place
I need to check that and update you here
super so i want that info show it like this place
https://prnt.sc/uoat39 similar to udemy
https://prnt.sc/uoatn9
waiting for your reply....
hi
the delay in response due to support holiday
yes i was checking the custom code
will update here
once i did it
yes I was checking it
but getting some conflict
I will update here
most probably I will update the code here on Monday but need your patience
and if you want to use this method:
https://wplms.io/support/knowledge-base/wplms-course-custom-nav-plugin/
then you can also proceed with it.
HI, would you finish the work?
hi,
add this:
add_filter('wplms_course_meta',function($meta)
{
return $meta.get_post_meta(get_the_ID(),'course_language',true);
});
here http://prntscr.com/uu31jy in customizer plugin
http://prntscr.com/uu300d
Warning: Use of undefined constant ‘wplms_course_meta’ - assumed '‘wplms_course_meta’' (this will throw an Error in a future version of PHP) in /home/spyberry/public_html/wp-content/plugins/wplms-customizer/wplms-customizer.php on line 90
i will paste the code in customizer.php it triger this warning
no worries this warning can be ignored
Notices /warnings are nothing to worry about. it has nothing to do with the actual functionality. but if you find any fatal error only then you have to worry about it.
What are PHP Notices?
PHP notices are the least important. As stated on the official PHP website, you will see PHP notices when:
the script encountered something that could indicate an error, but could also happen in the normal course of running a script.
Refer https://www.ostraining.com/blog/wordpress/warnings/.
NOTE: THE ABOVE LINES ARE NOT AN ISSUE. THAT IS JUST NOTICE, YOU DO NOT NEED TO WORRY ABOUT IT. EVERYTHING WORKS FINE.
you could hide these notices, follow this link: https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress
if you found ant FATAL ERROR then let us know