• Hi,

    I have written a custom theme in which I use both home.php and index.php. home.php template is used to display static/non posts contents while index.php template is used to display the dynamic/posts contents.

    Everything works perfectly except when I pass custom query as a parameter in the URL for e.g. test.com/?meta_key=abc&meta_value=xyz, home page is displayed whereas the query should be handled by index.php template.

    However, this does not happens with cat=, tag=, p=, page_id=, m= etc…

    Just can’t find a solution to it. Any help with be highly appreciated.

    Thanks in advance.

    Thanks,

    Alok

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem dealing with home & index templates’ is closed to new replies.