开发者 |
Dimitris Mavroudis
d1m1tr1s_mav |
---|---|
更新时间 | 2024年7月4日 23:44 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 6.6 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
After you install and activate your plugin like every other WordPress plugin, every new post permalink will be now converted to greeklish automatically.
On Settings > Convert Greek Permalinks > Settings, you can also modify how the plugin converts the permalinks. Currently you can:
agp_convert_expressions
has been added to allow you to make further changes.
function change_expressions( $expressions ) { // You can modify the rules of conversion $expressions['/[βΒ]/u'] = 'g'; return $expressions; } add_filter('agp_convert_expressions', 'change_expressions' );
If you want to convert all your older permalinks, go to Settings > Convert Greek Permalinks > Convert old posts/terms , select the post types and taxonomies you want to convert and click the "Convert Permalinks" button.
Yes. It supports all custom post types or taxonomies, including Products, Product Categories and Product Tags of WooCommerce.
Yes! As of 3.1 version, wp-cli commands have been included. You can convert all your permalinks with wp agp convert
or just check how many greek permalinks you have with wp agp check
. Use wp help agp {command}
to learn more about how to use them.
wp agp get_options
) and updating the options( wp agp update_options
) of the pluginwp agp convert --post_types=post,page