Forum Replies Created

Viewing 1 replies (of 1 total)
  • Yeah, that’s a bit tricky to overcome, as I’ve fought with it in the past.

    One way to achieve what you want is to edit your theme’s sidebar.php. More specifically, modify where the function wp_list_pages() is called.

    It depends on the specific theme you’re using for the exact implementation, but according to this article, you can add the 'exclude=id' parameter to where the wp_list_pages() function is called.

    For example, if the ID of the Thankyou page was 10 (you can find that out on the Manage → Pages admin page), you could put the following in sidebar.php in place of the existing similar code:

    <?php wp_list_pages('exclude=10&title_li=<h2>' . __('Pages') . '</h2>' ); ?>

    Anyway, have a read of this article and let me know what else I can help you with.

Viewing 1 replies (of 1 total)