2013-10-07, 22:53:10
Should be easy to do.
The get_nav... function uses find_url() get the path and it takes a param for relative.
So we can pass one through get_nav or use some global option.
The get_nav... function uses find_url() get the path and it takes a param for relative.
So we can pass one through get_nav or use some global option.
PHP Code:
* @param string $slug
* @param string $parent
* @param string $type Default is 'full', alternative is 'relative'
* @return string
*/
function find_url($slug, $parent, $type='full') {