I’m trying to list a bunch of skills on my website and have each of them open in a pop-up on click to give a little more info.
Basically, I want it to look like this, not as a button.
Image for reference
I’ve tried some codes from the internet but they either don’t work or break my WordPress theme.
The closest I’ve gotten was with this piece of code:
2
Answers
To open a link in a new tab as a popup, the easiest way is to :
target="_blank" is the attribute to have a link open in a new tab.
If these articles are in an array, you can return this array and create an element from each article in it and assign a click event to this element.