• Resolved stylep

    (@stylep)


    Sorry for asking too much, this is my first WP install.

    Where can I find the titles on the website like “Latest Projects” or “Learn more”?

    I thought these are defined in the .php files and I can easily rewrite them (for translation purposes), but they are not there.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author alex27

    (@alex27)

    This texts are inside template files, but if your creating translation to other language, you should follow instructions found in theme documentation (look at the bottom).

    Thread Starter stylep

    (@stylep)

    And where are these template files? I mean, I couldn’t find any of the texts that I wanted to change in the Template editor.

    I’m translating the theme and I can’t find the string to “Latest Projects” that appear on home page.

    I changed the “Portfolio Page Title” in Theme Options but it only affects the archive page (/projects).

    I use Sublime Text 2 function to search in files for “Latest Projects” and the only result is in line 132 of /corpo/options.php, that says:
    ” options[] = array( “name” => __(‘Do you want to display latest projects section on the Home Page?’,’corpo’), “.

    Where could this be?

    Theme Author alex27

    (@alex27)

    Please note that portfolio is not built into the theme, it comes from Corpo Toolkit plugin and that’s where those texts are located.

    Thanks, Alex!

    I found the string, but I didn’t found any .po in Corpo Toolkit folder… so if I translate the php file I would lose it in an update.

    Is there a solution to this or should I just create a .po myself?

    Thread Starter stylep

    (@stylep)

    I found everything I wanted. The last thing I’d like to change is the projects page texts ([domain]/project/[projectname] – where should I look for that?

    Theme Author alex27

    (@alex27)

    This is also in the plugin, portfolio.php where the custom post type is constructed. But I don’t recommend that – this will be lost during plugin update, no way around it.
    For future plugin release, I’ll probably prepare .po files to facilitate translations.

    Thread Starter stylep

    (@stylep)

    Thanks, I found everything I wanted. I resolve this topic.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Editing theme titles’ is closed to new replies.