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 (“)…
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?
- The topic ‘Links aren’t links’ is closed to new replies.