這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

GBI To Print

描述

With gbitoprint you can print the contents of a div or any html element indicating only the id or class of the div. It can be used for all pages, for all post or also using a shortcode. Once configured properly you will find at the end of the post or page a button with the text Print. Clicking opens a window with the content to be printed. It has been tested in firefox and chrome.

You can use it so that your users have an easy way to print your posts or pages, to print discount coupons, texts generated by you … practically for any matter that you need to print your posts or pages.

Once installed and activated go to Settings -> GBI To Print Settings

Indicate in the box the id (do not forget to put a # before) or class (precided by.)

You can also select to appear in all posts or all pages (or both).

Save the changes and check the operation. If a blank page appears you return to the settings and verify that the name you entered of the class or id is correct.

To know what id or class you should put (depends on the theme of wordpress), you can use the google or firefox inspector.

To use the shorcode enter [gbitoprint “id / class”] in the post or page you want the button to appear. Remember to put a. In front of the class or a # in front of the id.

Please, any bug or defect that you find let me know and I will improve the plugin in future versions.

If you want to collaborate or you have suggestions write me to my email.

Thank you very much for installing my plugin.

P.S. Translated with Google, forgive the errors.

Introduce en las páginas o post un botón para imprimir el contenido de un div utilizando su id o clase. Se puede usar en todas las páginas o post. También se puede usar con un shortcode en las páginas o post individualmente.

Con gbitoprint puedes imprimir el contenido de un div o cualquier elemento html indicando solamente el id o la clase del mismo. Se puede utilizar para todas las páginas, para todos los post o también usando un shortcode. Una vez configurado correctamente encontrarás al final del post o página un botón con el texto Imprimir. Al hacer click se abre una ventana con el contenido a imprimir. Ha sido probado en firefox y chrome.

Puedes utilizarlo para que tus usuarios tengan una forma fácil de imprimir tus post o páginas, para imprimir cupones de descuento, textos generados por ti… prácticamente para cualquier asunto que necesites imprimir de tus post o páginas.

Una vez instalado y activado dirígete a Ajustes -> GBI To Print Settings

Indica en el casillero el id (no olvides poner un #delante) o la clase (precidida por .)

También puedes seleccionar que aparezca en todos los post o en todas las páginas (o en ambos).

Guarda los cambios y comprueba el funcionamiento. Si te aparece una página en blanco vuelve a los ajustes y comprueba que el nombre que has introducido de la clase o id es correcta.

Para saber qué id o clase debes poner (depende del tema de wordpress), puedes utilizar el inspector de google o el de firefox.

Para usar el shorcode introduce [gbitoprint “id/clase”] en el post o página que deseas que aparezca el botón. Recuerda poner un . delante de la clase o un # delante del id.

Por favor, cualquier fallo o defecto que encuentres házmelo saber y mejoraré el plugin en las futuras versiones.

Si deseas colaborar o tienes sugerencias escríbeme a mi email.

Muchas gracias por instalar mi plugin.

螢幕截圖

  • A post to print
  • Area to print
  • Google inspector to know the div id
  • Result

安裝

  1. Upload the plugin files to the /wp-content/plugins/gbitoprint directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->GBI To Print Settings screen to configure the plugin

常見問題

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/gbitoprint directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->GBI To Print Settings screen to configure the plugin
Can I use it in my posts or pages?

Yes, of course, remember to have the box appear in all posts or all pages enabled

The print button appears but does not print anything

Check that you have put the. In front of the class or the # in front of the id. Also make the name / id correct.

評價

There are no reviews for this plugin.

貢獻者及開發者

“GBI To Print” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 GBI To Print 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0