I am playing with WordPress Anthologize plugin for writing my PDF ebook within WordPress. I love everything about WP Anthologize except for 2 annoying issues: the messed-up “copyright” word in the front page and the Anthologize logo on every content page.
In this post. I log the steps I took to clean up the messed-up “copyright” word.
In the exported PDF ebook, there is the not-so-nice “<span>…</span>” texts around the word “Copyright”.
How to remove the “<span>…</span>”?
I logged in to my web host control panel.
- Go to File Manager.
- Select this file: /public_html/wp-content/plugins/anthologize/templates/pdf/class-pdf-anthologizer.php.
- Select Code Editor.
- Go to line 145…
[$this->output->Write(”, $this->api->getProjectCopyright(false, false) . ‘ — ‘ . $year , ”, false, ‘C’, true );] - Replace [$this->api->getProjectCopyright(false, false)] with [‘ Copyright ‘]. See inside square brackets [].
- So the new line 145 is…
[$this->output->Write(”, ‘ Copyright ‘ . ‘ — ‘ . $year , ”, false, ‘C’, true );]
- Hit Save.
When I exported my next PDF ebook… Walla! A cleaned up front page!
I got the clue to the file from this disussion on issues: Copyright, stylesheets.
In the next post I will blog how to replace the Anthologize logo on every page with your own logo.
After which… I am still figuring a way to add a graphic cover page to the PDF ebook.
If you like this post, you may link to it and share it…
http://adrianvideoimage.com/2013/02/wordpress-anthologize-plugin-how-to-remove-span-from-copyright-in-pdf-export/
Adrian Lee
http://AdrianVideoImage.com
Thank you for this post. It was very helpful.