Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Edit 'Email Customer Care' Text & Link
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Edit 'Email Customer Care' Text & Link
- This topic has 3 replies, 2 voices, and was last updated 9 years by Mohammad – SUPPORT.
-
Posted in: Neighborhood
-
February 16, 2015 at 12:21 am #150307
Hey guys,
On the ‘My Account’ page I’d like to edit the ‘Email Customer Care’ text in the help bar and also have it just link to a different landing page instead of popping up in the info box.
Is this possible?
Thanks
February 16, 2015 at 7:45 am #150356Hi,
Please paste this code at functions.php of child theme.function sf_woo_help_bar() { $options = get_option('sf_neighborhood_options'); $help_bar_text = __($options['help_bar_text'], 'swiftframework'); $email_modal = __($options['email_modal'], 'swiftframework'); $shipping_modal = __($options['shipping_modal'], 'swiftframework'); $returns_modal = __($options['returns_modal'], 'swiftframework'); $faqs_modal = __($options['faqs_modal'], 'swiftframework'); ?> <div class="help-bar clearfix"> <span><?php echo do_shortcode($help_bar_text); ?></span> <ul> <li><a href="#email-form" class="inline" data-toggle="modal"><?php _e("Email customer care", "swiftframework"); ?></a></li> <li><a href="#shipping-information" class="inline" data-toggle="modal"><?php _e("Shipping information", "swiftframework"); ?></a></li> <li><a href="#returns-exchange" class="inline" data-toggle="modal"><?php _e("Returns & exchange", "swiftframework"); ?></a></li> <li><a href="#faqs" class="inline" data-toggle="modal"><?php _e("F.A.Q.'s", "swiftframework"); ?></a></li> </ul> </div> <div id="email-form" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="email-form-modal" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="email-form-modal"><?php _e("Email customer care", "swiftframework"); ?></h3> </div> <div class="modal-body"> <?php echo do_shortcode($email_modal); ?> </div> </div> <div id="shipping-information" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="shipping-modal" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="shipping-modal"><?php _e("Shipping information", "swiftframework"); ?></h3> </div> <div class="modal-body"> <?php echo do_shortcode($shipping_modal); ?> </div> </div> <div id="returns-exchange" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="returns-modal" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="returns-modal"><?php _e("Returns & exchange", "swiftframework"); ?></h3> </div> <div class="modal-body"> <?php echo do_shortcode($returns_modal); ?> </div> </div> <div id="faqs" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="faqs-modal" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="faqs-modal"><?php _e("F.A.Q.'s", "swiftframework"); ?></h3> </div> <div class="modal-body"> <?php echo do_shortcode($faqs_modal); ?> </div> </div> <?php } ?>
And change #email-form href link with your link.
Thanks
MohammadFebruary 16, 2015 at 2:43 pm #150551Hey thanks for the response. As simple as that sounds, I’m as rookie as they come when dealing with changing or updating code or files. Are you able to provide a step by step? I can also provide login details if that’s easier.
February 16, 2015 at 2:54 pm #150557Hi,
1-Please open to edit functions.php of child theme through FTP software.2- Now insert this code.
3- Find this in code #email-form and change with your link.
Thanks
Mohammad -
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.