Im attempting to take away the https:// and change it having a non secure link for my wordpress navigation. This only occurs when I notice a secure page the wordpress_list_pages adds https:// Ive attempted this

$sslnav = wp_list_pages('title_li=&sort_column=menu_order&exclude=');
$sslnav = str_replace("https", "http", $sslnav);
echo $sslnav;

however the nav links stay the same with https inside them

Try placing this function inside your theme's functions.php file:

function wp_list_pages_custom() {
  $array = array();
  $pages = wp_list_pages('echo=0&title_li=');

  foreach($pages as $key => $page)
  {
    $array[$key] = str_replace('https', 'http', $page);
  }

  return $array;
}

Now rather than using wp_list_pages, use wp_list_pages_custom.

Try such as the echo query var within the arguments. This can stop WordPress from showing their email list of pages and return the end result inside your variable.

$sslnav = wp_list_pages('title_li=&sort_column=menu_order&exclude=&echo=0');
$sslnav = str_replace("https", "http", $sslnav);
echo $sslnav;