Translation of "Page ... of" and "submit"

pending (4 posts) (4 voices)

  1. xydiwa
    Member

    Hi,
    Great Template!

    How can I edit the "Page ... of" in German and the Text "submit" in Contact form.

    Thanx
    Dirk

    Posted 1 year ago #
  2. Elliott
    Support

    Hello xydiwa,

    Open up /wp-contents/themes/awake/lib/functions/widgets.php and on line 41 you can find this text..

    <p><button name="submittedWidget" id="submittedWidget" type="submit" class="fancy_button" tabindex="8" value="Submit" ><span>Submit</span></button></p>

    For the page navigation then open up /wp-content/themes/awake/lib/includes/wp-pagenavi.php and at the bottom of the file you can find the text to change.

    Let us know if this helps xydiwa.

    Posted 1 year ago #
  3. pangalos
    Member

    Hello,

    I have tried to change the text of "Page... of" like this:

    // Add Options
    $pagenavi_options = array();
    $pagenavi_options['pages_text'] = __('Página %CURRENT_PAGE% de %TOTAL_PAGES%','wp-pagenavi');
    $pagenavi_options['current_text'] = '%PAGE_NUMBER%';
    $pagenavi_options['page_text'] = '%PAGE_NUMBER%';
    $pagenavi_options['first_text'] = __('« First','wp-pagenavi');
    $pagenavi_options['last_text'] = __('Last »','wp-pagenavi');
    $pagenavi_options['next_text'] = __('»','wp-pagenavi');
    $pagenavi_options['prev_text'] = __('«','wp-pagenavi');
    $pagenavi_options['dotright_text'] = __('...','wp-pagenavi');
    $pagenavi_options['dotleft_text'] = __('...','wp-pagenavi');
    $pagenavi_options['style'] = 1;
    $pagenavi_options['num_pages'] = 5;
    $pagenavi_options['always_show'] = 0;
    $pagenavi_options['num_larger_page_numbers'] = 3;
    $pagenavi_options['larger_page_numbers_multiple'] = 10;
    add_option('pagenavi_options', $pagenavi_options, 'PageNavi Options');

    But it still doesn¡t show on my web: http://www.pangalos.es/blog/

    What am I doing wrong?

    Posted 1 year ago #
  4. Hi pangalo,
    Elliot just forgot to tell you how to actually update this options.
    He explained how to do it here

    Posted 1 year ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme