Filter and Hooks

Want to open pdf in a new tab?

To open all the pdf’s in a new tab we shall write jQuery Script that sets the target=”_blank” for all .pdf extension in an anchor.

Place the below script before the closing of body tag.

You can also place the script inside the DOM ready.

 

Hits: 14

Standard