PHPackages                             torounit/simple-post-type-permalinks - 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. torounit/simple-post-type-permalinks

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

torounit/simple-post-type-permalinks
====================================

Easy to change Permalink of custom post type.

2.0.5(7y ago)21147[5 issues](https://github.com/torounit/simple-post-type-permalinks/issues)[1 PRs](https://github.com/torounit/simple-post-type-permalinks/pulls)GPL-2.0+PHPPHP &gt;=5.3

Since Aug 12Pushed 1y ago3 watchersCompare

[ Source](https://github.com/torounit/simple-post-type-permalinks)[ Packagist](https://packagist.org/packages/torounit/simple-post-type-permalinks)[ RSS](/packages/torounit-simple-post-type-permalinks/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

Simple Post Type Permalinks
===========================

[](#simple-post-type-permalinks)

Contributors: Toro\_Unit, inc2734 Donate link: Tags: permalink,permalinks,custom post type,cms Requires at least: 4.0 Tested up to: 5.2 Requires PHP: 5.3 Stable tag: 2.0.5 License: GPLv2 or Later License URI:

Easy to change Permalink of custom post type.

[![Build Status](https://camo.githubusercontent.com/be6aa1f59d630716525fcc5ba642503fd9747a2f3ac4066c0b6a0e0fa2cce2f5/68747470733a2f2f7472617669732d63692e6f72672f746f726f756e69742f73696d706c652d706f73742d747970652d7065726d616c696e6b732e737667)](https://travis-ci.org/torounit/simple-post-type-permalinks)[![](https://camo.githubusercontent.com/ccabf8ef10ce10946d82b870b929b8d9d4069dcc0b4f444e9544ccc2ca7af430/68747470733a2f2f696d672e736869656c64732e696f2f776f726470726573732f706c7567696e2f64742f73696d706c652d706f73742d747970652d7065726d616c696e6b732e737667)](https://wordpress.org/plugins/simple-post-type-permalinks/)[![](https://camo.githubusercontent.com/ffb8e3a5ca3f0e6bf1810acb010482df6d1b4d4cc7f56db973445afaacef9bae/68747470733a2f2f696d672e736869656c64732e696f2f776f726470726573732f762f73696d706c652d706f73742d747970652d7065726d616c696e6b732e737667)](https://wordpress.org/plugins/simple-post-type-permalinks/)[![](https://camo.githubusercontent.com/0f7d5f5c130531a4195882ed83a8b211081454fa79de485886fe4dae52586d78/68747470733a2f2f696d672e736869656c64732e696f2f776f726470726573732f706c7567696e2f722f73696d706c652d706f73742d747970652d7065726d616c696e6b732e737667)](https://wordpress.org/plugins/simple-post-type-permalinks/)

[![](https://camo.githubusercontent.com/014376c97d7bd7f9d3b8f0432a1775cd26fefdbc1a2169d091f1cede76910698/687474703a2f2f7777772e746f726f756e69742e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031352f30342f62616e6e65722d3135343478353030312e706e67)](https://wordpress.org/plugins/simple-post-type-permalinks/)

Description
-----------

[](#description)

Edit the permalink structure of custom post type too easy.

Simple Post Type Permalinks is Simple and Smart than [Custom Post Type Permalinks](https://wordpress.org/plugins/custom-post-type-permalinks/).

Available tags are `%post_id%`, `%postname%`, `%year%`, `%monthnum%`, `%day%`, `%hour%`, `%minute%`, `%second%`, `%author%`.

Requires PHP version 5.3 or higher.

[This Plugin published on GitHub.](https://github.com/torounit/simple-post-type-permalinks)

Please Fork and Pull Request!

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

[](#installation)

### Manual Installation

[](#manual-installation)

1. Upload the entire `/simple-post-type-permalinks` directory to the `/wp-content/plugins/` directory.
2. Activate Simple Post Type Permalinks through the 'Plugins' menu in WordPress.

Access the permalinks setting by going to *Settings -&gt; Permalinks*.

Frequently Asked Questions
--------------------------

[](#frequently-asked-questions)

### Which tag that can be used?

[](#which-tag-that-can-be-used)

Only `%post_id%` and `%postname%`.

Setting on Code
---------------

[](#setting-on-code)

Example:

```
register_post_type( 'foo',
	array(
		'public' => true,
		'has_archive' => true,
		'rewrite' => [
			'with_front' => true
		],
		"sptp_permalink_structure" => 'foo/%post_id%'
	)
);

```

Screenshots
-----------

[](#screenshots)

- screenshot-1.png

Changelog
---------

[](#changelog)

### 2.0.1

[](#201)

- Tested 4.9

### 2.0.0

[](#200)

- Change of class structure.
- Change namespace.
- Add abstract Module class.
- Use autoloader.
- Remove constructor injection and add setter injection for modules.
- Support `%year%`, `%monthnum%`, `%day%`, `%hour%`, `%minute%`, `%second%`, `%author%`.

### 1.3.1

[](#131)

- fix pagination link.

### 1.2.0

[](#120)

- fix textdomain.

### 1.1.0

[](#110)

- Test with WooCommerce and WPML.
- Admin Bug Fix.
- Support `get_post_type_archive`.

### 1.0.3

[](#103)

- Admin Bug Fix.

### 1.0.2

[](#102)

- Coding Standard Fix.

### 1.0.0

[](#100)

- Drop PHP 5.2.

### 0.1.0

[](#010)

- First release

Upgrade Notice
--------------

[](#upgrade-notice)

### 1.0.0

[](#100-1)

- Drop PHP 5.2.

### 0.1.0

[](#010-1)

First Release

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 97.5% 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 ~171 days

Recently: every ~106 days

Total

7

Last Release

2582d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1738118b1515a2c312e90b71dc041a57a90db61144063f36de6b27587b507d6?d=identicon)[torounit](/maintainers/torounit)

---

Top Contributors

[![torounit](https://avatars.githubusercontent.com/u/1908815?v=4)](https://github.com/torounit "torounit (118 commits)")[![inc2734](https://avatars.githubusercontent.com/u/1094306?v=4)](https://github.com/inc2734 "inc2734 (2 commits)")[![mypacecreator](https://avatars.githubusercontent.com/u/3164205?v=4)](https://github.com/mypacecreator "mypacecreator (1 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/torounit-simple-post-type-permalinks/health.svg)

```
[![Health](https://phpackages.com/badges/torounit-simple-post-type-permalinks/health.svg)](https://phpackages.com/packages/torounit-simple-post-type-permalinks)
```

PHPackages © 2026

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