Open custom link in new tab

[ad_1]

I’ve set up custom links from the images in the FooGallery to multi-page pdfs. When clicked, I want the pdfs to open in a new tab, but having set that up they are appearing in the gallery tab and you can’t scroll through the pdf pages.

I have looked up this page in the help files, and tried to update the functions.php file, but it hasn’t worked:

https://fooplugins.com/documentation/foogallery/developers/force-thumbnail-links-load-new-tab/

I’m not sure where exactly to insert the code in functions.php, so maybe that’s why it isn’t working. Please could you clarify?

Thanks, Andrew

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer