
-
AuthorPosts
-
January 23, 2014 at 9:38 pm #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.
January 23, 2014 at 10:54 pm #214123Hi ednab!
Please see Peter’s post here https://kriesi.at/support/topic/exclude-from-search/#post-187774
Best regards,
YigitJanuary 24, 2014 at 12:00 am #214190Hi Yigit,
Thanks. That didn’t work for me as my search page just disappeared after inserting the code. The plugin is now deactivated.January 24, 2014 at 12:43 am #214222Also 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?January 24, 2014 at 1:11 am #214230Hey!
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!
YigitJanuary 24, 2014 at 7:05 pm #214542This reply has been marked as private.January 25, 2014 at 6:58 pm #214867Hey!
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!
YigitJanuary 30, 2014 at 3:25 pm #216972Thanks so much Yigit. It worked like a charm :)
E.
-
This topic was modified 11 years, 3 months ago by
-
AuthorPosts
- The topic ‘Search on top menu’ is closed to new replies.