Help getting Contact icons/links back

  • Author
    Posts
  • #3691613

    Hi,

    On my website http://www.inspiractionfoundation.org/ I had a contact block at the bottom with a facebook icon and an email icon that people could click on. Now the block is just plain white and there are no icons or links anymore. Can anybody help me figure out why they disappeared. Here’s the code I found in template-home.php that seems to take care of that section:

    <!– START SOCIAL LINKS –>
    <div id=”contact” class=”text-center col-md-12 col-lg-6 no-padding”>
    <div class=”inner-wrapper”>
    <div class=”inner”>
    <?php if ( ! empty( $facebook ) ) {
    echo ‘‘;
    }

    if ( ! empty( $email ) ) {
    echo ‘‘;
    } ?>
    </div>
    </div>
    </div>
    <!– END SOCIAL LINKS –>

    Earlier in the file, I also found this :

    $facebook = get_post_meta( $page_front, ‘wpcf-facebook-url’, true );
    $email = get_post_meta( $page_front, ‘wpcf-global-email’, true );

    Any idea of why they are not showing up or what I could do to make them appear again ?

    Thank you !

    #3691614

    Sorry, I see that a lot of the code did not show up in my message, let me try that again :

    	<!-- START SOCIAL LINKS -->
    	<div id="contact" class="text-center col-md-12 col-lg-6 no-padding">
    		<div class="inner-wrapper">
    			<div class="inner">
    				<?php if ( ! empty( $facebook ) ) {
    					echo '<a href="' . esc_url( $facebook ) . '" class="icon-facebook social-icon" target="_blank" data-toggle="tooltip" data-placement="bottom" title="' . __( 'Connect with us on Facebook', 'inspiraction' ) . '"></a>';
    				}
    
    				if ( ! empty( $twitter ) ) {
    					echo '<a href="' . esc_url( $twitter ) . '" class="icon-twitter social-icon" target="_blank" data-toggle="tooltip" data-placement="bottom" title="' . __( 'Follow us on Twitter', 'inspiraction' ) . '"></a>';
    				}
    
    				if ( ! empty( $gplus ) ) {
    					echo '<a href="' . esc_url( $gplus ) . '" class="icon-google-plus social-icon" target="_blank" data-toggle="tooltip" data-placement="bottom" title="' . __( 'Connect with us on Google+', 'inspiraction' ) . '"></a>';
    				}
    
    				if ( ! empty( $email ) ) {
    					echo '<a href="mailto:' . sanitize_email( $email ) . '" class="icon-mail4 social-icon email" target="_blank" data-toggle="tooltip" data-placement="bottom" title="' . __( 'Email us', 'inspiraction' ) . '"></a>';
    				} ?>
    			</div>
    		</div>
    	</div> 
    	<!-- END SOCIAL LINKS -->
    
    #3691720

    Hi there!

    I’m afraid we won’t be able to help you here as your site is not hosted with WordPress.com. It is a site using the open-source WordPress software (from WordPress.org) but hosted elsewhere.

    Because WordPress.com and WordPress.org are two entirely separate entities, we cannot access files or data for sites hosted elsewhere; we can only assist with sites hosted on our servers. You can read more about the differences between WordPress.org software and WordPress.com here:
    https://wordpress.com/support/com-vs-org/.

    You can look for help at the community forums here: https://wordpress.org/support/forums/.

    http://wordpress.org/support/ is also a great resource for sites using the open-source WordPress.org software.

You must be logged in to reply to this topic.