{"id":30095,"date":"2014-06-20T10:11:09","date_gmt":"2014-06-20T10:11:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/skp-greeklish-slugs\/"},"modified":"2022-02-13T22:05:05","modified_gmt":"2022-02-13T22:05:05","slug":"skp-greeklish-slugs","status":"publish","type":"plugin","link":"https:\/\/bho.wordpress.org\/plugins\/skp-greeklish-slugs\/","author":7669888,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.4","stable_tag":"1.1.4","tested":"5.9.13","requires":"5.0","requires_php":"","requires_plugins":"","header_name":"Greeklish Slugs","header_author":"Kostas Charalampidis","header_description":"","assets_banners_color":"4b2f5a","last_updated":"2022-02-13 22:05:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/skapator\/Skp-Greeklish-Slugs","header_author_uri":"https:\/\/noveldigital.pro\/","rating":4.9,"author_block_rating":0,"active_installs":3000,"downloads":19038,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"skapator","date":"2014-06-20 10:13:14"},"1.0.1":{"tag":"1.0.1","author":"skapator","date":"2014-06-20 10:19:06"},"1.0.2":{"tag":"1.0.2","author":"skapator","date":"2020-04-08 19:45:55"},"1.1":{"tag":"1.1","author":"skapator","date":"2017-03-12 08:58:43"},"1.1.1":{"tag":"1.1.1","author":"skapator","date":"2017-03-12 09:50:46"},"1.1.2":{"tag":"1.1.2","author":"skapator","date":"2017-03-15 15:40:46"},"1.1.3":{"tag":"1.1.3","author":"skapator","date":"2020-04-08 20:19:42"},"1.1.4":{"tag":"1.1.4","author":"skapator","date":"2022-02-13 22:05:05"}},"upgrade_notice":{"":"<p>.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"6"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2279643,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2279638,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.1","1.1.1","1.1.2","1.1.3","1.1.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1612648,"resolution":"1","location":"assets","locale":"","width":728,"height":440}},"screenshots":{"1":"The options page"}},"plugin_section":[],"plugin_tags":[33698,939,562,9475,132889],"plugin_category":[59],"plugin_contributors":[83278],"plugin_business_model":[],"class_list":["post-30095","plugin","type-plugin","status-publish","hentry","plugin_tags-greeklish","plugin_tags-permalinks","plugin_tags-slugs","plugin_tags-stop-words","plugin_tags-translitaration","plugin_category-utilities-and-tools","plugin_contributors-skapator","plugin_committers-skapator"],"banners":{"banner":"https:\/\/ps.w.org\/skp-greeklish-slugs\/assets\/banner-772x250.png?rev=2279638","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/skp-greeklish-slugs\/assets\/icon-128x128.png?rev=2279643","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/skp-greeklish-slugs\/assets\/screenshot-1.png?rev=1612648","caption":"The options page"}],"raw_content":"<!--section=description-->\n<p>Convert Greek characters to Latin (greeklish)\nUsing <a href=\"https:\/\/github.com\/dyrer\/greeklish-permalinks\">greeklish-permalinks<\/a> with some extra functionality.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Converts post, pages, taxonomy and category slugs to greeklish automatically<\/li>\n<li>Hooks in the sanitize_title() function<\/li>\n<li>You can use <code>skp_greeklish_slugs($your_text)<\/code> in your template files (good for dynamic css classes etc.)<\/li>\n<li>Select to strip out 1 letter words<\/li>\n<li>Select to strip out 2 letter words<\/li>\n<li>Define stop words that will be striped out of the slugs<\/li>\n<li>You can modify the translitaration array of regex via <code>apply_filter('skp_greeklish_slugs_expressions', 'your_callback')<\/code><\/li>\n<\/ul>\n\n<h3>Filter the regex array<\/h3>\n\n<p>You can use <code>apply_filter('skp_greeklish_slugs_expressions', 'your_callback')<\/code> and modify the regex array used to transliterate<\/p>\n\n<pre><code>&lt;?php\nfunction your_callback( $expressions ) {\n    \/\/ the $expressions parameter is the array with all expressions used\n\n  \/\/ view the expressions\n  var_damp( expressions )\n\n  \/\/ Change\/remove items\n    $new_expressions = array(\n    ...\n    '\/[\u03bc\u039c][\u03c0\u03a0]\/u' =&gt; 'mp',\n    '\/[\u03bd\u039d][\u03c4\u03a4]\/u' =&gt; 'nt',\n    '\/[\u03c4\u03a4][\u03c3\u03a3]\/u' =&gt; 'ts'\n    ...\n    );\n\n    \/\/ Add them\n    $expressions = array_merge( $new_expressions, $expressions );\n\n    return $expressions;\n}\nadd_filter( 'skp_greeklish_slugs_expressions', 'your_callback' );\n?&gt;\n<\/code><\/pre>\n\n<p>Fork on <a href=\"https:\/\/github.com\/skapator\/Skp-Greeklish-Slugs\" title=\"Link to github\">github<\/a>.<\/p>\n\n<p><a href=\"https:\/\/noveldigital.pro\" title=\"Link to github\">noveldigital.pro<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the files to the \/wp-content\/plugins\/skp-greeklish-slugs\/ directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>.<\/p>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<p>*Added uninstall file<\/p>\n\n<h4>1.1.1<\/h4>\n\n<p>*Code cleanup<\/p>\n\n<h4>1.1.0<\/h4>\n\n<p>*Added greek transaltions\n*Added regex array filter<\/p>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added screenshots<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Release<\/li>\n<\/ul>","raw_excerpt":"Translitaration of greek characters to latin for post permalinks with some extra options. (greeklish)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/30095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=30095"}],"author":[{"embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/skapator"}],"wp:attachment":[{"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=30095"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=30095"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=30095"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=30095"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=30095"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=30095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}