passing GET data in permalink URL. (2 posts)

  1. psenthilraja
    Posted 8 years ago #


    I have a requirement, where i need to give an option of displaying comments either in ascending or descending order.

    I edited comments.php and displayed a URL "Reverse Comment" as below.
    ?display=reverse">Reverse Comment

    I tried passing the info through the GET variable, but, that doesnt seem to work. The get variable is not received in the page.

    Any help on this would be appreciated.

  2. Adam Brown
    Posted 8 years ago #

    Remember to use backticks around code or it doesn't paste right.

    Just in case this is it, remember that you access the var like this:


    not like this:


Topic Closed

This topic has been closed to new replies.

About this Topic