Giter Site home page Giter Site logo

contrib-wordpress-admin-collapse-subpages's Introduction

=== Admin Collapse Subpages ===
Contributors: lupka , bravokeyl
Donate link: http://alexchalupka.com/donate
Tags: page, post, links,pages, admin , link ,plugin, random, posts, widget, categories, date, date range, timeframe, excerpt, randomize, sidebar, category
Requires at least: 3.0
Tested up to: 3.8.1
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Using this plugin one can easily collapse/expand pages with children and grand children.

== Description ==

Simple plugin that allows you to collapse subpages in the Pages admin list also for custom post types that are heirarchial. Especially helpful if you have a ton of pages /cpt's with heiararchial set to true. It uses a cookie to save the expand/collapse status of your pages.

This is loosely based on Collapse Sub-Pages by Dan Dietz, which broke with the 3.0 upgrade due to UI changes and hasn't been updated. I've had to rewrite the jQuery to make it work with 3.x versions. 

Because this is a jQuery, it's possible that they could make additional changes that would break it. I'll do my best to stay on top of it, but let me know if it stops working.

What's new in Version 2.0 ?

1)Fix en-queuing of scripts .
2)Expand all , Collapse all links appear only on the pages list not on every list (like plugins ,posts etc.,)
3)Updated jQuery.cookie.js to 1.4.0

== Installation ==

1. Download, unzip, and upload the 'admin-collapse-subpages' folder along with all its files to the '/wp-content/plugins/'' directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Visit your Pages admin page and notice the lovely +/- buttons.

== Frequently Asked Questions ==

= Why is there a delay after I use "Quick Edit"? =

The WordPress Quick Edit functionality is a little buggy in my opinion. To make a long story short, this delay is so that WordPress can complete the edit(and any possible parent changes) before refreshing the expand/collapse status.
I'd recommend not using Quick Edit to change parent/child pages at all. It often doesn't refresh any changed rows properly.

== Screenshots ==

1. Example Edit Page menu.
2. Same menu with a group of subpages minimized.
3. Same menu completely minimized.
4. Expand/collapse all buttons at the top of the page.

== Changelog ==

= 1.0 =
* Initial version of the plugin

= 2.0 =
* Fixed bug - Adding expand/collapse links to all list tables
* Updated jquery.cookie.js to 1.4.0
* Enhanced loading of scripts and styles 
= 2.1 =
* Added support custom post types which are hieararchial
== Upgrade Notice ==

= 1.0 =
* N/A
= 2.0 =
* Enjoy !!
= 2.1 =
* Added support custom post types which are hieararchial
= 2.1 =
* Added support custom post types which are hieararchial

contrib-wordpress-admin-collapse-subpages's People

Watchers

 avatar  avatar

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.