Simple Post Type Permalinks | Toro_Unit | cms

Simple Post Type Permalinks | Toro_Unit | cms,custom post type,permalink,permalinks

Description

Edit the permalink structure of custom post type too easy.

Simple Post Type Permalinks is Simple and Smart than 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.

Please Fork and Pull Request!

Setting on Code

Example:

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

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.

Plugin author

Toro_Unit

Plugin official website address

https://wordpress.org/plugins/simple-post-type-permalinks/
If you encounter problems in using the Simple Post Type Permalinks plugin, you can comment below, and I will try my best to help you solve the problem

Leave a Comment

Your email address will not be published. Required fields are marked *