Support » Fixing WordPress » Dynamic linking to the current web page regardless of type

Viewing 3 replies - 1 through 3 (of 3 total)
  • You need the url of the current page?

    something like

    <?php
    echo ‘http://www.joelwalsh.com’.$_SERVER[‘REQUEST_URI’];
    ?>

    Thanks–one question before I try this: will this just return the Permalink? Because I don’t think the permalink will work with passing the id value through to the next form…the form is an email this post thing based on the one in the blue radiance theme that works by grabbing the unique id for the preceding web page and then pulling the data from the server based on it.

    this would give the permalink

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dynamic linking to the current web page regardless of type’ is closed to new replies.