WordPress.org

Ready to get started?Download WordPress

Forums

wp-pagesnav and widgetizing it (1 post)

  1. jrodgers
    Member
    Posted 6 years ago #

    I downloaded and installed the wp-pagesnav plugin, and implemented the code, worked just as i needed but the code placement breaks the page, so i downloaded and installed widgetize anything to make it into a widget but the code produces no output when in the wigetize anything box
    this code works when entered directly in to the theme header
    <div id="pages_nav">
    <?php if(function_exists("wp_pages_nav")) {
    wp_pages_nav("show_all_parents=1&sort_column=menu_order");
    } ?>
    </div>
    but not in the widget

Topic Closed

This topic has been closed to new replies.

About this Topic