To insert code use <code>...</code>.
Replacing "Read More" from Search Results with pages, not blog nor portfolio items
  • Hi,

    I'm creating a site in Spanish. When I perform a search, all works ok, but I need to replace the "Read More" text that shows up on each search result item.

    I searched via Google and on this forum, it seems that all the answers I found were related to blog posts or portfolio items. This doesn't apply to page items (which I chose to be shown when I search occurs).

    BTW, I'm using the language .po files on the config.php and I can tell it is working on some words (eg, Home has been replaced by Inicio, that is ok). So should I edit the .po file? Or just simply edit a particular php file?

    Thanks!
  • 3 Comments sorted by
  • Him

    Which theme?

    If striking goto the blog settings and change it in there.

    Is the read more in the blog index list replaced correctly?

    What is you lang setting in your wp_config.php?

    You can always use poedit.exe to edit you po file. Save it and upload the new po and mo file of your language to the language folder of your theme.


    Best regards,
    Striking Team
    Paul
  • Hi Paul,

    Thank you for your quick reply.

    I was referring to the Striking Theme. The language setting on the wp_config.php has indeed "define('WPLANG', 'es_ES');" and I can see some items of the admin and front end using the correct translated word.

    Not sure why "Read More" wasn't replaced, since it is defined there, but the trick was, as you said, to go to blog settings and change it there!

    Cheers,

    Martin
  • Hi Martin,

    The blogsettings overwrite the language file settings

    Best regards,
    Striking Team
    Paul
This discussion has been closed.
All Discussions