I've changed so in basic.php much but were absolute links
Code:
function find_url($slug, $parent, $type='relative') {
global $PRETTYURLS;
global $SITEURL;
global $PERMALINK;
if ($type == 'relative') {
$full = $SITEURL;
} elseif($type == 'relative') {
(2013-10-07, 22:53:10)shawn_a Wrote: 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.
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') {