Home Forums Basel support forum Placeholer "Search for Products"

Placeholer "Search for Products"

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #128479

    Yirokun
    Participant

    After the last update Basel 4.8 Loco Translate can change the Placeholer “Search for Products”. Where i can change it? Where is this archive to change manually o what is the solution?

    Attachments:
    You must be logged in to view attached files.
    #128505

    Hello,

    Yes, we see the problem. We need more time to investigate the reason and fixing that. Now we are working on the issue we shall contact you as soon as we have the solution.

    Best Regards

    #128829

    Hello,

    Please follow the steps to get the fix:

    1. Please upload the file from this link: https://drive.google.com/file/d/17pRyCpJdReyl_wWyoTduwTUoQQqLkvGT/view?usp=sharing

    2. Upload it into this folder deleting the previous one wp-content\themes\basel\languages\basel.pot

    3. Find this file wp-content\themes\basel\inc\template-tags.php and replace the code shown on the screen: http://prntscr.com/o2s9ji

    basel_header_block_search_extended()
    
    switch ( $search_post_type ) {
    	case 'product':
    		$placeholder = esc_attr_x( 'Search for products', 'basel' );
    		$description = esc_html__( 'Start typing to see products you are looking for.', 'basel' );
    	break;
    
    	case 'portfolio':
    		$placeholder = esc_attr_x( 'Search for projects', 'basel' );
    		$description = esc_html__( 'Start typing to see projects you are looking for.', 'basel' );
    	break;
    
    	default:
    		$placeholder = esc_attr_x( 'Search for posts', 'basel' );
    		$description = esc_html__( 'Start typing to see posts you are looking for.', 'basel' );
    	break;
    }
    
    switch ( $search_post_type ) {
    	case 'product':
    		$placeholder = esc_attr_x( 'Search for products', 'placeholder', 'basel' );
    		$description = esc_html__( 'Start typing to see products you are looking for.', 'basel' );
    	break;
    
    	case 'portfolio':
    		$placeholder = esc_attr_x( 'Search for projects', 'placeholder', 'basel' );
    		$description = esc_html__( 'Start typing to see projects you are looking for.', 'basel' );
    	break;
    
    	default:
    		$placeholder = esc_attr_x( 'Search for posts', 'placeholder', 'basel' );
    		$description = esc_html__( 'Start typing to see posts you are looking for.', 'basel' );
    	break;
    }

    Synchronize the translations.

    Best Regards

    #129889

    Yirokun
    Participant

    After doing all the steps, still doesn’t work.

    Attachments:
    You must be logged in to view attached files.
    #129903

    Hello,

    Please make the full backup of your site and provide your site admin access and FTP to the private area.

    Best Regards

    #129905

    Yirokun
    Participant

    Another issue with this update. I can’t edit custom css. I will give you access to my site

    Attachments:
    You must be logged in to view attached files.
    #129972

    Hello,

    We have fixed the issue and shall add the fix to the nearest update http://prntscr.com/o6e80f
    http://prntscr.com/o6e86f

    Now you can translate it works.

    Best Regards

    #130231

    Yirokun
    Participant

    Thank you. The code you put on my web to transalate the placeholder but something of this code causes more issues.

    First i can edit the custom css and custom js
    And the menu on my phone looks terrible and isn´t my phone or another.

    Attachments:
    You must be logged in to view attached files.
    #130306

    Hello,

    You have not closed the tag that is why you have the problem with Mobile navbar buttons http://prntscr.com/o7acmp

    As for the Theme Settings your server blocks the access to the files http://prntscr.com/o7ajg5

    Best Regards

    #130316

    satatech
    Participant

    Sorry can you help me?
    Change “Search for product” to “Tìm kiếm sản phẩm”?
    I can’t do it

    #130370

    Hello,

    Please provide the site admin access to the private area for satatech.vn

    Have you made all the steps listed in #128829 for this domain?

    Best Regards

    #130423

    Yirokun
    Participant

    Thanks, another issue to transalate the basel search products widget, loco doesn´t translate.

    Attachments:
    You must be logged in to view attached files.
    #130429

    satatech
    Participant

    I do it but it doesn’t work.
    I will send the account of web and hosting.
    Stay private content.
    Thanks in advance.

    #130491

    Hello,

    You say you have followed all the steps in #128829

    I have entered the provided site and do not see Loco translate at all. https://gyazo.com/c2f4b0c8335ce7ab56c3173d20b0092f

    Please install Loco translate, follow the steps provided, synchronize the translation and try to insert the strings.

    Best Regards

    #130591

    satatech
    Participant

    Thank you very much.

    #130618

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘Placeholer "Search for Products"’ is closed to new replies.