Hello @mshams
Please try overriding Tutor LMS Templates first to keep your codes safe from affecting while taking plugin updates . .
Find the doc here to override: https://docs.themeum.com/tutor-lms/developers-docs/override-templates/
The Attachments are opened as a link . . Try to add an attribute target=”_blank” to the link/anchor tag of the attachment code to open that in a new tab
For further help, please send your query at [email protected]. Our support engineers will help you over there. .
Have a good day
Thread Starter
mshams
(@mshams)
thanks for the support .
But I don’t know exactly where I put this “_blank” code.
Please indicate me exactly
Hello @mshams
You can set the attachment file to open in a new window in the following ways:
Go to plugins/tutor/template/global/attachments.php file and override this file into your child theme. See the documentation for override this template: https://docs.themeum.com/tutor-lms/developers-docs/override-templates/
Set the target="_blank" attribute into attachments.php file I mentioned in this screenshot. http://prntscr.com/syc2bp