September 28, 2011 at 8:09 pm #6121
Hi again fellas, I have another question about modifying the theme a little bit more, this time with the search results page.
After reading through the forums I opted to install the Relevanssi search plugin; this allowed me to disable the slideshow posts that were popping up in my search results. Dude, thanks for that post on another thread. :) I’ve also removed the edit line as well as the comment block from the search results.
So now I only have one thing I need to modify that I can’t seem to wrap my head around.
I would like to remove the title text that is found in the ‘Read more’ buttons found on posts and pages returned on the search results page. I don’t quite understand why it continues to post the title text the_content() function is using the default ‘Read more »’ text string. When I attempt to rewrite this line with just the basic the_content() function it breaks the content return. What do I need to modify the result set ‘Read more’ buttons text?
You can see an example of a search result: http://spwebservices.com/?s=web+design
Again, I appreciate all the help. :)September 28, 2011 at 8:39 pm #52943September 29, 2011 at 5:54 am #52944
what happens if you use:
the_content(__('Read more »','cleancut'));
– do you get formatting errors? Don’t forget to reindex everything with Relevanssi.September 29, 2011 at 4:17 pm #52945
I should have stated that I’ve tried that prior to posting, my apologies.
I went ahead and tried it again, per your advice, then rebuilt the index. I receive the same result set with the more tag still displaying the title.
I will leave the search.php in this state if you would like to re-review it or come up with another idea.
As always, thanks for your timely response, Dude.September 29, 2011 at 4:30 pm #52946
Please create me an admin account and send me the login data to: (Email address hidden if logged out) – I’ll look into it.September 29, 2011 at 6:52 pm #52947September 29, 2011 at 7:55 pm #52948
Ok – the seo plugin changes the read more link output. You can change the output here: http://spwebservices.com/wp-admin/admin.php?page=su-misc#su-more-links or deactivate the “More Link Customizer”September 29, 2011 at 8:25 pm #52949
/fail… how did I miss that.
Dude, thanks so much. I’ve been beating my head against the wall for days looking at each framework file line by line.
Thanks!September 30, 2011 at 5:57 am #52950
The topic ‘Modifying the search results page.’ is closed to new replies.