Scott explains how to use jQuery in WordPress. He sets up a test. js script that adds text to a DIV then he explains how to control where that script is used via conditional tags. After that, he changes the test.js script to make any DIV a link. There are two ways to approach creating the links.

METHOD ONE

Method one looks for an HREF link inside the div. When the script finds that link it uses it for the entire div. This method is the preferred method because Google can find that HREF link very easily.

METHOD TWO

DIV link method two creates the link in the javascript itself. There is no link in the div at all. Per my research, Google does find this link but does not give it a high level of influence so your probably better off using method one. The benefit of this method is that you can apply the link area above any content images or text. In other words, you will receive a higher level of design control over the div.

He supplies all code in his website located here. This means you don’t have to copy the script from the video. This makes it super easy for you to learn!

All Supportive Scripts For This Tutorial Can Be Found At This Page
https://www.bluefoxcreative.com/div-links-with-jquery/

————————————————————————————————————————-
Wanna Learn About More Tech That Will Help Your Channel? CLICK BELOW
————————————————————————————————————————
https://www.youtube.com/c/scott_fichter/?sub_confirmation=1 />
■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■
■ SURF SCOTT’S GEAR & WHAT HE DESIRES FOR THE FUTURE ■
■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■
▪►
https://rebrand.ly/Lights-SpecialFX
▪► https://rebrand.ly/Cameras-and-Gear
▪► https://rebrand.ly/Mics-and-Sound
▪► https://rebrand.ly/Computer-Gear

ATTRIBUTION

Sand Diego Firework Fail
Fun Dealerz
https://youtu.be/MMUlMMyEH6k

Biggest firework SHELL ever !! World Record.
VuurwerkTeam Twente
https://www.youtube.com/channel/UCH1eJM4-LtSZ2hezFLBY2Bg
Video https://www.youtube.com/watch?v=Z6xu8v5-LOg />
Outtro Music
Artist Asylum
Song No Beef
https://soundcloud.com/xsylum
https://soundcloud.com/xsylum/xsylum-no-beef

Biggest Firework Rocket
https://www.youtube.com/channel/UC_LZqyWnVGKUZ8w4ec3AnkA
https://www.youtube.com/watch?v=c9l4SgMzLPE&feature=youtu.be&t=55s />
American Flag Waving [Royalty Free Video] 1080p 60fps
https://youtu.be/rMe89Pz0pHI

Lane Pittman
Hurricane Matthew Meets Slayer
https://youtu.be/gVxnWBQ9_1k
https://www.youtube.com/channel/UC-kpIeD4uPej2gLvB3tcFvA

catwordpress