New Landing How can we help? Themeforest Theme Support Neighborhood Edit 'Email Customer Care' Text & Link

Viewing 4 posts - 1 through 4 (of 4 total)
  • #150307
    GTS75
    Member
    Post count: 240

    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

    #150356
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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
    Mohammad

    #150551
    GTS75
    Member
    Post count: 240

    Hey 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.

    #150557
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register