ncard
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Warning: sprintf(): Too few argumentsHi there urbanoantunes,
try Poedit software. Open the PO file, edit were is says “(inclui % %s)” you should change to “(inclui %s)”. Save it. The MO file will be updated also (both PO and MO files should be in same directory).
Upload to server and problem solved 🙂
Hope this helps.Notify me if you have any question.
Forum: Themes and Templates
In reply to: [Customizr] Keep the menu links active when selectedUps! the is not supposed to be inside the code!
/*left menus*/ .menu-empresa-container .current-menu-item { background:#ddd; font-weight: bold; } .menu-nutricao_menu-container .current-menu-item { background:#ddd; font-weight: bold; } .menu-laboratorio-container .current-menu-item { background:#ddd; font-weight: bold; }Forum: Themes and Templates
In reply to: [Customizr] Keep the menu links active when selectedHi,
@rdellconsulting, you saved my day!!!
/*left menus*/ .menu-<strong>empresa</strong>-container .current-menu-item { background:#ddd; font-weight: bold; } .menu-<strong>nutricao_menu</strong>-container .current-menu-item { background:#ddd; font-weight: bold; } .menu-<strong>laboratorio</strong>-container .current-menu-item { background:#ddd; font-weight: bold; }Had to do to the three menus i created (the ones that are in bold.
Thanks a lot @electricfeet and @rdellconsulting.One drink on me! Cheers!!!
Forum: Themes and Templates
In reply to: [Customizr] Keep the menu links active when selectedHi
@electricfeet, thanks again for your feedback.I send you a image link that possibly explains what i need.
The link História is clicked but does not assume a diferent color.
Can you please point me the directions to accomplish this effect?Thanks again!.
Forum: Themes and Templates
In reply to: [Customizr] Keep the menu links active when selectedHi
@electricfeet, thanks for your feedback.
I can see that the main menu is configured like that. But if i create a custom Menu and put it in a widget area that doesn´t happens.For example:
http://demo.themesandco.com/layout-test/
if you click in the recent posts, the link that you click doesn´t stay selected so the user know were he is.
Is there any way to accomplish this?Thanks.
Forum: Themes and Templates
In reply to: [Customizr] Which widget goes with 'Customizr' to be translated?Hi,
i use Google Language Translator. It translate everything.
Hope it helps.Forum: Themes and Templates
In reply to: [Customizr] Diferent logos in different pagesHi Guys,
@nikeo and @rdellconsulting,
here is the code that i put in the functions.php
add_filter ('tc_logo_src' , 'my_contextual_logo'); function my_contextual_logo( $original_source ) { if ( is_page ( array( 19, 23, 26, 30, 36, 90, 99, 106 ) ) ) { return 'http://path/to/logo.png'; }else { return $original_source; } }using an array i don´t have to use lots of else if .
Problem solved!!!
Thanks a lot for the support!Forum: Themes and Templates
In reply to: [Customizr] Diferent logos in different pagesHi @rdellconsulting,
i´m putting the code in the file “class-header-header_main.php”.
I know i should have created a child theme because of the updates. will do after.Can i still put the code in the functions.php of the theme without being a child Theme?
Thanks.
Forum: Themes and Templates
In reply to: [Customizr] Diferent logos in different pagesHi @nikeo,
thanks for your precious feedback.
I found the $logo_src declaration and passed the your code under it:function tc_logo_title_display() { //rebuild the logo path : check if the full path is already saved in DB. If not, then rebuild it. $upload_dir = wp_upload_dir(); $saved_path = esc_url ( tc__f( '__get_option' , 'tc_logo_upload') ); if ( false !== strpos( $saved_path , '/wp-content/' ) ) { $logo_src = $saved_path ; } else { $logo_src = $upload_dir['baseurl'] . $saved_path; } $logo_src = apply_filters( 'tc_logo_src' , $logo_src ) ; add_filter ('tc_logo_src' , 'my_contextual_logo'); function my_contextual_logo( $original_source ) { if ( is_home() ) { return $original_source; } else if ( is_page (19)) { return 'path/to/image.png'; } //else if ... and so on }But when i click the link to page 19 the logo doesn´t change. Can you tell me what am i doing wrong?
Thanks again.