Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #22432

    Hi Kriesi and team,

    Thanks for Your Corona theme.

    Nice theme!

    I’v managed to do customization on it.

    But, one simple question I still can’t figure it out.

    How can I modify the heading (image selector texts) in a portfolio page?

    That is, like in your demo page

    how can I change the word/text “All’ into my own language?

    I do not intend to use any multi-language support, just a simple hard-coded change is OK.

    I’ve inspected its element, and its CSS should be something like: .sort_by_cat .active_sort.

    But I still can’t see where I can modify the text itself.

    Looking forward to your help and assistance.

    Thanks in advance!



    Most people make a .pot language file (its free) which has all the english phrases of the theme, and then they put their own language next to it, and theme takes care of the rest. because otherwise you will have to go through a large number of pages to change things. Also some of the words / phrases are already inside the database where they are placed as soon as you activate the theme, and so are far from easy to reach.

    Here is the free po editor , with it you make a file and dump it in the languages folder of the theme.

    However if you wish to locate the various english words one by one, you will need to follow the directions in this post which will tell you how to locate anything and everything you want.




    Hi Nick,

    Thanks so much for Your reply!

    Yes, I guess using the .PO and .MO files is a much better way of translating the words

    instead of manually modifying them in various pages despite the capability of folder-based

    text searching of modern code editor like Notepad++ to replicate/implement Unix-style grep functionality.

    I am able to use PO editor to translate the words now, yet I have a small question on it.

    I’m using a child theme to implement my customization on Corona theme.

    Yet, the PO & correspondingly derived MO files have to be put under the original Corona

    folder, that is under: corona/lang instead of my child theme’s folder. Is this an expected behavior?

    FYI, I’m using the latest WordPress with multi-site support.

    Thanks in advance again for Your kind help and assistance!



    Please look here

    You will need to add the function described here to your child theme’s function.php file (which is probably empty or doesn’t exist, but make a new file and call it functions.php and add the code below as the only thing in it.). You would create a language folder called /languages/ in your child theme and drop the correctly named file into the language folder, and then add the code below to functions.php located in the main folder of your child theme.

    function my_child_theme_setup() {
    load_child_theme_textdomain( 'avia_framework', get_stylesheet_directory() . '/languages' );
    add_action( 'after_setup_theme', 'my_child_theme_setup' );



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

The topic ‘Changing the heading (image selector heading texts) in Portfolio Page’ is closed to new replies.