WordPress.org

Forums

Child Page Navigation
[resolved] Sort by Page Order Not Working ver 1.3.2 (5 posts)

  1. Daniel Waltz
    Member
    Posted 3 years ago #

    Recently updated the plugin and sorting by page order is no longer working. Is there a quick fix I can implement as the site I'm using it on should be live soon?

    http://wordpress.org/extend/plugins/child-page-navigation/

  2. Andrew Hutchings
    Member
    Posted 3 years ago #

    I just ran into this also. Update line 60 to read:

    if($instance['sort'])

    instead of:

    if($opts[$key]['sort'])

  3. ITS Alaska
    Member
    Plugin Author

    Posted 3 years ago #

    Sorry for this bug - widgets are still new territory for me.

    I'll push an update fixing this in the next half hour.

  4. Robert Kanes
    Member
    Posted 3 years ago #

    I've noticed a related issue that I was wondering about. Once you've got your parent and child pages in order, It seems as if the top nav highlighting disappears if the the nav is more than two levels deep. At one level deep, you can click around child pages and the top nav maintains the correct highlight state. If your hierarchy is 2+ levels deep, the highlight state disappears as soon as you click beyond the first level. Is there a workaround? Thanks in advance.

  5. ITS Alaska
    Member
    Plugin Author

    Posted 3 years ago #

    It's likely a problem with the theme (I assume you mean theme nav by top nav). If you know a bit of PHP, you can probably fix it within your theme with the preg_replace function and $_SERVER['REQUEST_URI'] variable.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Child Page Navigation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic