Disable instructor page

Home Forums Legacy Support Support queries How-to & Troubleshooting Disable instructor page

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #381718
    lidiamm
    Participant
    Can i disable the instructor page? Screenshot in next comment
    #381719
    lidiamm
    Participant
    This reply has been marked as private.
    #381754
    Veronica
    Moderator
    hi means you want to remove this from site? if you want then you can
    #381756
    lidiamm
    Participant
    Yes, but if I remove it will there be broken links? What does it affect? I'm afraid there will be torn pages later.
    #381841
    Veronica
    Moderator
    remove_action('init','wplms_instructing_courses_endpoint'); hi you can add this in wplms-customizer.php to remove that action directly
    #381884
    lidiamm
    Participant
    But are you telling me to edit a template file? I am using a child theme, because if I edit a file I will lose the changes when updating, right? That is not good practice. Is there any other way? Can't do it in the functions.php of the child theme?
    #381944
    Veronica
    Moderator
    No, it's not a template it's a plugin wplms-customizer and it will never loose the changes after the update as there will be no update for this plugin so you can directly update the file in this
    #381993
    lidiamm
    Participant
    This reply has been marked as private.
    #382036
    Veronica
    Moderator
    hi try to add this: add_action('after_setup_theme',function(){remove_action('init','wplms_instructing_courses_endpoint');});
    #382065
    lidiamm
    Participant
    This reply has been marked as private.
    #382099
    Anshuman Sahu
    Keymaster
    Ok but we need to know from where exactly you are navigating to this "instructing-courses" link.
    #382132
    lidiamm
    Participant
    I don't remember, I think it's from within vibebp, but it doesn't matter, if the url is visible, someone can see it and google can index it... I would like there to be nothing in that url.
    #382180
    Anshuman Sahu
    Keymaster
    its not that easy to index without specifying the url to index. We are checking how to disable it since the quick soluition did not work
    #382196
    lidiamm
    Participant
    But can you tell me if I had to add one line (the one at the beginning) or both? Maybe I didn't do it right.
    #382259
    Anshuman Sahu
    Keymaster
    no the code added correctly its the code which is not working .
Viewing 15 posts - 1 through 15 (of 19 total)
  • The topic ‘Disable instructor page’ is closed to new replies.