Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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,
    Marco

    #1027435

    Hey Marco,

    Can you show us where you’ve got this implemented?

    Best regards,
    Victoria

    #1027474

    Hi 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,
    Marco

    #1028023

    Hi Marco,

    This code in your Quick css does that
    Image 2018-10-30 at 14.07.21.png

    Prevents the links from appearing as links, that code needs to be adjusted to be more specific, not to target all links on all pages.

    Best regards,
    Victoria

    #1028038

    Ahhh I see….
    You are a star.

    How can I amend this link to be used only on one specific page?

    Thanks,
    Marco

    #1028043

    And on the same specific page (where the search results will appear) how to make the search results centred, so shorter in widht?

    Thanks,
    Marco

    #1028678

    Victoria 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,
    Marco

    #1028695

    Hi 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,
    Rikard

    #1028816

    Hi 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

    #1028997

    Hi Marco,

    Great, glad you found a solution :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.