2017 © Pedro Peláez
 

wordpress-plugin simple-post-type-permalinks

Easy to change Permalink of custom post type.

image

torounit/simple-post-type-permalinks

Easy to change Permalink of custom post type.

  • Tuesday, June 26, 2018
  • by torounit
  • Repository
  • 2 Watchers
  • 9 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 9 Versions
  • 50 % Grown

The README.md

Simple Post Type Permalinks

Contributors: Toro_Unit, inc2734 Donate link: http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV 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: http://www.gnu.org/licenses/gpl-2.0.html, (*1)

Easy to change Permalink of custom post type., (*2)

Build Status , (*3)

, (*4)

Description

Edit the permalink structure of custom post type too easy., (*5)

Simple Post Type Permalinks is Simple and Smart than Custom Post Type Permalinks., (*6)

Available tags are %post_id%, %postname%, %year%, %monthnum%, %day%, %hour%, %minute%, %second%, %author%., (*7)

Requires PHP version 5.3 or higher., (*8)

This Plugin published on GitHub., (*9)

Please Fork and Pull Request!, (*10)

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 -> Permalinks., (*11)

Frequently Asked Questions

Which tag that can be used?

Only %post_id% and %postname%., (*12)

Setting on Code

Example:, (*13)

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

Screenshots

  • screenshot-1.png

Changelog

2.0.1

  • Tested 4.9

2.0.0

  • 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

  • fix pagination link.

1.2.0

  • fix textdomain.

1.1.0

  • Test with WooCommerce and WPML.
  • Admin Bug Fix.
  • Support get_post_type_archive.

1.0.3

  • Admin Bug Fix.

1.0.2

  • Coding Standard Fix.

1.0.0

  • Drop PHP 5.2.

0.1.0

  • First release

Upgrade Notice

1.0.0

  • Drop PHP 5.2.

0.1.0

First Release, (*14)

The Versions

26/06 2018

dev-master

9999999-dev

Easy to change Permalink of custom post type.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3

 

The Development Requires

by Hiroshi Urabe

26/06 2018

2.0.2

2.0.2.0

Easy to change Permalink of custom post type.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3

 

The Development Requires

by Hiroshi Urabe

06/04 2018

2.0.1

2.0.1.0

Easy to change Permalink of custom post type.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3

 

The Development Requires

by Hiroshi Urabe

07/03 2018

1.2.1

1.2.1.0

  Sources   Download

07/03 2018

1.3.0

1.3.0.0

  Sources   Download

07/03 2018

1.0.3

1.0.3.0

  Sources   Download

07/03 2018

1.1.0

1.1.0.0

  Sources   Download

12/08 2016

2.0.0

2.0.0.0

Easy to change Permalink of custom post type.

  Sources   Download

GPL-2.0+

The Development Requires

by Hiroshi Urabe

12/08 2016

2.x-dev

2.9999999.9999999.9999999-dev

Easy to change Permalink of custom post type.

  Sources   Download

GPL-2.0+

The Development Requires

by Hiroshi Urabe