Home › Forums › WoodMart support forum › How to change?
How to change?
- This topic has 32 replies, 2 voices, and was last updated 7 years, 1 month ago by
Artem Temos.
-
AuthorPosts
-
December 18, 2017 at 6:33 am #29393
koystrubvsParticipantHow do I rename a Vendor dashboard and add it to the panel?
Attachments:
You must be logged in to view attached files.December 18, 2017 at 8:18 am #29416
Artem TemosKeymasterHello,
We are glad to know that you considered using WoodMart for your web-site. I hope you will be happy with it.
You can translate all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
Try to add the following PHP code snippet to the child theme functions.php file to do add this link to the dashboard
function woodmart_my_account_links() { if ( !woodmart_get_opt( 'my_account_links' ) ) return; ?> <div class="woodmart-my-account-links"> <?php foreach ( wc_get_account_menu_items() as $endpoint => $label ) : ?> <div class="<?php echo $endpoint; ?>-link"> <a href="<?php echo esc_url( wc_get_account_endpoint_url( $endpoint ) ); ?>"><?php echo esc_html( $label ); ?></a> </div> <?php endforeach; ?> <?php if ( class_exists( 'YITH_WCWL' ) && woodmart_get_opt( 'my_account_wishlist' ) ): ?> <?php $wishlist_page_id = yith_wcwl_object_id( get_option( 'yith_wcwl_wishlist_page_id' ) ); ?> <div class="wishlist-link"> <a href="<?php echo YITH_WCWL()->get_wishlist_url(); ?>"><?php echo get_the_title( $wishlist_page_id ); ?></a></li> </div> <?php endif; ?> <?php if ( class_exists( 'WeDevs_Dokan' ) && apply_filters( 'woodmart_dokan_link', true ) ): ?> <div class="dokan-link"> <a href="<?php echo dokan_get_navigation_url(); ?>"><?php echo esc_html__( 'Vendor dashboard', 'woodmart' ); ?></a></li> </div> <?php endif; ?> <div class="logout-link"> <a href="<?php echo wc_get_endpoint_url( 'customer-logout' ); ?>"><?php echo esc_html__( 'Logout', 'woodmart' ); ?></a> </div> </div> <?php } add_action( 'woocommerce_account_dashboard', 'woodmart_my_account_links', 10 );
Kind Regards
XtemosDecember 18, 2017 at 8:42 am #29423
koystrubvsParticipantThank you! But this line is not translated into LocoTranslate.
Also, can I change the icons?December 18, 2017 at 9:10 am #29430
Artem TemosKeymasterTry to click on “Sync” button while editing the PO file with Loco Translate.
The icon can be changed with additional CSS only. What icon do you want to place there?December 18, 2017 at 9:52 am #29443
koystrubvsParticipantOk, I can change the icon with css. I pressed sync, but it did not help.
Attachments:
You must be logged in to view attached files.December 18, 2017 at 10:07 am #29448
Artem TemosKeymasterPlease, provide us your admin access so we can test it.
December 18, 2017 at 10:11 am #29450
koystrubvsParticipantok
December 18, 2017 at 10:15 am #29452
Artem TemosKeymasterWe clicked “Sync” and now you can translate this word. Currently, we changed it to “ะขะตัั”.
December 18, 2017 at 10:19 am #29455
koystrubvsParticipantI apologize. I searched for this line and tried to translate it into the Dokan Lite plugin
December 18, 2017 at 10:19 am #29456
Artem TemosKeymasterNo problem, we are glad that you found it ๐
Regards
December 18, 2017 at 10:22 am #29457
koystrubvsParticipantI ask you to check one more mistake. When you press “Partnership”, “Favorites” changes equally. This should not be.
Attachments:
You must be logged in to view attached files.December 18, 2017 at 12:39 pm #29478
Artem TemosKeymasterCould you please provide us your FTP access so we can check why it doesn’t work correctly?
December 18, 2017 at 1:35 pm #29492
koystrubvsParticipantok my friend!
December 18, 2017 at 1:36 pm #29493
koystrubvsParticipantretry
December 18, 2017 at 3:00 pm #29503
Artem TemosKeymasterWe can’t connect with this data. It seems to be incorrect.
December 18, 2017 at 3:33 pm #29508
koystrubvsParticipanthm… one sec
Attachments:
You must be logged in to view attached files.December 18, 2017 at 6:19 pm #29530
Artem TemosKeymasterOK, we have fixed this issue in the child theme.
December 19, 2017 at 3:55 am #29587
koystrubvsParticipantWow! You very good support! Many thanks!
December 19, 2017 at 4:39 am #29588
koystrubvsParticipantThe last question, how to remove the number 6?))
Attachments:
You must be logged in to view attached files.December 19, 2017 at 7:40 am #29608
koystrubvsParticipanthow this translate?)
Attachments:
You must be logged in to view attached files.December 19, 2017 at 8:05 am #29623
Artem TemosKeymasterSorry, we removed this number ๐ The message should be translated via WooCommerce pot files.
December 19, 2017 at 8:49 am #29629
koystrubvsParticipantok! thanks!! ๐
December 19, 2017 at 11:14 am #29631
koystrubvsParticipantI hope you are not tired of me. I could not find and translate this record.))
December 19, 2017 at 12:26 pm #29641
Artem TemosKeymasterCould you please leave only actual translation for the WooCommerce plugin https://gyazo.com/3a8db49e97acac81e71725850a51ba64 ?
December 19, 2017 at 1:50 pm #29656
koystrubvsParticipantI deleted another translation. But the problem remained. I can not find this line in the plugins.
December 19, 2017 at 2:01 pm #29657
koystrubvsParticipantIts really rename?
Attachments:
You must be logged in to view attached files.December 19, 2017 at 2:42 pm #29667
Artem TemosKeymasterSorry, we noticed that this message is not translatable in our theme. We will fix it in our next theme update. Or we can give you a path of the file where you can change it manually.
As for My account link you can enable username display there in Theme Settings -> Header -> Other.
Regards
December 19, 2017 at 3:08 pm #29670
koystrubvsParticipantOk! Very good!
December 19, 2017 at 7:18 pm #29685
Artem TemosKeymasterContact us if you have any additional questions or concerns.
January 24, 2018 at 9:03 am #35089
koystrubvsParticipanthi! How i change?
Attachments:
You must be logged in to view attached files. -
AuthorPosts
- You must be logged in to create new topics. Login / Register