GithubHelp home page GithubHelp logo

kylephillips / wp-nested-pages Goto Github PK

View Code? Open in Web Editor NEW
182.0 13.0 65.0 5.4 MB

A more intuitive way to manage pages and content structure in the WordPress admin

Home Page: https://nestedpages.com

PHP 61.73% JavaScript 28.69% SCSS 9.58%

wp-nested-pages's Introduction

Nested Pages for WordPress

Nested Pages provides an intuitive drag and drop interface for managing pages & posts in the WordPress admin, while maintaining quick edit functionality.

For installation and usage information visit nestedpages.com. Available for download/installation in the WordPress Plugin Directory.

Compatibility

Nested Pages requires PHP v5.3.2+ and WordPress v3.8+.

Why PHP 5.3.2+?: Nested Pages takes advantage of Composer, specifically its PSR-4 auto-loading component. Because of this, the minimum version of PHP supported is 5.3.2.

Why WordPress 3.8+?: Nested Pages depends on admin theme changes introduced in WordPress 3.8.

Screenshot

Description

Nested Pages offers

  • A drag and drop interface - simple and intuitive
  • Quick edit functionality
  • An expandable, sortable tree view of your site's page structure
  • A native WordPress menu, automatically generated to match your Nested Pages screen
  • A way to quickly add child pages (ideal for development)
  • A touch-friendly interface

Installation

The latest release of this plugin is available through the WordPress Plugin Directory.

If installing from this repository, composer must be run before attempting to activate within WordPress:

  1. cd into the primary plugin directory
  2. Run composer install

Attribution

This plugin wouldn't be possible without the Nested Sortable jQuery Plugin. It also makes use of the jQuery UI Touch Punch plugin for touch support.

wp-nested-pages's People

Contributors

alanrezende avatar bjorn-ali-goransson avatar bjornartollaksen avatar christophherr avatar cmckni3 avatar dominikfiala avatar evanwashkow avatar felipelavinz avatar haleeben avatar harris1 avatar hatsumatsu avatar hb9hgj avatar ianregister avatar itu7 avatar kylephillips avatar lucanos avatar lucasstark avatar markprodev avatar mattburesh avatar nicomollet avatar plus-robertehrenleitner avatar podlebar avatar thomasdk81 avatar timboomerang avatar timotheemoulin avatar xyulex avatar yuks avatar zepich avatar zrothauser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-nested-pages's Issues

Additional menu link options

Need option to add other content types to menu tree: CPTs, Categories, etc…

Basically need to replicate the WP Menu capabilities.

Possible UI solution: Change "Add Link" to "Add menu item", add a tab in the modal for "Existing Content". Under that tab, include a select dropdown for the content type (Post types, categories, etc…). Pull up a list of content based on select menu choice.

Front end site

Need front end site to show features. Link back to github, update plugin site

WP Conventions

Convert paths/files/etc to WP plugin conventions in prep for plugin repo submission

Date Field

Look at options for replacing date fields with date picker / time picker.

Nav menu title and class

Add fields for generated nav menu items' title attribute and css class attribute. Users may need this functionality, and changed in menu will be overwritten.

Menu item aren't open when adding a new page

When I use this plugin the menu item "page" and the sub menu item "add new" isn't active and the "page" menu item is folded.

"Skapa ny sida" is "Add new page" and "Sidor" is "Pages" in the images.

This is how it is when the plugin is active:
skarmklipp 2014-11-25 12 30 08

This is how it is when the plugin is deactivated:
skarmklipp 2014-11-25 12 30 32

Status update

Need to add relevant publish class to row when updating status in quick edit. Currently requires page refresh to toggle between "published" and "all"

Option to hide in Nested Pages

Add option to not display page in nested pages (for pages like login, terms, etc… that users may not want shown).

Add page meta / form checkbox, alter recursive method to perform meta query, add custom meta to page form to reshow. Maybe have "hidden pages" toggle to turn back on?

Translated strings

Doubke check all strings fir proper localization. See thread on wp support.

Sync Menu Contextual Help

RE: Barb's feedback. Provide contextual help on sync functionality. Need to give quick overview of what it is, how it generates the menu, how to add theme-specific styles back in if required.

Dynamic Menu Name

See suggestion here:
https://wordpress.org/support/topic/custom-name-for-synced-menu?replies=2#post-6201266

Create setting to give the menu a custom name.

Possible solution:

  1. Add method in activation class to grab the setting (default to nestedpages)
  2. Add parameter NP_NavMenu constructor, that sets name property.
  3. Update setID method to use the name parameter (rather than the hard-coded 'nestedpages' string)
  4. Add settings page with field for menu name (can probably add sync menu setting here as well)

Menu Title

Need to add menu title functionality: save in quick edit, on post edit screen

Status bug

Wp query in pagelisting class needs to be updated to include additional statuses

Hidden

Add "hidden from nav" option for each page in prep for menus

User Groups

Create test users for each group and tweak functionality based on permissions

Redirect page

Add option to add redirect page. Same as "url" option in menu. Way for user to add custom linked item to the generated nav menu. Need a short, decriptive name. Will need global "add new redirect" for top level items, and "add child redirect" for existing pages. Might need to add post type for this.

Add menu sync

Remove auto sync from sorting and quick edit, add manual sync button

Help Tab

Possibly add help tab explaining drag and drop, and how to get to default listing.

Quick Edit Append

Quick edit forms on items with child lists are currently appended below the child list. Need to look for child list and if there is one, append above it.

Post Type Menu Items

Look into adding content links for adding post types. Similar to hierarchy plugin.

New Page - Menu Sync

Need to find a way to sync menu after a new page is created.

To recreate issue:

Click add child in nested pages
Save the page
Visit front end of site – page is added, but menu not auto-synced.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.