Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #214094

    Hi,
    I have come across a little issue which I was hoping you could help me with.
    We have several pages that need to be off the radar from the internal WordPress search. I have installed a plugin that does this and have also excluded the page IDs from the search by editing functions.php.. and for the most part it works perfectly except for the ajax search which is on top right corner of every page. The pages that should not be searched show up as links in the drop down when searched as drop down items.

    I was wondering if there is a way to
    1- Exclude these pages from the drop down quick search on each page
    2- if above is not possible can the search option be removed from the top menu? And replaced with a link? I could then link an image/icon to go to the main search page.

    Thanks so much for all your help.

    • This topic was modified 11 years, 3 months ago by ednab.
    #214123

    Hi ednab!

    Please see Peter’s post here https://kriesi.at/support/topic/exclude-from-search/#post-187774

    Best regards,
    Yigit

    #214190

    Hi Yigit,
    Thanks. That didn’t work for me as my search page just disappeared after inserting the code. The plugin is now deactivated.

    #214222

    Also on this post: https://kriesi.at/support/topic/remove-search-from-nav-and-adding-a-button/#post-213851
    It’s mentioned to go to ” Enfold theme options > Header and simply uncheck “Append search icon to main menu”. ” I don’t see such an option?

    #214230

    Hey!

    You are probably using the older version of the theme. Please update your theme to the latest version 2.4.5 and it should appear
    http://kriesi.at/documentation/enfold/updating-your-theme-files/

    Cheers!
    Yigit

    #214542
    This reply has been marked as private.
    #214867

    Hey!

    Please try adding following code to Quick CSS in Enfold theme options under Styling tab

    #socket .sub_menu_socket li.menu-item-3761 { display: none!important; }

    It will target the menu item using the menu item ID

    Cheers!
    Yigit

    #216972

    Thanks so much Yigit. It worked like a charm :)

    E.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Search on top menu’ is closed to new replies.