The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Search doesn't work (6 posts)

  1. kuokchou
    Posted 3 years ago #

    I tried to create a page with the shortcode [weblib_searchform]. It appears fine on my page or post.

    But when I tried to search something, it kicks me back to my homepage.
    On my URL BAR, it appears to be;

    But it's actually my homepage.

    Can someone help? Thanks!


  2. kuokchou
    Posted 3 years ago #

    It's so weird... I somehow figured out somewhing... this code in the URL,

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

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

  3. kuokchou
    Posted 3 years ago #

    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

  4. Robert Heller
    Plugin Author

    Posted 3 years ago #

    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]
  5. kuokchou
    Posted 3 years ago #

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

  6. kuokchou
    Posted 3 years ago #

    Changing the permalinks setting works!! THANKS!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WebLibrarian
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic