0

I am starting to learn theme dev using the Thematic Template. I want to make use of the wp_list_pages() function within my footer. So wrote in the functions.php

<?php
  function wicked_footer_pagelinks() {
    echo '<ul id="simplepages">';
    wp_list_pages('depth=1&sort_column=menu_order&title_li=');
    echo '</ul>';
  }
  ?>

In the footer.php

<div id="footer">
      <?php
        wicked_footer_pagelinks();
        // action hook creating the footer
        thematic_footer();
      ?>
    </div><!-- #footer -->

Do you have any idea, why the page did not load anymore?

Best

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.