Skip to main content

Wordpress Anthologize Plugin - How to Remove Span from Copyright in PDF Export

Adrian Video Image has posted a new item, 'Wordpress Anthologize Plugin - How to Remove Span from Copyright in PDF Export'

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.

Wordpress Anthologize plugin pdf copyright span problem before

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.

Wordpress Anthologize Plugin  pdf copyright span problem file

  • 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 );]
    Wordpress Anthologize Plugin pdf copyright span problem
  • Hit Save.

When I exported my next PDF ebook… Walla! A cleaned up front page!

Wordpress Anthologize Plugin pdf copyright span problem after

 

 

 

I got my clue to the file from patickmj in 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.

Adrian Lee
http://AdrianVideoImage.com



You may view the latest post at
http://adrianvideoimage.com/2013/02/wordpress-anthologize-plugin-how-to-remove-span-from-copyright-in-pdf-export/


Comments

Popular posts from this blog

Macbook Air M1 Case

I bought a transparent case for my MacBook Air M1 . It came with a free screen protector, a keyboard cover, and some rubber plugs to cover the ports. Check it out! https://youtu.be/d-wALSd3nn8 I didn't expect the rubber plugs. It was a nice surprise. The case fits snuggly, with access to all the ports. The keyboard cover is almost invisible to the eye. I have no intention to use the screen protector. Why? I need to see the true color of the display for my YouTube videos. ~ Adrian Lee  @Adrian Video Image  The video was recorded on iPhone 12 Pro Max with Filmic Pro app in 4K 60fps and edited with Capcut.

Sony Vegas Pro 8 Tutorial - Multicamera Editing

Sony Vegas Pro 8 makes it easier to edit videos from different cameras right from the timeline. You can capture and edit video for a single scene from 2 or more cameras or for a single scene shot a few times with one camera. Here is a tutorial of a Multicamera Edit of a drama I shot. The drama was acted out four times to the public and being a non-profit organization, the client have budget only for one videographer. For each of the 4 acts, the camcorder (Sony HDR-FX7 High Definition Camcorder) was placed at 4 different positions and shot in various angles. Multicamera edit is accomplished in only 8 steps with the Sony Vegas Pro 8. Step #1: Capture Multicamera Video Clips Use the normal Sony Vegas Video Capture function to capture recordings from each camera. Give each capture filename a unique name. Enable scene detection before capturing so that each segment is captured as a separate clip. Step #2 : Layout Video Clips on Timeline Drag and drop video clips over each other on the...

How to Connect an External Video Camera to MacBook Pro for Live Streaming

How to use an external camera on Mac? In this video, I demonstrate how I connect my GoPro (or other cameras) to my Macbook Pro for live streaming? See the links below the video for the list of equipment required for the setup.  Links... - Micro-HDMI to HDMI cable... https://amzn.to/2VnZNcC - HDMI to USB Capture Device...   Elgato Cam Link 4K... https://amzn.to/3a0Gcob   Alternatives...   Ansten... https://amzn.to/2W4mzGM   Unisheen... https://amzn.to/2y9BDKS   Magewell... https://amzn.to/3b2StJX   ATEM Mini... https://amzn.to/2RtsDam   Treaslin... https://amzn.to/2YidpHJ - USB to USB cable... https://amzn.to/2VnhpVX (Not required for Elgato Cam Link / USB to USB-C required for New MacBook pro) - GoPro Hero7 Black... https://amzn.to/3a8oiA9 - Gekkopod Flexible Tripod Stand... https://amzn.to/2yOyosF Like this video? Buy me coffee... 😋 https://www.buymeacoffee.com/VideoLane