How to add course language in coure page?

Home Forums Legacy Support 4.0 Bugs & Issues How to add course language in coure page?

Viewing 15 posts - 16 through 30 (of 40 total)
  • Author
    Posts
  • #313593
    spyboys
    Spectator
    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
    #313982
    Veronica
    Moderator
    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
    #314007
    spyboys
    Spectator
    sure you can
    #314208
    Veronica
    Moderator
    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
    #314227
    spyboys
    Spectator
    super so i want that info show it like this place https://prnt.sc/uoat39 similar to udemy https://prnt.sc/uoatn9
    #314505
    spyboys
    Spectator
    waiting for your reply....
    #314571
    Veronica
    Moderator
    hi the delay in response due to support holiday yes i was checking the custom code will update here once i did it
    #314574
    spyboys
    Spectator
    okay
    #315190
    spyboys
    Spectator
    mam any improvement
    #315394
    Veronica
    Moderator
    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.
    #315398
    spyboys
    Spectator
    sorry you can do it :)
    #316005
    spyboys
    Spectator
    HI, would you finish the work?
    #316358
    Veronica
    Moderator
    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
    #316392
    spyboys
    Spectator
    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
    #316512
    Veronica
    Moderator
    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
Viewing 15 posts - 16 through 30 (of 40 total)
  • The topic ‘How to add course language in coure page?’ is closed to new replies.