• I have hacked my meta-boxes.php file located in wp-admin/includes/ to add a filter function to the parent drop down on the edit pages / edit posts page in the admin section of wordpress.

    Our organization has over 600 pages and they are very hard to parent, this filter function will allow you to start typing in a text field above the drop down and it will search and filter the results for you.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I would like someone, to use this code to create a legitimate plugin, so that I do not have to hack wordpress every time there is an update.

    I also would like to add a size=”5″ to the option drop down, to add some height to the list so that you can actually see the items filtering. I want it to look like the example here https://files.dropbox.com/u/642364/blogger/scripts/select_filter.html

    The hack above, works but I think it could be a bit more elegant, I think this is something that could possibly qualify as a piece of code, to be added to WP permanently.

    I am a newbie to making plugins so any help or plugin development for the masses is appreciated!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Parent Pages easier with a filter. Hack.’ is closed to new replies.