定制 lloc/multisite-language-switcher 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lloc/multisite-language-switcher

最新稳定版本:2.10.1

Composer 安装命令:

composer require lloc/multisite-language-switcher

包简介

Multisite Language Switcher

README 文档

README

A simple, powerful, and user-friendly plugin that adds multilingual support to your WordPress multisite installation, whether using multiple subdomains or folders. Multisite Language Switcher allows you to effortlessly manage translations for posts, pages, custom post types, categories, tags, and custom taxonomies.

WordPress Plugin Version License WordPress Tested codecov Ask DeepWiki

Where to get the plugin

Download the latest stable from the WordPress Plugin Directory, and please remember to give this plugin a five-star rating.

Please note that while the master branch on GitHub is intended to be stable, it is not recommended for production use. Instead, please use the official releases for deployment.

If you plan to use the GitHub repository on a server, don't forget to run composer install --no-dev.

Installation Instructions

  • Via WordPress Dashboard:

    • Go to your WordPress dashboard.
    • Navigate to Network Admin > Plugins.
    • Click on Add New Plugin.
    • Search for "Multisite Language Switcher".
    • Click Install Now and then Activate.
  • Manual Installation:

    • Download the plugin and unzip it using your preferred program.
    • Upload the entire plugin directory to your WordPress plugin directory (/wp-content/plugins).
    • Navigate to Network Admin > Plugins.
    • Click on Activate for the Multisite Language Switcher plugin.
  • Configuration:

    • After activation, navigate to Settings > Multisite Language Switcher in each blog to configure the plugin.

Features and Capabilities

  • Connect Translations for Pages and Posts:

    • Navigate to Posts > Edit or Pages > Edit to link your translated content.
  • Connect Translations for Categories and Tags:

    • Go to Posts > Categories or Posts > Tags to associate your translated categories and tags.
  • Connect Custom Post Types and Custom Taxonomies:

    • Easily manage translations across different custom post types and taxonomies.
  • Utilize Widgets, Shortcodes, and Content Filters:

    • Use the widget or the Gutenberg block.
    • Use the [sc_msls] shortcode in the classic editor.
    • Set the content filter to display a hint to users when a translation is available.
  • Optional Theme Integration:

    • Insert the following PHP code directly into your theme files to display language switcher links:
      if ( function_exists( 'msls_the_switcher' ) ) {
          msls_the_switcher();
      }

Review the Multisite Language Switcher Website for more information. Some diagrams are also available.

Acknowledgements

The plugin uses flag-icons from FamFamFam. Thanks to Mark James for his great work. In addition I would like to thank Jürgen Mayer for creating the plugin's banner.

Translators

Thanks to all translators for their great work.

You can translate this plugin on translate.wordpress.org, or if you prefer and have created your own language pack, or have an update of an existing one, you can send me your gettext PO and MO so that I can bundle it into the Multisite Language Switcher. You can download the latest POT file from here.

统计信息

  • 总下载量: 100
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 140
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 140
  • Watchers: 11
  • Forks: 41
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2018-12-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固