WordPress.org

Ready to get started?Download WordPress

Forums

Simple Page Ordering
[resolved] Allowing indenting of items to make them children (6 posts)

  1. phantomdentist
    Member
    Posted 5 months ago #

    Is there any plan to allow pages to be dragged to indent them under other pages making them children? I know you can already drag and drop existing children but this would be a great addition.

    https://wordpress.org/plugins/simple-page-ordering/

  2. chrisplaneta
    Member
    Posted 3 months ago #

    I would also like to see this feature. I've been searching for a plugin that can do this and haven't found any. It would be a great addition - even worth a premium price tag.

  3. JuniperPaul
    Member
    Posted 3 months ago #

    In my own testing, the Simple Page Ordering plugin works wonderfully with one limitation: A page cannot be made the child of another page that does not already have children. For that, you need to edit the page (e.g. Quick Edit without leaving the page listing) and select the Parent.

    Other than that, however, this plugin functions well. You can move a page by dropping it above a page you want to be its new sibling or below a page you want to become its new parent (IFF that target already has children). If you move a page that already has children, it brings its children with it, including moving a family to a new level.

    For re-ordering within this limitation, this plugin out-performs native WordPress which itself does not immediately adjust position when we change the Order or Parent values in Quick Edit. WordPress by itself requires us to reload the page listing to see the new relationship in page sequence and indenting.

    Cheers,
    Paul

  4. Jake Goldman
    10up Engineer
    Plugin Author

    Posted 2 months ago #

    Yea, the better visual cue would be incredibly tricky to pull off, because we're limited by the structure of the table rows (which don't play well with "indentation"), and have to deal with many different scenarios, including pages with existing children, pages without existing children, etc.

    We may get to it some day, but not on the near term road map.

    As Paul mentioned, combined with Quick Edit, the plugin does enable ordering between children - just not quite that elegantly.

  5. JuniperPaul
    Member
    Posted 2 months ago #

    I'll review your code with an eye to seeing how to translate a sideways drag & drop into a change in an item's parent. Dragging and dropping sideways should make the dropped item become the child of the closest previous item with a lesser 'indent.' It might be helpful to walk the page array adding the nesting level of each page. It's possible that the WordPress admin menu editor might provide a good working model.

    Paul

  6. prateekrc3
    Member
    Posted 2 months ago #

    http://wordpress.org/support/topic/my-site-meta-description-changes-and-pointer-to-some-casino-site?replies=1#post-5639238

    Someone pls reply i need some help, i think my site is hacked and all my meta desciption changes and pointing to some casino sites.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.