Tagged: search box
-
AuthorPosts
-
October 26, 2018 at 10:08 am #1026681
Hi,
a page of my website contains a list of titles of articles divided by category.I would like to add in the top of the page an horizontal long search box. And when someone performs a search on that bar by writing some words, the results have to be title of the article (clickable) and highlighted words found in a paragraph just underneath the title.
I have used a plugin like this https://wordpress.org/plugins/add-search-to-menu/
but this does not make the articles clickable resulting useless.Thanks in advance,
MarcoOctober 29, 2018 at 11:08 am #1027435Hey Marco,
Can you show us where you’ve got this implemented?
Best regards,
VictoriaOctober 29, 2018 at 12:19 pm #1027474Hi Victoria,
sure, that is the page.see the search bar in the top, try to write something. You will get a list of results, but nothing is clickable. I tried to 2 plugins but I get exactly the same result.
Thanks,
MarcoOctober 30, 2018 at 2:08 pm #1028023October 30, 2018 at 2:25 pm #1028038Ahhh I see….
You are a star.How can I amend this link to be used only on one specific page?
Thanks,
MarcoOctober 30, 2018 at 2:34 pm #1028043And on the same specific page (where the search results will appear) how to make the search results centred, so shorter in widht?
Thanks,
MarcoNovember 1, 2018 at 2:58 am #1028678Victoria him
did you get the above reply?I have removed the code which disabled the post title links.
I would need to remove this from a specific page, can you please help me with this? I would need to remove the post title link from this page
https://www.ninserviziogratuito.co.uk/?s=nin which is generated from the ajax search plugin from the original page https://www.ninserviziogratuito.co.uk/tutte-le-nostre-guide
thanks,
MarcoNovember 1, 2018 at 5:07 am #1028695Hi Marco,
If you need to remove the links from the search result pages then simply add this before the code Victoria referred to:
.search-results
Best regards,
RikardNovember 1, 2018 at 12:07 pm #1028816Hi Rikard,
thank you for the hint. I actually had to do the way around, links hidden in the articles and links visible in the search. So I did made them visible in the search page. Thanks again :-)Marco
November 2, 2018 at 5:09 am #1028997 -
AuthorPosts
- You must be logged in to reply to this topic.