Links aren’t links
-
I’m trying to create a menu of links using
<div id="nav"><ul><?php wp_get_links(2); ?></ul></div>
it outputs the list of links from category ID #2 fine, but the link url is surrounded by single quotations (‘), not double (“)…
<li><a href='https://chordaltheory.net/photos'>Photos</a></li>
As a result (I think), the link element within each
<li>
isn’t actually a link. Meaning it isn’t clickable as a link. Any thoughts?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Links aren’t links’ is closed to new replies.