tareq1988 / wedocs

A documentation theme for WordPress
http://docs.wedevs.com
394 stars 129 forks source link

Change the "/docs/" in the url to be "<whatever-I-want>". #63

Open rosangelamAVI opened 4 years ago

rosangelamAVI commented 4 years ago

I know this has been asked back in 2017 and the issue was closed, but it doesn't make sense now with the new version of WeDocs 1.6.2. I currently have this development site: https://devkompar.wpengine.com/docs/why-use-static-analysis/ and I'd like to change the "/docs/" in the url to be "".

Do I need to add this "rewrite" code to the file of wedocs.php

$rewrite = array( 'slug' => 'docs', 'with_front' => false, 'pages' => true, 'feeds' => true, If so where?

Or is there another certain file I can go into to change it?

Originally posted by @rosangelamAVI in https://github.com/tareq1988/wedocs/issues/46#issuecomment-689049842