To make a code block a link using the WordPress editor, follow these steps: 1. Select the line of code you want to act as a link. 2. From the pop-up widget, select the link icon. Alternatively, you can press the “Ctrl” + “K” keys on your keyboard. 3. Enter the URL you want the code to link to and hit the “Enter” key.