How to change links in header and footer?


I have a blog here: which we are about to launch, but for some reason I am unable to change the link to correct url like this one:back-to-hotelsindie-button, this button currently points to, but I want it to point to I have tried and edited the header-extensions file in structure folder of the theme but no luck.

Header code:

<div class="container clearfix">
		<div class="hgroup-wrap clearfix">
					<section class="hgroup-right">
							<?php travelify_socialnetworks( $flag ); ?>
							<a class="pull_right see_blog" href="">	
								<i></i>Back to
					</section><!-- .hgroup-right -->
					<div class="header-add">

And I am facing the problem with the footer, where I am trying to edit the footer links to correct urls but same problem you look at this image: hotels-indie-discover-india-blog-footer-links. Here also I edited the footer-extensions file in structure folder of the theme but no luck.

Footer code:

function travelify_footer_rightinfo() {
		echo '<div class="footer-right">';
		echo "<div class='legal'>
							<li><a href=''>About Us</a></li>
							<li><a href=''>Contact Us</a></li>
							<li><a href=''>Privacy & Cookie Policy</a></li>
							<li><a href=''>Terms & Conditions</a></li>
							<li><a href=''>Sitemap</a></li>
							<li><a href='' target='_blank'>Mobile</a></li>
							<li class='last'><a href='javascript:void('', 'blank','scrollbars=yes,toolbar=no,width=700,height=500'))'>Add Your Hotel</a></li>
		echo '</div>';

Could someone please help in solving this issue, I will be really grateful.


Ankit Yadav

There might be two things:

  1. Cache. Make sure to clean Super Cache and also try to open any post/page for editing and just hit update to clean WordPress default cache.
  2. This one is might sound stupid but I have been there, so it does happen. Make sure that you are editing this theme on the right server or you are editing files on the right folder. The thing is that maybe you are accessing server where is the same folder structure or the same theme installed and you are just trying to make changes on one site but you are actually editing completely different one. Believe me this does happen :slight_smile:

I would vote that this is cache issue but I wouldn’t be surprised that you are editing the right files but in the wrong place either :slight_smile:

There can’t be other thing involved as you have wrote a plain HTML which can be edited on the fly only with some JavaScript but there aren’t any on your website.