Dilectio: bug on search page, page 2 go to homepage

I try few hours to find why my search don’t work correctly. I use “page navi” plugin but the error persist without plugin too.

Finally, after many code modification I fout the problem. It was in the POST method who must be replaced with GET method.

But attention, Dilectio wordpress themes have two forms in their code. One is simple to find, is in searchform.php but the search field placed in the sidebar on the blog is in sidebar.php

So you must have this code on form:

<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">

1 thought on “Dilectio: bug on search page, page 2 go to homepage

  1. Pingback: Modificari la tema - Dragos Schiopu

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.