Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter kuokchou

    (@kuokchou)

    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!

    https://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

    Thread Starter kuokchou

    (@kuokchou)

    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

    (@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]
    Thread Starter kuokchou

    (@kuokchou)

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

    Thread Starter kuokchou

    (@kuokchou)

    Changing the permalinks setting works!! THANKS!

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