Im trying to remove the https:// and replace it with a non secure link for my wordpress navigation. This only happens when I view a secure page the wp_list_pages adds https:// Ive tried this
$sslnav = wp_list_pages('title_li=&sort_column=menu_order&exclude=');
$sslnav = str_replace("https", "http", $sslnav);
echo $sslnav;
but the nav links remain the same with https in them