विवरण
Convert Greek characters to Latin (greeklish)
Using greeklish-permalinks with some extra functionality.
Features
- Converts post, pages, taxonomy and category slugs to greeklish automatically
- Hooks in the sanitize_title() function
- You can use
skp_greeklish_slugs($your_text)
in your template files (good for dynamic css classes etc.) - Select to strip out 1 letter words
- Select to strip out 2 letter words
- Define stop words that will be striped out of the slugs
- You can modify the translitaration array of regex via
apply_filter('skp_greeklish_slugs_expressions', 'your_callback')
Filter the regex array
You can use apply_filter('skp_greeklish_slugs_expressions', 'your_callback')
and modify the regex array used to transliterate
<?php
function your_callback( $expressions ) {
// the $expressions parameter is the array with all expressions used
// view the expressions
var_damp( expressions )
// Change/remove items
$new_expressions = array(
...
'/[μΜ][πΠ]/u' => 'mp',
'/[νΝ][τΤ]/u' => 'nt',
'/[τΤ][σΣ]/u' => 'ts'
...
);
// Add them
$expressions = array_merge( $new_expressions, $expressions );
return $expressions;
}
add_filter( 'skp_greeklish_slugs_expressions', 'your_callback' );
?>
Fork on github.
स्क्रीनशॉट्स
इंस्टॉलेशन
- Upload the files to the /wp-content/plugins/skp-greeklish-slugs/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress
सामान्य प्रश्न
.
समीक्षाएं
सहायक &डेवलपर्स
“Greeklish Slugs” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Greeklish Slugs” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
बदलाव विवरण
1.1.2
*Added uninstall file
1.1.1
*Code cleanup
1.1.0
*Added greek transaltions
*Added regex array filter
1.0.1
- Added screenshots
1.0
- Release