This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Pronamic Page Widget


This plugin is deprecated so Pronamic wil no longer support and maintain this plugin.

If you want to help maintain the plugin, fork it on GitHub and open pull requests.

Template Hierarchy

  1. widget-page-{sidebar_id}.php
  2. widget-page-{widget_id}.php
  3. widget-page-{page_slug}.php
  4. widget-page-{page_id}.php
  5. widget-page.php

Conditional Tags

  • pronamic_is_page_widget
    When any Pronamic Page Widget is being displayed.

  • pronamic_is_page_widget(‘pronamic_page-1’)
    When Pronamic Page Widet with id 1 is being displayed.

  • pronamic_is_page_widget_on_sidebar(‘primary-widget-area’)
    When a Pronamic Page Widget is begin displayed on an sidebar with the id “primary-widget-area”

How to use?

Pronamic Page Widget template

<h2 class="entry-title">
    <?php the_title(); ?>

<div class="entry-content">
    <?php the_excerpt(); ?>

Adjust the excerpth length
Example of how you can adjust the excerpt length of the page widgets.

function pronamic_excerpt_length($length) {
    if(pronamic_is_page_widget_on_sidebar('primary-widget-area')) {
        return 250;
    } elseif(pronamic_is_page_widget('pronamic_page-3')) {
        return 100;
    } elseif(pronamic_is_page_widget()) {
        return 50;
    } else {
        return 40;

add_filter('excerpt_length', 'pronamic_excerpt_length');


Pronamic plugins


  • The WordPress admin widgets area with 2 Pronamic Page Widgets

  • The TwentyTen theme with 2 Pronamic Page Widgets in the primary widget area


Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your
WordPress installation and then activate the Plugin from Plugins page.

Contributors & Developers

“Pronamic Page Widget” is open source software. The following people have contributed to this plugin.


Translate “Pronamic Page Widget” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Added deprecated notice.


  • Fixed typo in the templates array used for the locate_template() function


  • Initial release