定制 aucor/aucor-polylang-translation-mapper 二次开发

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

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

aucor/aucor-polylang-translation-mapper

Composer 安装命令:

composer require aucor/aucor-polylang-translation-mapper

包简介

This is a tool that helps you connect all imported posts as translations for Polylang.

README 文档

README

Contributors: Teemu Suoranta

Tags: polylang, translations, import, mapper

License: GPLv2 or later

Description

This is a tool that helps you connect all imported posts as translations for the multilingual WordPress plugin Polylang.

Requirements for the plugin:

  • Posts should have a language (you can set them when importing for example with WP All Import)
  • Translations have a unique identifier key in post_meta

Take backup of your database before doing this! Use at your own risk.

Installation

How-to use:

  • Import your content with WP All Import Pro (or something else) and check that requirements above are met
  • Take a backup of your database
  • Download plugin and activate (you will need Polylang active)
  • You will see UI in admin notice that shows you the post type and meta_id
  • If post type or master id are incorrect, change them in the code (lines 36 and 37)
  • Click the button "Start connecting translations"
  • Click through steps (50 posts at a time). Each step will take some time.
  • Deactivate and delete plugin when you have gone through all the steps

Composer:

$ composer aucor/aucor-polylang-translation-mapper

With composer.json:

{
  "require": {
    "aucor/aucor-polylang-translation-mapper": "*"
  },
  "extra": {
    "installer-paths": {
      "htdocs/wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
    }
  }
}

Issues and feature whishlist

Issues:

(No known issues, yet)

Feature whishlist:

  • Maybe a UI to select post type and master_id
  • Show total updated instead of count for step
  • Add CLI support

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 7
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPLv2
  • 更新时间: 2016-09-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固