Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Random Post Name

Beschrijving

Auto-generate a unique random string and set it to post_name.

Customization with hooks

Use of filter hooks is at your own risk.

  • You can change post_type to be applied by an array. Deafult is ‘post’ only.
add_filter( 'random_post_name_post_types', 'hoge' );
function hoge(){
    return ['post', 'page'];
}
  • You can change the number of characters in the post_name. Deafult is 10.
add_filter( 'random_post_name_digits', 'hoge' );
function hoge(){
    return 20;
}
  • You can change the variation of characters. Deafult is ‘0123456789abcdefghijklmnopqrstuvwxyz’. Do not include multibyte chars.
add_filter( 'random_post_name_choices', 'hoge' );
function hoge(){
    return '0123456789abcdefghijkmnpqrstuvwxyz_-';
}

Precautions

Too few characters and too few character variations can cause unexpected problems.

Installatie

  1. Upload the plugin package to the plugins directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“Random Post Name” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “Random Post Name” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.0

  • first version.