PHPackages                             pkj/pkj-page-source - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. pkj/pkj-page-source

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

pkj/pkj-page-source
===================

Wordpress plugin that lets you show custom post-types as rows or blocks in the content, to avoid manual duplication of content.

0.0.2(11y ago)031GPLv2 or laterPHPPHP &gt;=5.3.2

Since Aug 2Pushed 11y ago1 watchersCompare

[ Source](https://github.com/peec/pkj-page-source)[ Packagist](https://packagist.org/packages/pkj/pkj-page-source)[ Docs](https://github.com/peec/pkj-page-source)[ RSS](/packages/pkj-pkj-page-source/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

PKJ Page Source
===============

[](#pkj-page-source)

Wordpress plugin that lets you add a source to page, to list custom post-types (forexample a list of the "service" content type below the main content on your /services "page").

Installation
------------

[](#installation)

Install with composer. Add this to your composer file:

```
"require": {
    "pkj/pkj-page-source": "dev-master"
}
```

Hooks
-----

[](#hooks)

#### Changing the generated grid class definitions.

[](#changing-the-generated-grid-class-definitions)

By default this plugin uses boostrap 3 column classes, (col-sm-X, col-md-X, col-lg-X), you can change this by adding this code in your functions.php file:

```
    add_filter('pkj-page-source_blocksizemap', 'my_theme_blocksizemap_hook');
    // Customize this function for your needs:
    public function my_theme_blocksizemap_hook ($blocksizemap) {
        $class = '';
        foreach($blocksizemap as $context => $perRow) {
            $bit = '';
            switch($context) {
                case 'l': $bit = 'lg'; break;
                case 'm': $bit = 'md'; break;
                case 's': $bit = 'sm'; break;
            }
            $gridSize = 12 / $perRow;
            $class .= "col-$bit-$gridSize ";
        }
        return $class;
    }
```

#### Changing the "row" class to theme specific.

[](#changing-the-row-class-to-theme-specific)

```
    add_filter('pkj-page-source_rowclass', function () {
        return 'row'; // Change to your class.
    });
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

4354d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88b748fa2f0dcacab307a6305e98032de7adb93f955bbaf3c6fe029a7369ac84?d=identicon)[peec](/maintainers/peec)

---

Top Contributors

[![peec](https://avatars.githubusercontent.com/u/131546?v=4)](https://github.com/peec "peec (19 commits)")

---

Tags

pluginwordpressgridsource

### Embed Badge

![Health badge](/badges/pkj-pkj-page-source/health.svg)

```
[![Health](https://phpackages.com/badges/pkj-pkj-page-source/health.svg)](https://phpackages.com/packages/pkj-pkj-page-source)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
