Removing the WP Post to PDF icon in WPTouch
I recently added (and slightly enhanced the usability of) the WP Post to PDF plugin for WordPress (more on my tweaks in a later post). The plugin utilizes the TCPDF class for creating PDFs of selected pages and/or posts on a WordPress blog.
What I discovered, however, was that the plugin doesn't seem to want to play nicely with WPTouch (broken pdf links). I was going to address that, but decided that a more practical approach would be to just disable the icon altogether, if only to regain the screen real estate otherwise surrendered to the image.
It turns out that this was actually much easier than it originally seemed (as I'm no css whiz). The secret lies in the WPTouch style.css itself. This file is buried in wp-content/plugins/wptouch/themes/default. At the bottom of the file are a number of similar "maskings" done for various other extensions, such as:
/* @group Social Share */ .leftcontainerBox { display: none !important; } /* @end */
All that was required was for me to add a similar block for WP Post to PDF, as in:
/* @group WP Post to PDF */ a.wpptopdf { display: none !important; } /* @end */
Done!
Next up: Discover/build nice print & email post icons, themed to match the pdf icon.
Last Updated on by LewisR
Related posts:
- Removing the WP Post to PDF icon in WPTouch Pro WPTouch Pro is really a nice piece of work,...
- Removing social networking links from WPtouch (free version) A couple minor deletions banished those pesky social networking links...
- Egad! Why do people do their own web development? The average person nowadays brushes his or her own teeth,...
- Why should CPAs care about the cloud? Let’s count the ways Why do articles such as this present such a...
- WP Post to PDF Enhanced This is a support page for my WordPress plugin, WP...
Enjoy this article?
Recent Posts
- Novell Client for Windows (32-bit) Internal Error 0x00008993
- Noisy utility company email
- The importance of Common User Access design guidelines in 2018
- Navigating Coinbase’s customer support
- Configuring the IOGEAR GWU627 wireless ethernet bridge device under ArcaOS (and OS/2)
Categories
Support Pages
Posts by Date
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
« Jun | ||||||
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Log In
Email Notifications
RSS Feeds
Recent Comments
- LewisR on Installing Windows Server 2008 R2 x64 on the HP Proliant DL380 G4
- LewisR on Installing Windows Server 2008 R2 x64 on the HP Proliant DL380 G4
- justintd on Installing Windows Server 2008 R2 x64 on the HP Proliant DL380 G4
- LewisR on WP Post to PDF Enhanced
- pdfsc on WP Post to PDF Enhanced
Leave a comment
You must be logged in to post a comment.