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 Teasers


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.

With this plugin a user can easily bind pages to a page. This way a developer can easily show
teasers of pages on a page. Editors can easily define the page teasers on the page editor screen.


Pronamic plugins


  • Pronamic Page Teasers meta box

  • Pronamic Page Teasers on the frontend of the Twentyten WordPress theme

  • Default template for the Pronamic Page Teasers


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.

The teasers will automatically be added to the_content()
using the_content() filter. If you want
to change the markup of the teasers, you should create a “pronamic-page-teasers.php” file within your theme directory.



$teasers = pronamic_get_page_teasers();

$h = is_front_page() ? 3 : 2;

if($teasers): ?>


    <?php foreach($teasers as $post): setup_postdata($post); ?>

        <article id="teaser-<?php the_ID(); ?>" <?php post_class('teaser'); ?>>
            <h<?php echo $h; ?> class="entry-title">
                <a href="<?php the_permalink(); ?>" title="<?php printf(esc_attr__('Permalink to %s'), the_title_attribute('echo=0')); ?>" rel="bookmark">
                    <?php the_title(); ?>
            </h<?php echo $h; ?>>

            <?php the_excerpt(); ?>

    <?php endforeach; ?>


<?php endif; ?>



Returns true if the loop is rendering Pronamic page teasers.


Extends the_content() with the Pronamic page teasers. Can be disabled by removing the filter:

remove_filter('the_content', 'pronamic_page_teasers_the_content');


This functions can be used to get an array of all the teaser pages
that are defined for the current global page. This function must
be within The Loop. This
function is based on the get_pages()


This functions renders the Pronamic page teasers. It is normally used within
the pronamic_page_teasers_the_content() function. If you don’t want to
display the teasers right after the_content(), you can disable the pronamic_page_teasers_the_content()
filter. You can then manually add the function pronamic_page_teasers() to one of your template files.

Contributors & Developers

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




  • Fix – Fatal error: Undefined class constant ‘FILTER_THE_CONTENT_PRIORITY’.


  • Added an deprecated notice.


  • Solved issue with the order of the page teasers, since WordPress 3.2+ the sort_column is restricted


  • Fixed problem not applying shortcodes within the_content() afters teasers are added (reported by
    Jelke Boonstra). This was a strange unexplainable problem, solved by
    giving the_content() filter
    a default priority of 20.


  • Initial release