Greeklish Slugs
Translitaration of greek characters to latin for post permalinks with some extra options. (greeklish)
The facts
- Rating
- 4.9★ from 7
- Active installs
- 3k+
- Price
- Free
- Last updated
- 13 Feb 2022
- Added
- Jun 2014
- Requires WP
- 5.0
- Tested up to
- WP 5.9.16
- Downloads
- 19,536
Our analysis
AI-assistedGreeklish Slugs is a WordPress plugin that converts Greek characters in slugs to Latin characters, making them more accessible for URLs. It automatically applies this conversion to posts, pages, taxonomies, and category slugs, enhancing permalink usability. The plugin is suitable for users who need to manage Greek content on their WordPress sites while ensuring slugs are compatible with standard URL formats.
The plugin includes functionality to filter out certain words, such as 1 and 2 letter words, and allows users to define stop words that should be excluded from slugs. Additionally, it offers a way to modify the transliteration rules through a filter, giving developers flexibility in how slugs are generated.
Best for: This plugin suits WordPress users managing Greek content who need to create user-friendly URLs.
What it does well
- ✓Converts Greek characters to Latin characters automatically
- ✓Filters out specified short words and stop words
- ✓Customizable transliteration rules via filters
- ✓Easy integration with existing WordPress functions
- ✓Free to use from the WordPress.org directory
Where it falls short
- •Limited information on user support or documentation
- •No recent updates since February 2022
Verdict
Greeklish Slugs provides a straightforward solution for converting Greek slugs to Latin. It is a useful tool for specific user needs but may lack extensive support or updates.
From the developer
skapator's own description of Greeklish Slugs, lightly tidied.
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.