Support » Fixing WordPress » get_the_permalink not working?

  • Resolved madskjaer

    (@madskjaer)


    I need to output the permalink to a variable, and I would think this could be done like so:

    $output .= get_the_permalink();

    But it doesn’t seem to work. I can’t find any help in the Codex, which doesn’t even mention get_the_permalink. Is it even a wordpress function? Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘get_the_permalink not working?’ is closed to new replies.