post2pdfのプラグインのconfig.inc.phpの修正方法
-
いつも拝見させていただいております。
投稿記事部分だけpdfで出力したくてpost2pdfというプラグインを発見したので
インストールはしたのですが、config.inc.phpの中の設定がよくわからなくて、
いろいろ探しましたが、見つけられなかったので教えていただけないでしょうか?<原文>
<?php
/*
Default action once the plugin was activated:
1 to enable automatic exportation for all posts except those with the exclude tag
0 to disable it and let export only post with the export tag placed inside
*/$default_post_action = 1;
/*
Enable or disable category exportation
0 to disable
1 to enable
*/$export_category = 1;
$exclude_tag = “<!–post2pdf_exclude–>”;
$export_tag = “<!–post2pdf_export–>”;
$html_text = “convert this post to pdf.”;
$html_post_code = “<span class=\”post2pdf_span\” style=\”border: 1px solid gray; width: 160px; text-align: left; \”><img src=\”##SITEURL##/wp-content/plugins/post2pdf/icon/pdf.png\” width=\”16px\” height=\”16px\” />”.$html_text.”</span>”;
$html_category_code = ” (<img src=’##SITEURL##/wp-content/plugins/post2pdf/icon/pdf.png’ width=’10px’ height=’10px’/>)“;
?>を自分用に変更
<変更部分>
##SITEURL## の部分を http://www.xxxxxxx.com に変更
##CATEGORYNAME## の部分を カテゴリ名に変更##GLOBALID## の部分がどう変更していいのか不明
この修正で、##SITEURL## と ##CATEGORYNAME## の修正は正しいのでしょうか?
また、##GLOBALID## は何に変更すればよろしいのでしょうか?
トピック「post2pdfのプラグインのconfig.inc.phpの修正方法」には新たに返信することはできません。