How to hide comment in K2 print pop-up

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; ?>

 

Tag: |   Category:
Copyright © 2023 Siam Naulak.
magnifiercrossmenu