• Hi guys!

    I can’t seem to get this working:
    (…)
    return '<input type="hidden" name="articleURL" value="' . get_permalink($post->ID) .'" />'
    (…)

    Problem is the link ins’t passed trough the form after submission.

    Is there any other way to pass template tags trough a form?

    Cheers!

    MAC 🙂

Viewing 1 replies (of 1 total)
  • Thread Starter MAzCastro

    (@fmacastro)

    Resolved!

    Silly me. This is the correct syntax I should have be using:

    <input type="hidden" name="articleURL" value="' . get_permalink() .'" />

    And it’s done.

    MAC 😉

Viewing 1 replies (of 1 total)
  • The topic ‘Passing template tags trough a form – problem’ is closed to new replies.