이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

PDF-Creator

설명

Use this plugin to generator PDF’s. Note: this is a beta version!

설치

  1. Download ‘PDF creator’.
  2. Upload the ‘PDF creator’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate ‘PDF creator’ from your Plugins page.
  4. Initiate and use the plugin in your code by writing :

    4.1. $mode = ‘utf-8’;
    4.2. $size = array(212.72500, 276.22500);
    4.3. $html = ‘

    <

    div>’;
    4.4. $css = site_url().’/wp-content/plugins/directorypress-extend-listings/includes/pdf-generation/sample-css.css’;
    $css = file_get_contents($css);
    4.5. $footer = ‘

    footer

    ‘;

    4.6. pdf_generation($css, mode, $size, $html, $footer);

  5. Have fun! Send an email to info@hemmes.it or visit http://www.hemmes.it/wordpress-pdf-creator/ if you have any questions related to this project.

FAQ

Please explain this stage
  1. Initiate and use the plugin in your code by writing :

    4.1. $mode = ‘utf-8’;
    4.2. $size = array(212.72500, 276.22500);
    4.3. $html = ‘

    <

    div>’;
    4.4. $footer = ‘

    footer

    ‘;
    4.5. pdf_generation($mode, $size, $html, $footer); =

You have to run this (without the 4.1. etc.) to generate the PDF. Make sure you include the function pdf_generation.
Your $html is the variable where you store the content of the PDF, it’s now, as an example, ‘

<

div>’, you need to change that and add your own content. Same goes for the $footer.

후기

모든 1 평가 읽기

기여자 & 개발자

“PDF-Creator”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “PDF-Creator”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.2

11/11/2013

  • Added MDF5.7 class
  • Added function to create directory structure to upload PDF
  • Changed PDF name to result.pdf

0.2.2

04/12/2013

  • Added support for CSS

0.2.4

04/12/2013

  • Added feature to delete (old) PDF before generating a new one
  • Small fixes

0.2.5.

04/12/2013

  • Fixed footer bug (needed to print footer before html-content)

0.2.6.

08/12/2013

  • Added settings for tmp-folders

0.3.

01/31/2014

  • Added PDF Generator menu to backend
  • Created separate section in code for settings
  • Added expirimental API