DKA Child pages widget

Description

When navigating on pages widget shows links to child pages. If there are no child pages – widget shows „brother“ pages.
Link of currently viewed page can be styled through CSS. Widget shows nothing if user is browsing Posts (not Pages).
Admin can configure:

  • widget title
  • which pages must be excluded

Widget can be localized.

Screenshots

  • Backend
  • Frontend

Installation

  1. Extract plugin to /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Apearence → Widgets. You’ll se this widget at „Available widgets“. Drag-n-drop it to desired place (e.g. Sidebar). Note: your theme template must be widgetized.

FAQ

i18n

For translation file see „languages“ folder

How to „catch“ current page

A list item has current_page_item class – just style it through CSS e.g. : .current_page_item { background-color:silver }

Contributors & Developers

“DKA Child pages widget” is open source software. The following people have contributed to this plugin.

Changelog

0.7

Fixed missing UL tag
Confirmed WP 4.0 compatibility

0.6

Confirmed WP 3.9 compatibility

0.5

Shows „brother“ pages when page has no childs.

0.4

Added drop-down to select excluded page(s) by title.

0.3

Tested with WP v.3.4.1

0.2

Lithuanian translation added

0.1

  • Initial version released