Saturday 24 May 2014

Remove Footer Links of theme provider website from New Word Press Themes? - Wesite is not working

Remove Footer Links from free templates, Site is not working

Best Solution:
Just in case, make a backup copy of your working theme files before editing.

First,
edit functions.php;
find the line starting with:

function wp_initialize_the_theme_finish()
{ $uri = strtolower($_SERVER["REQUEST_URI"]);

Second,
towards the end of this line, find:
wp_initialize_the_theme_message(); die;

remove this.

Finally,
sometimes there are two lines of wp_initialize_the_theme_message(); die;

Deleted the both of them.

After you have done this, you should be able to edit your footer links without getting a message.

Wednesday 27 March 2013

Redirect from Home domain to main Domain For Blogger

          
                              Redirect from Home domain to main Domain(.com)

.co.in/ .co.uk/ .com.au/ .co.fr/ .co.ie ====> .com
----------------------------------------------------------------------------------------------------------------------------------

Add this code to head(<head> ....</head>) section
----------------------------------------------------------------------------------------------------------------------------------
<script>
if ((window.location.href.toString().indexOf('.com/'))=='-1')
{
window.location.href = window.location.href.toString().replace('.blogspot.in/','.blogspot.com/ncr/').replace('.blogspot.com.au/','.blogspot.com/ncr/').replace('.blogspot.co.uk/','.blogspot.com/ncr/').replace('.blogspot.jp/','.blogspot.com/ncr/').replace('.blogspot.co.nz/','.blogspot.com/ncr/').replace('.blogspot.ca/','.blogspot.com/ncr/').replace('.blogspot.de/','.blogspot.com/ncr/').replace('.blogspot.it/','.blogspot.com/ncr/').replace('.blogspot.fr/','.blogspot.com/ncr/').replace('.blogspot.se/','.blogspot.com/ncr/').replace('.blogspot.com.es/','.blogspot.com/ncr/').replace('.blogspot.pt/','.blogspot.com/ncr/').replace('.blogspot.com.br/','.blogspot.com/ncr/').replace('.blogspot.com.ar/','.blogspot.com/ncr/').replace('.blogspot.mx/','.blogspot.com/ncr/');
}
</script>