How to remove "Powered by Blogger" from the footer of your blogspot blog's mobile version

Today I am going to share you how can you remove "Powered by Blogger" from your blogspot blog's mobile version.
You have seen that this blog's mobile version has no "Powered by Blogger" attribution.
Now come and start tutorial.
At first, backup your template and then
go to dashboard → Template → Edit HTML
Now search bellow code in your template.
<b:widget id='Attribution1' locked='true' title=''
type='Attribution'/>
If you found this code then remove this code, else nothing should be done.
Now search </body> tag and paste bellow code above </body> tag
<!--Remove attribution-->
<div style='display:none;'>
<b:section class='hiddenbar' id='hiddenbar'
preferred='no'>
<b:widget id='Attribution1' locked='true' mobile='no' title='' type='Attribution'/>
</b:section>
</div>
<!--Remove attribution-->
Now save the template and visit your blog's mobile version by this url:
http://yourblog.blogspot.com/?m=1
(if m=0 then it will redirect to main version and if m=1 it will redirect to mobile version)
See there is no attribution in footer.
Now hit share button to share this article with others and comment yourself.
Visit our new blog - Bangla Hub

Make Your own PHP Hit Counter


This is a basic site hit counter. What it does is take a few lines of code that open up a file called ( countlog.txt) and changes a simple number in it. First off, what you need to do is make a new ( .php) file in your text editor and place this code in it. The only thing you may need to change is the parts of the code that says ( /countlog.txt ). That’s only if you plan to put your files in a different directory. I put this in the same directory, so I put the ( / ) in front of ( countlog.txt )

<?php
/* counter */
/* opens countlog.txt to read the number of hits */
$data = fopen("/countlog.txt", "r");
$count = fgets($data,1000);
fclose($data);
$count = $count + 1;
echo "$count";
echo "hits";
echo "\n";
/* opens countlog.txt to change new hit number */
$data = fopen("/countlog.txt", "w");
fwrite($data, $count);
fclose($data);
?>

Save the file as ( counter.php ).
Now, on to the next part. Simply make a file named ( countlog.txt ) and put a ( 0 ) in it. Then save. Or, you could put whatever number you want to in the file. This is the number your, counter will start counting from. If your last hit counter was already at 22 hits, why start over? Just type in ( 22 ) in the
( countlog.txt) file!

To include the file in any page in your site all you have to do is include it. Here’s the code.

<?php
include("/counter.php");
?>

Or


<script src="/counter.php" type="javascript/text"/>

You may have to change the path on that as well, depending on what directory you put your file in. Or, you could just put the ( counter.php ) code inside of any page you want. It will work the same.

Popular Posts

Post Category

Blog Statistics

Now online

Page views
Powered by Blogger.