Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using WP 3.1.2 and latest e-commerce plugin. Now I'm stuck at creating simple page for printing product info. It has to be only product information with not WordPress header and footer. The pop up window appears nicely but now I need to check against something in header and footer files to when not to display them.

I can't check by post id cause then I need to edit it every time new product is added. And I can't add GET parameter to URL cause then WP e-commerce plugin doesn't show product, instead it displays products page.

How can I possibly do this?

share|improve this question

closed as off-topic by Pieter Goosen, Mark Kaplun, birgire, G. M., Bainternet Dec 12 at 10:13

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 2 down vote accepted

You can handle this much more simply with CSS and a print stylesheet. Just add display:none within that stylesheet for all elements you don't want visible in the print version.

share|improve this answer