Slug Rename

Home Forums Legacy Support Support queries Other issues Slug Rename

Tagged: 

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #174917
    David
    Participant
    Hi I tried using the following article as guide to change the slug, but it did not work. Article- https://wplms.io/support/knowledge-base/changing-slugs-in-wplms/ Please help change the slug "cource" ----> "interactive" "quiz" ---->  "exam".
    #174918
    David
    Participant
    This reply has been marked as private.
    #175062
    Mark Morgan
    Spectator
    You have to translate these strings using loco translate plugin.
    #175063
    David
    Participant
    Hi Mark Did you even follow the link. Slugs are changed using the <b>WPLMS Customizer.</b> I renewed support to solve this problem, i expect results and not a quick answer that does not solve my problem. Regards O
    #175193
    Mark Morgan
    Spectator
    Yes, i followed the link and tested this on my test setup. Just follow these steps. 1) Replace the code you entered from the above tip with this php code in your wplms_customizer.php file. 2) For course you have to manually change the course slug from permalinks. 3) Translate the strings for which you want to change the slug. PHP Code : add_action('init','wplms_define_constant',1); function wplms_define_constant(){ } define( 'BP_COURSE_SLUG', 'section' ); if ( ! defined( 'WPLMS_COURSE_CATEGORY_SLUG' ) ) define( 'WPLMS_COURSE_CATEGORY_SLUG', 'course-cat' ); if ( ! defined( 'WPLMS_QUIZ_SLUG' ) ) define( 'WPLMS_QUIZ_SLUG', 'exam' );
    #175211
    David
    Participant
    I have done as instructed. Yet it is not working. Need your help still.  
    #175310
    Mark Morgan
    Spectator
    Please share your ftp credentials with us to check your issue. PS: Mark reply as private while sharing the credentials.
    #175318
    David
    Participant
    This reply has been marked as private.
    #175460
    Anshuman Sahu
    Keymaster
    Well we asked for ftp credentials through which we can access your files and edit them  . I guess what you share are admin credentials which are also not working . Please share both admin credentials as well as ftp credentials . Please also share exactly where do you need to change this course and unit slugs .Those can also be changed from permalinks screen after adding the code in wplms customizer plugin : http://prntscr.com/krzvq7
    #177041
    David
    Participant
    This reply has been marked as private.
    #177227
    Anshuman Sahu
    Keymaster
    Well I was unable to see any files with the given credentials  : http://prntscr.com/kx2ztg  
    #177298
    David
    Participant
    This reply has been marked as private.
    #177441
    Diana
    Participant
    This reply has been marked as private.
    #177560
    David
    Participant
    This reply has been marked as private.
    #177562
    David
    Participant
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 17 total)
  • The topic ‘Slug Rename’ is closed to new replies.