Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Benoti

    (@benoti)

    Hello, I didn’t receive enotification of your message.

    I haven’t intented this possiblity as my main use of the plugin was without text.

    I will introduce soon a filter and an option to make the link customization available.

    Waiting for this update, you can modify the file includes/brozzme_navigation_class.php on line 86 and line 87 (Be aware that all your modifications will be erase with the next update).

    I hope the update can be made tomorrow or the day after tomorrow.

    I keep you in touch!

    Plugin Author Benoti

    (@benoti)

    If you want to make your changes in accordance with the future update

    includes/brozzme_navigation_class.php on line 86 and line 87

    to replace with

    $previous_text = apply_filters(‘wc_bpnav_previous_text’, __(‘Previous’,’brozzme-product-navigation’));
    $next_text = apply_filters(‘wc_bpnav_next_text’,__(‘Next’,’brozzme-product-navigation’));

    in your functions.php child-theme file

    add_filter(‘wc_bpnav_previous_text’, ‘my_custom_previous_text’);

    function my_custom_previous_text(){
    return __(‘Previous’,’brozzme-product-navigation’);
    }

    add_filter(‘wc_bpnav_next_text’, ‘my_custom_next_text’);

    function my_custom_next_text(){
    return __(‘Next’,’brozzme-product-navigation’);
    }

    You can change the text-domain to another if you better like.
    With this, all customization will still remains after update.

    Plugin Author Benoti

    (@benoti)

    The text modification based on the above filters are available as setting options in Brozzme Product Navigation 1.3.0.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Text’ is closed to new replies.