Coder Social home page Coder Social logo

lesterchan / wp-print Goto Github PK

View Code? Open in Web Editor NEW
21.0 6.0 15.0 179 KB

Displays a printable version of your WordPress blog's post/page.

Home Page: https://wordpress.org/plugins/wp-print/

PHP 96.55% CSS 3.45%
wp-print print print-friendly wordpress wordpress-plugin printer lesterchan

wp-print's Introduction

Hi there 👋

👨‍💻 About Me

🌏 I blogged about gadgets at lesterchan.net.

🥞 Currently working in Grab as a Engineering Manager, Full Stack.

⏪ Previously, I was the Head of Engineering in Tech in Asia.

🔌 During my free time (which I do not have much now), I am a WordPress Plugins Developer.

🔎 Find Me

Email: lesterchan@gmail.com            LinkedIn: https://www.linkedin.com/in/lesterchan            Twitter: @gamerz            Instagram: @gamerz

Latest Blog Posts on lesterchan.net

GitHub Stats

Lester Chan's GitHub Stats

wp-print's People

Contributors

jerclarke avatar lesterchan avatar matthieumota avatar nimmolo avatar zoheirkabuli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wp-print's Issues

Display options fail

Looking at the setting:

image

When you choose icon only, it will not show up. You can only get it to show up if you use Link Only or Icon and Link but Icon Only will not work and doesn't show up.

Also, there is no way to make the link show up more appropriately within the design flow of the page/post instead it will always go on the far left and that's quite annoying. Modifying the CSS you can make it go to the rightmost but that's way too much all or nothing and the fact that if you update the plugin it will overwrite the changes to the CSS its pretty futile.

Also, as for the integration, it should have a better system and automate it with the theme pages and posts on the fly because when you hard code it, then when you update the theme, it goes away. Now including the files in the theme directory is an option but again not clean.

Any chance you going to address these and update them? I mean there are A LOT of complaints and issues in the support forum but there seems to be no reply or interaction by you on them at all, so are you still developing this or not?

Bullets & Indentation

Love the plugin, however I noticed a small problem. If I created a bulleted list with multiple levels of indentation, it is not preserved when printed. I can send screen shots if you need them.

Does not print custom post type archives

I've been finagling and troubleshooting this issues for the past couple of ours. I have a custom post type set up and can print the custom is_single pages but not the custom is_archive pages. The plugin correctly creates a print page for the core post archive.

Correct me if I'm wrong, but it seems like the plugin should work on all pages. Am I misunderstanding how the print function works or needs to be set up with custom post types?

Yes, I've already done a manual refreshing of the permalinks.

No print on Woocommerce page

I have problem with this plugin on Woocommerce single product, because no print, only I get 404. I add to adventure-tours ->templates->tours->single.php and adventure-tours->Woocommerce->single-product.php, but still this same error 404.
Only problem there are on single page product, on other page and list products no problem with printing.

How I may fixing this problem? I use template Adventure Tours, site https://www.hamak-tur.pl/ferie-zimowe-2020/

404 Error

I have installed the plugin and added the php code in the template file. After clicking on the print-button it generated a 404 error

404 Error

I installed the plugin and the code in page and post. The icon is there and also the link. Unfortunately I get an 404 when I click to move to the printed page?

On other themes it works. What might be the problem?

Visual Composer Shortcodes

Is there any solution to filter out the Visual Compser Shortcodes like [vc_row][vc_column width=“2/3″][vc_column_text]?

Display Options Fail - Continued

Since you ignorantly closed the discussion without allowing for a response, especially that you ask a question, I have to open another issue to continue the discussion, that's very lazy by the way on your part and kind of pathetic, so either act like a serious developer or just leave and go play in your sandbox. (#1)

"I can't reproduce it on my end, see http://lesterchan.net/wordpress_dev/, I have choose Print Icon Only"

Well just because it works in your vacuum with hard-coding doesn't mean it works. I gave you the screenshot of the item, when its chosen, it disappears completely and only comes back if you go in and choose with text. Now just because it shows up in a test you have setup god knows when and how, doesn't mean it works and it doesn't truly reflect a real life situation. Can you go to any blog right now, not the dev one but a real one, and still prove that it shows up? Because I can prove that it doesn't.

"It is impossible to satisfy everybody. I don't see why modifying too much CSS is the plugin problem. So I will leave it at CSS for now."

No one asked you to satisfy everyone but in this particular case you actually can if you did your homework and were willing to do the work or knew how frankly. You can implement an actual interface to do it or leave it to be done manually, the user has both choices and that WOULD satisfy everyone. BTW, if you knew anything about maintaining a serious distribution you would know that modifying site/theme CSS to implement a plugin is bad practice as any update that comes in the future to that theme or ever possibly the core will replace those changes.

"I agree, but when I do this, the rest of the people will want to turn it off and place the code in themselves because they want to customize it rather than placing above or below the post content. Again, it is not possible to satisfy everybody. And I don't see why including it in a theme is not clean, it is the only alternative out there."

Again, you can provide the mechanism to use it or don't use it, you don't have to remove it, you have a very bad way of thinking all or nothing and for a programmer, that's a fatal mistake. We make things happen, not give up and concede. You seem to find it easier to just throw your hands up instead of do some work to make it better fit multiple scenarios.

"Where is the complain? http://wordpress.org/support/plugin/wp-print I didn't see anything about this. Just A FYI, I subscribed to my plugins support thread and I read it daily. If I didn't reply means user didn't bother to search or he asked a question that is not related to the plugin."

They are there if you actually bothered to read and I doubt you don't answer because the questions are invalid, because at the very least you can post the link to what they need to read without saying anything but you say nothing. Trust me as someone who supports over 24 support sites that comprise top 5% of the world's support communities, you are just lazy. Good support means engaging with your community, even if they ask a rookie question, you can point them to the answer, especially that your support material is scattered, disorganized and not very complete. You just posted comments here and there hoping everyone will jump through the hoops and wander around looking through your bragging to get to two sentences that might be helpful or in most cases not.

"I am still maintaining it, but I doubt I will add in any features unless it is from others who submitted a pull request to the plugin."

Well it should be made easier for you soon as you will become obsolete. I was hoping to implement something to save time but after wasting this much of it having a discussion with someone clearly clueless as you and trying to educate you on proper support, I decided to save my time and just build a better solution that integrates perfectly with WP from scratch and after I finished, I submitted it to the WP team for integration into the next version at which time people won't need your half baked tool, they will have a fully featured one built in and they can just ditch your ass. So enjoy the ride while you have a ride.

Rewrite for custom post type

Hi Lester,
I'd like to help solve the rewrite issue for custom post types, but I don't understand enough about rewrite rules. Thinking of posting a question to wp-stackexchange, is that OK with you?

I have echoed my blog's $wp_rewrite constant and I can see that wp-print is not producing the "/print" rule for the custom post type slug - i'm sure you already know that. Rewrite and regex, though, is truly making my head spin, it is so hard!!!!

Andrew

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.