0
4

1 回答 1

0

尝试更改此行:

echo '<li><a href="' . $gdl_is_home_url . '#section-n' . $section_number . '" id="nav-section' . $section_number . '" class="anchor' . $active . $gdl_is_home_class . '" >';

至:

echo '<li  class="' . $active . '"><a href="' . $gdl_is_home_url . '#section-n' . $section_number . '" id="nav-section' . $section_number . '" class="anchor' . $gdl_is_home_class . '" >';
于 2012-12-17T15:29:16.850 回答