New Landing How can we help? Themeforest Theme Support Neighborhood How to edit homepage when users log in.

Viewing 4 posts - 1 through 4 (of 4 total)
  • #121176
    jayiriro
    Member
    Post count: 5

    Hello.

    My site does not utilize shipping and I would like to modify this page when users log in. How can I do this?

    Thanks!

    Jay

    Attachments:
    You must be logged in to view attached files.
    #121314
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    What do you want to add/remove at this page?
    Thanks
    Mohammad

    #122839
    jayiriro
    Member
    Post count: 5

    Thanks for the reply.

    What if i wanted to remove the shipping information. Or add a link at the top for affiliates.

    How would i be able to do that?

    Thanks,

    Jay

    #122849
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste given below code at functions.php of child theme and edit your links as you want.

    <?php
    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 } ?>

    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