Custom code your link template
Need more than the template styling settings? It's also possible to code your own visual link template.
Adding a custom link template
You want to create the following directory structure in your (child) theme:
Inside that folder, create the following files:
These will automatically get loaded when the template is used. your-custom-template can be any name you want. Just make sure the file names match with the directory name.
How to code your custom link template
Inside the PHP file you'll automatically have the $link variable available to access the different properties.
Have a look at the default templates in the following plugin folder for example usage: