• Hi All,

    I am facing little issue with passing parameters via url in wordpress for my gallery based project, here is my problem.

    1. First of all my project gallery containing listing of images according to variable passed in the GET parameter in wordpress url.

    2. Suppose any one passing url like http://example.com/?type=reality Then in template file i am retrieving the “type” variable passed via GET method and according to the value of this type varible i am showing result of gallery. In these case i am showing type=reality photos.

    3. I tried with different way of wordpress like
    add_filter(‘query_vars’, ‘functionaname’); but still i am not able to achieve pretty url. Instead of that it goes on 404 page template.

    4. My current url not looking proper like pretty permalink of wordpress so i just want to ask is there any way to pass the custom parameters in wordpress in pretty way.
    e.g I want this url need to be http://example.com/type/reality
    rather than
    http://example.com/?type=reality

    I hope everyone understood my problem, Please reply on this if you have any idea about this.

    Thanks & Regards
    Omprakash Bagrao

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Structured way of passing parameters in WordPress url’ is closed to new replies.