Ang plugin na ito ay hindi pa nasusubukan sa pinakabagong 3 major release ng WordPress. Maaaring hindi na ito minamantine o sinusuportahan at maaaring may mga isyu sa compatibility kapag ginamit sa mas bagong bersyon ng WordPress.

Simple Post Type Permalinks

Deskripsyon

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

halimbawa:

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

Mga Screenshot

  • screenshot-1.png

Pag-install

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.

FAQ

Which tag that can be used?

Only %post_id% and %postname%.

Mga Review

Hulyo 18, 2018
Hi there, actually this was the solution I was looking for, but in my case it’s not working as the assignment in the plugins setting is not saved. Useless for me ๐Ÿ™ Regards Barcelo
Hunyo 26, 2018
register_post_type() ใ™ใ‚‹ใจใใซใƒ‘ใƒผใƒžใƒชใƒณใ‚ฏๆง‹้€ ใ‚‚ๆŒ‡ๅฎšใงใใพใ™ใ€‚็ฎก็†็”ป้ขใง่จญๅฎšใ™ใ‚‹ใจ็ฎก็†ใŒ็…ฉ้›‘ใซใชใ‚‹ใฎใงใ“ใ‚Œใฏใ™ใ”ใ่‰ฏใ„ใจๆ€ใ„ใพใ™ใ€‚
Setyembre 13, 2017
Simply garbage. It screwed up all of my navigation links (changed them to frontpage links), and of 4 custom post types it worked for 1. For the other 3 it generated 404 errors. Wasted 20 minutes.
Basahin lahat ng 9 na review

Mga Contributor at Developer

Ang “Simple Post Type Permalinks” ay open source software. Ang mga sumusunod na tao ay nag-ambag sa plugin na ito.

Mga Contributor

Ang “Simple Post Type Permalinks” ay naisalin na sa 3 (na) mga locale. Salamat sa mga tagasalin para sa kanilang mga kontribusyon.

Isalin ang “Simple Post Type Permalinks” sa iyong wika.

Interesado sa development?

Tingnan ang code, i-check ang SVN repository, o mag-subscribe sa development log sa pamamagitan ng RSS.

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