JTB Custom Plugin Options

Make JTB Short Link

Add YouTube Video

To embed a YouTube video, get the privacy/no-cookies embed code, and copy just the link from there into this shortcode text:

go to the youtube.com video, click share -> embed, select the "privacy" check box yes.

EG: https://www.youtube-nocookie.com/embed/-2TwN2whQ4g?si=KjSCZ49731ia0ioL

[iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/-2TwN2whQ4g?si=KjSCZ49731ia0ioL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen][/iframe]

Data refreshes every morning, 3am.

Refresh JR Data (TP NX)

Update JR list- what we are selling (NX)


Update/refresh sitemap


Refresh Data- USJ, Sanrio, Expo etc.(NX)

3 Image Gallery

This shortcode is used to add 3 images to the top of the page instead of a banner - To add SEO text - add it to 'caption' on the edit page

You can add more than one gallery per page, and you can add an unlimited number of images. On mobile - the 3 images collapse into a triangle of 3 images

Images must be 720 X 450 pixels - (save as jpg 60)

↳ Link to Adobe Express / Canva template for that ↳

Add this shortcode after the page title to add the 1st block of 3 images as a header

Add this shortcode anywhere in the page to add subsequent galleries into the page

Don't use [gallery3] any more, this is the new system


Show price/contact button on tour page - shortcode

add price to side bar of edit page


Clean HTML Function

Edit page, change to the "Text" tab, copy all into the box, run function, paste back, click "Visual" tab, then save page - it will remove all [div] from the page which breaks the tabs.

Remove <div> Elements from HTML


Result:


JTB Custom function:


The icons are added with [icon n="name" w="width"] - where name is the below icon name, and w is the width in pixels (default is 50px, which is seen below.)