Reputation: 509
I am creating a company site using wordpress free theme storymag.I download this theme from
http://newwpthemes.com/themedemo/?wptheme=StoryMag .
I integrated whole theme using my requirement,but in last when I try to remove default footer link. then my site is close and i saw a message in a page
"All the links in the footer should remain intact. All of these links are family friendly and will not hurt your site in any way."
when I try to remove a single word then my theme get close.My client doesn't want to show these links in footer. In footer.php I found this line.
<div id="credits"><strong>WordPress</strong></a> | Designed by: <a
href="http://suv.reviewitonline.net/">Best SUV</a> | Thanks to <a
href="http://suv.reviewitonline.net/lexus-suv/">Lexus SUV</a>, <a
href="http://suv.reviewitonline.net/safest-suvs/">Safest SUVs</a> and <a
href="http://suv.reviewitonline.net/nissan-suv/nissan-rogue/">
Nissan Rogue</a></div><!-- #credits -->
If I make a single change in this line link then theme stop working. what can i do?please help...
Upvotes: 0
Views: 2817
Reputation: 1007
Search engines will sill see the links if you use display:none;
Open your footer.php and add <?php if(false) { ?>
above and <?php } ?>
below the credit line.
So the code like
<?php if(false) { ?>
<div id="credits">Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | Designed by: <a href="http://suv.reviewitonline.net/">Best SUV</a> | Thanks to <a href="http://suv.reviewitonline.net/lexus-suv/">Lexus SUV</a>, <a href="http://suv.reviewitonline.net/safest-suvs/">Safest SUVs</a> and <a href="http://suv.reviewitonline.net/nissan-suv/nissan-rogue/">Nissan Rogue</a></div><!-- #credits -->
<?php } ?>
Upvotes: 2
Reputation:
There's a couple things you could do.
You could dive into the theme's source to find where it stops working if you don't have that credits line.
You could also use CSS to hide those links. This is a pretty dodgy approach, but it will do the trick:
#credits {
display:none;
}
Upvotes: 0