Page 1 of 1

How to make only Article title appear in search result

Posted: Tue Jan 11, 2011 11:15 am
by syhussaini
Hello All,

One of my friend is working with Joomla 1.5.22 version and was trying to find ways to make only Artilce title appear in search result and not the preview.

Is there a way to achieve this.

Please help.

Re: How to make only Article title appear in search result

Posted: Thu Jan 13, 2011 7:13 am
by informnz
While we're unable to manually change titles or snippets for individual sites, we're always working to make them as relevant as possible. You can help improve the quality of the snippets displayed for your pages by providing informative meta descriptions for each page.

Re: How to make only Article title appear in search result

Posted: Wed Feb 02, 2011 12:42 pm
by grobbie
informnz wrote:While we're unable to manually change titles or snippets for individual sites, we're always working to make them as relevant as possible. You can help improve the quality of the snippets displayed for your pages by providing informative meta descriptions for each page.
huh?

How do you get only the article title to apear in the search results? He does not want to change the titles, he wants only the article title to appear in the search results.

Anybody out there with an idea how to do this would be my hero!!!!!!

Re: How to make only Article title appear in search result

Posted: Wed Feb 02, 2011 1:47 pm
by syhussaini
Grobbie,

Thanks for a quick note, looking forward for our Hero :).

Somebody help us please.

Re: How to make only Article title appear in search result

Posted: Sat Jul 07, 2018 2:48 pm
by DaveOzric
I know this is an ancient thread but I need this solution as well. Even better title plus meta description would be better.

Re: How to make only Article title appear in search result

Posted: Thu Feb 27, 2020 2:45 pm
by syhussaini
Hello Team,

I don't know how, but I was not looking at this thread for a long time. I just tried again and managed to pull it off. Here is what I did:

1. Performed the search.
2. Took the class name of the search text using Inspect element function of Chrome (in my case: .result-text)
3. No set the display to none.

Listed below is the CSS code sample I have used:

Code: Select all

.result-text {
    display: none;
}
The outcome page can be seen here: Click this link https://dailypuzzleanswers.com/search.h ... phrase=allto see the results with just titles.

Hope this helps.