WordPress
【WordPress】投稿とページをPDFに変換することができるプラグインDK PDF
October 5, 2017

DK PDFはボタンを使って現在の投稿とページをPDFに変換することを可能にするプラグイン。
ダッシュボード >> プラグイン >> 新規追加 >>
有効化にするとDK PDFが追加されます。
PDF Button
Button text | ボタンテキスト |
---|---|
Post types to apply | 適用する投稿タイプ |
Action | 新しいウィンドウでPDFを開くかPDFを直接ダウンロードするかのアクション選択。 |
Position | ボタンの配置位置 |
Align | 整列 |
PDF Setup
Page orientation | ページの向き |
---|---|
Font size | フォントサイズ |
Margin left | マージンレフト |
Margin right | マージンライト |
Margin top | マージントップ |
Margin bottom | マージンボトム |
Margin header | マージンヘッダー |
Enable PDF protection | PDF保護を有効にする |
Protected PDF permissions | 保護されたPDF権限 |
Keep columns | 列を保持する |
Header logo | ヘッダーロゴ |
---|---|
Header show title | 見出しのタイトル |
Header show pagination | ヘッダーのページ区切り |
Footer text | フッターテキスト |
Footer show title | フッターのタイトル |
Footer show pagination | フッターページング |
PDF CSS
投稿画面でボタンの表示/非表示をチェックボックスで切り替え。チェックを入れると非表示
ボタン表示。
dkpdf-button
[dkpdf-button]
<?php echo do_shortcode('[dkpdf-button]'); ?>
dkpdf-columns
[dkpdf-columns]
Your content goes here....
[/dkpdf-columns]
dkpdf-remove
[dkpdf-remove tag="gallery"]gallery ids="827,811,770"[/dkpdf-remove]