WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Search doesn't work

[Resolved] Search doesn't work

Viewing 5 replies - 1 through 5 (of 5 total)
  • It’s so weird… I somehow figured out somewhing… this code in the URL,
    ?p=1048.

    Coz’ when I add this into my URL, the search does work!

    http://10.3.3.11/wordpress/?p=1048?searchby=title&searchbox=execution&weblib_orderby=barcode&weblib_order=ASC

    PS: You won’t be able to check out the link coz’ it’s in my company intranet

    Okay.. now I know what’s the problem. It’s because functionsearch_form doesn’t get the permalink (?p=1048), but the functionitem_list has something like $moreinfourl = get_permalink();

    But.. I still don’t know how to solve it…grrrrrrrr

    Plugin Author Robert Heller
    Participant

    @robertpheller

    I’d suggest two solutions:

    1) Change your site’s permalink settings: on the dashboard select Settings->permalinks, then select something other than the ‘default’.

    2) Set the actionurl and method parameters in the search form shortcode:

    [weblib_searchform actionurl='/?p=1048' method='post']
    [weblib_itemlist holdbutton=1 inlinemoreinfo=1]

    Thanks! Got to try it the first thing tomorrow morning when I reach office. Hope it works.

    Changing the permalinks setting works!! THANKS!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Search doesn't work’ is closed to new replies.