Home Forums WoodMart support forum Renaming SHOW SIDEBAR

Renaming SHOW SIDEBAR

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #44363

    jukka18
    Participant

    Hi there,

    We’ve have tried to use the LOCO translation plugin but are unable to change the text ‘SHOW SIDEBAR’ to ‘FILTER’ in the sidebar? Can you please advise another way of doing this thanks.

    Also I’ve logged in and added to my wishlist and it highlights it’s has been added. Yet when I go into the wishlist in my account its not there? Can you please advise.

    Regards

    W

    #44396

    Artem Temos
    Keymaster

    Hi,

    You should be able to translate it with Loco Translate. Try to click on “Sync” button to actualize the translation file and search for that word.

    Could you please check how the wishlist plugin works with other theme to identify is it our theme issue or not?

    #44429

    jukka18
    Participant

    The “Sync” is not updating? Is there anyway of hardcoding the name change? we really need this sorted ASAP – Thanks.

    W

    #44436

    Artem Temos
    Keymaster

    Please, provide us your admin access so we can login and check this on your side.

    Thank you in advance.

    #44442

    jukka18
    Participant

    See PC

    #44443

    Artem Temos
    Keymaster

    But as we can see you don’t have any translations created for our theme. Did you try to do this with Loco Translate plugin?

    #44445

    jukka18
    Participant

    PC Content

    #44446

    jukka18
    Participant

    See PC

    #44447

    Artem Temos
    Keymaster

    We don’t know why, but you have outdated PO file. Maybe because you are running not the latest version of the WoodMart theme. Try to add the following PHP code snippet to the child theme functions.php file to do this

    	add_action( 'woocommerce_before_shop_loop', 'woodmart_show_sidebar_btn', 25 );
    
    	function woodmart_show_sidebar_btn() {
    		if ( wc_get_loop_prop( 'is_shortcode' ) || ! wc_get_loop_prop( 'is_paginated' ) || ! woocommerce_products_will_display() ) return;
    		
    		?>
    			<div class="woodmart-show-sidebar-btn">
    				<span class="woodmart-side-bar-icon"></span>
    				<span><?php esc_html_e('Click to filter', 'woodmart'); ?></span>
    			</div>
    		<?php
    
    	}
    #44448

    jukka18
    Participant

    PC

    #44456

    Artem Temos
    Keymaster

    You can use the code we sent you without updating.

    Did you check the wishlist function with default WP theme to see if it is our theme issue or not?

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

The topic ‘Renaming SHOW SIDEBAR’ is closed to new replies.