Forums

[resolved] Small Problem With WP-PageNavi Plugin. Please Advise. (3 posts)

  1. WordPresser2010
    Member
    Posted 1 year ago #

    Hello, I'm trying to change the "Page # of #" text in my search results navigation boxes. The default code in wp-pagenavi.php looks like this:

    $options = new scbOptions('pagenavi_options', __FILE__, array(
    'pages_text' => __('Page %CURRENT_PAGE% of %TOTAL_PAGES%', 'wp-pagenavi'),

    I have changed it to the following:

    $options = new scbOptions('pagenavi_options', __FILE__, array(
    'pages_text' => __('Strona %CURRENT_PAGE% z %TOTAL_PAGES%', 'wp-pagenavi'),

    But the text remains unchanged in my site's front-end.

    So basically, I would like it to say "Strona z" instead of "Page of"

    Any help/advice is greatly appreciated.

  2. scribu
    Member
    Posted 1 year ago #

    You can change that text from WP Admin -> Settings -> PageNavi.

    No need to hack the plugin files.

  3. WordPresser2010
    Member
    Posted 1 year ago #

    Awesome, thanks man.

Topic Closed

This topic has been closed to new replies.

About this Topic