Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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 &raquo’ 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. :)

    #52943

    Edited first post, as I’ve solved one of my issues.

    #52944

    Hey,

    what happens if you use:

    the_content();

    instead of:

    the_content(__('Read more »','cleancut'));

    - do you get formatting errors? Don’t forget to reindex everything with Relevanssi.

    #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.

    #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.

    #52947

    Done

    #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”

    #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!

    #52950

    Glad that I could help you :)

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Modifying the search results page.’ is closed to new replies.