DKA Child pages widget

Plugin Banner

DKA Child pages widget

by dainius.kaupaitis

Download
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.

  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.
  1. Backend

    Backend

  2. Frontend

    Frontend

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 }

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
Back to top