How to hide comment in K2 print pop-up

Tag: |   Category:

If you are using K2 in your Joomla site, the print option will include comment. So, if you want to remove/hide comment in the print pop-up use below code to hide the lines in your item.php.

<?php if(JRequest::getInt('print')!=1): ?>
// CODE YOU WANT TO HIDE
<?php endif; ?>

 

Copyright © 2024 Siam Naulak.
magnifiercrossmenu