Total Pageviews

Showing posts with label Wordpress. Show all posts
Showing posts with label Wordpress. Show all posts

Tuesday, 26 February 2013

WordPress: How to Restore Your Website from a Backup


Whether you are switching web servers or something went wrong with your website and you need to restore your old one, this tutorial will show you how to restore your old WordPress website from a backup. In order to restore your WordPress website, you must have your files (especially your database) already backed up, an FTP client, and your web host login information.


1.Log into your web host,and create a brand new WordPress install on your website. If your web host has an easy-install script for WordPress, then that is the easiest way to install WordPress. Make sure you enter a password and username that you will remember.
Important: You need to remember your WordPress admin account for later steps.
2.Now, upload all your files going to the FTP client of your choice across to your new WordPress directory, and overwrite all existing files in the new WordPress install.
3.Once everything is uploaded, go to phpMyAdmin from your web host control panel.
4.Locate the database that your new WordPress installation is using and Import your old database into the new database.
Important: Remember the name of the database for later steps. 
5.Once your database has been imported, you will need to edit your wp-config.php so that you can use your new settings. Open up your wp-config.php, and look at these particular fields. 
6.Fill out the fields with the information from the previous steps. DB_Name is the database name from Step 4, and DB_User and DB_Password are your username and password from Step 1. 
7.If it is necessary, you will need to upload your newly edited wp-config.php to your web host.


Saturday, 2 February 2013

How to Add Floating Social Widget For Websites , Blogger , Wordpress

Blogger UsersWordpress Users
  1. Go to Layout
  2. Add a widget
  3. Select HTML/JavaScript
  4. Copy paste the code given below
  1. Go to  Appearance > Widgets 
  2. Select text widget and Drag it into sidebar.
  3. Copy paste the code given below.
  4. Click save. 

<style type="text/css">
.sb{
background:#f0f0f0;
cursor:pointer;
color:#fff;
padding:4px;
text-shadow:0 -1px 1px rgba(0,0,0,0.25);
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px; margin-left:8px;
font:12px sans-serif;
}
.sb:hover{
background:#777;
}
.tl {text-align:center;font-size:10px;font-weight:bold }
#Ps {position:fixed; bottom:15%margin-left:-100px; float:left; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;background:#fff;border: 1px solid #f7f7f7; padding:0 0 2px 0;z-index:10;}
#Ps .sb {float:left;clear:both;margin:5px 2px 0 5px;}
#Ps:hover {-moz-border-radius:6px;
    -moz-box-shadow: 0 2px 4px hsla(0,0%,0%,.35);
    -webkit-box-shadow: 0 2px 4px hsla(0,0%,0%,.35);border: 1px solid #ddd;}
</style>
<div id='Ps'>
<div class='sb' id='fblb'>
<a class="addthis_button_facebook_like" fb:like:layout="box_count"></a>
</div>
<div class='sb' id='su'>
<script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>
</div>
<div class='sb' id='gpo'>
<a class="addthis_button_google_plusone" g:plusone:size="tall"></a>
</div>
<div class='sb' id='Tw'>
<a class="addthis_button_tweet" tw:count="vertical"></a></div>
<div class='sb' >
<a class="addthis_counter"></a>
</div>
<div class="tl">
<a href="http://www.trickolla.com" target="_blank" >Get This</a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-50bf6c151159d2c0"></script>
</div>


Related Posts Plugin for WordPress, Blogger...