开发者 | GregRoss |
---|---|
更新时间 | 2023年4月17日 05:15 |
PHP版本: | 3.9 及以上 |
WordPress版本: | 6.2 |
版权: | GPLv2 |
No, you have to have a copy of GlotPress installed for GP Integration to be useful. However you can use (Glot-O-Matic)[http://glot-o-matic.com] and get all the features of GP Integration with a complete copy of GlotPress included!
The GlotPress logo is a PNG, but it doesn't have a transparent background set. You can find it in your GlotPress install under "img/glotpress-logo.png", use your faviorite image editor and remove the background with the magic wand!
[gp-integration] will embed GlotPress. [gp-integration-link] will create a link to your GlotPress install. [gp-integration-translator-list] will create a formated table of your translators.
The shortcode creats an iFrame along with a bit of JavaScript. The JavaScript will resize the iFrame to match the height of the GlotPress page being displayed. The JavaScript fires once a second so you may see a slight delay in the iFrame being resized. Also note that external links, like the "Proudly powered by GlotPress" in the footer, if clicked, will break the resizing script.