Support » Fixing WordPress » Drop down brings up error 404

  • Resolved 2ctt



    when using this code:

    <select name=\"page-dropdown\"
     <option value=\"\">
    <?php echo attribute_escape(__('Select Language')); ?></option>
      $pages = get_pages('child of=27');
      foreach ($pages as $pagg) {
          $option = '<option value=\"'.get_page_link($pagg->ID).'\">';
        $option .= $pagg->post_title;
        $option .= '</option>';
        echo $option;

    My drop down list no longer works in 2.7. It worked fine in 2.6.5.

    It still lists the child pages but brings up a 404 messge when trying to retrieve the page and I can see no reason why.

    Help is appreciated.

  • The topic ‘Drop down brings up error 404’ is closed to new replies.