Archive for the ‘wordpress’ Category

31
Jan

Whenever you upgrade something and it fails your blog gets stuck in maintenance mode.

Now I like that the message shows while you are upgrading but if it is not successful you have a bit of a problem.you can see a message as “Briefly unavailable for scheduled maintenance.check back in a minute.”

To Fix this,access your server through FileZilla.Normally .maintenance file will be in a hidden format.so make it visible and remove it.
For that
In FileZilla

Goto Server->Force Showing hidden Files.You can see .maintenace file in your root folder.just delete and reload the page.problem solved.

, ,

02
Nov
WordPress Application has officially launched by WordPress developer Automattic for the Nokia Phones. Before these apps, the Nokia mobile phone users were able to employ only beta version. Although this latest WordPress application comes with latest features yet it isn’t compatible with Symbian^3 devices such as N8, C6 and C7. Additionally, the user of Symbian S60 v3.1 will not able to use this blogging platform because the features used by WP app require some capabilities which are not available with S60 3.1. Some supported devices of this  Word Press Application are N97 Mini and X6, as well as all Maemo devices. If the users want to use this latest application then they need to upgrade the previous version 0.8.3 to 0.8.4 . This Application is compatible not only with Nokia but also with Android, Blackberry and iOS etc. You may download this new application free from Ovi Store or you may get it directly from the developer’s blog.

14
Oct

Single and Double Quotes
Use single and double quotes when appropriate. If you’re not evaluating anything in the string, use single quotes. You should almost never have to escape HTML quotes in a string, because you can just alternate your quoting style, like so:

echo '<a href="/static/link" title="Yeah yeah!">Link name</a>';
echo "<a href='$link' title='$linktitle'>$linkname</a>";

An exception to this is JavaScript, which sometimes requires double or single quotes. Text that goes into attributes should be run through esc_attr() so that single or double quotes do not end the attribute value and invalidate the HTML and cause a security issue. See Data Validation for further details.
Indentation

Your indentation should always reflect logical structure. Use real tabs and not spaces, as this allows the most flexibility across clients.

Exception: if you have a block of code that would be more readable if things aligned, use spaces:

[tab]$foo   = 'somevalue1';
[tab]$foo2  = 'somevalue2';
[tab]$foo34 = 'somevalue3';
[tab]$foo5  = 'somevalue4';

More »

14
Oct

To style every image on your site to look a particular way, look for or add the CSS selector for the image tag. Then add your styles to the tag. For instance, let’s say that you want a black border around all of your images and you want space between the border and the image, as well as the appropriate spacing around the image and the text.

Open style.css,

img {
     margin: 5px;
     padding: 10px;
     border: solid #000000 1px
}

Inline styling of images

There are times when you just want one or two images on your site to look different from the rest. This technique is called inline styles. It applies the CSS styles directly to the image itself. For example, say you want to have an image isolated against a black background to call attention to it.

<img src="schogini.gif" alt="Schogini Systems" style="padding:25px; background: #000000; border: none" />

13
Oct

Automatic Upgrade (ver 2.7+)

Login as admin and select  Tools -> Upgrade.

Once you are on the Update WordPress page, click the button Update Automatically to start. You shouldn’t need to do anything else and, once it’s finished, you will be up-to-date.

Manual Upgrade:

1.  Backup your database.
2. Backup ALL your WordPress files in your WordPress directory. Don’t forget your .htaccess file.
3. Verify the backups you created are there and usable. This is essential.
4. Deactivate ALL your Plugins.
5. Ensure first four steps are completed. Do not attempt the upgrade unless you have completed the first four steps.
6. Download and extract the WordPress package from http://wordpress.org/download/.
7. Delete the old WordPress files on your site, but DO NOT DELETE
* wp-config.php file;
* wp-content folder; Special Exception: the wp-content/cache and the wp-content/plugins/widgets folders should be deleted.
* wp-images folder;
* wp-includes/languages/ folder–if you are using a language file do not delete that folder;
* .htaccess file–if you have added custom rules to your .htaccess, do not delete it;
* robots.txt file–if your blog lives in the root of your site (ie. the blog is the site) and you have created such a file, do not delete it.
8. Upload the new files from your computer’s hard drive to the appropriate WordPress folder on your site.
9. Run the WordPress upgrade program and follow the instructions on the screen.
10. Update Permalinks and .htaccess. Update your Permalink Structure and merge the custom rules, if necessary, into your .htaccess file.
11. Install updated Plugins and Themes.
12. Reactivate Plugins
13. Add security key definitions to the wp-config.php file
14. Review what has changed in WordPress.

13
Oct

Pages  are for creating contents such as  Help,  About us, Contact us etc. Pages live outside of the normal blog chronology, and are often used to present information about yourself or your site that is somehow timeless information that is always applicable. You can use Pages to organize and manage any amount of content. The examples of common pages include Copyright, Legal Information, Reprint Permissions, Company Information, and Accessibility Statement.

Pages can be organized into pages and subpages.Pages can use different templates.

To create a new Page, log in to your WordPress installation with sufficient admin privileges to create new articles. Select the Administation->Pages->Add New option to begin writing a new Page.

12
Oct

Open header.php template file and include your javascript file inside the head tag. The code for including javascript file is :


Include the forward slash "/" even if your file is located in the root of your theme.
Next is the code for calling a function from the included file:

16
Apr
1. Download themes in zip format and place it in the location ‘/wordpress/wp-content/themes’.
2. Select Theme > Add New Theme command in wordpress window.
3. select the “Upload” tab,on the top to upload a selected one from the listed themes of zip format.
4. Click on preview and then save.

16
Apr
1. Download and unzip wordpress package.
2. Create a database for WordPress on the web server.
3. Rename the wp-config-sample.php file to wp-config.php.
4. Open wp-config.php in text editor and fill database details which we have created.
5. Place the WordPress files in the desired location on the web server.
6. Run the WordPress installation script by accessing wp-admin/install.php in the web browser.
* The system will produse a default username as admin and a system generated password.Using that we can login.
* Once we login, we can change the password.

25
Feb

Unzip the zip file with template files
Uplod the folder to /public_html/wp-content/themes/
Login at wp-admin
Click on manage link
You will see your currently uploaded directory name

Activate it by clicking on the activate theme link on top right hand corner

That is it

, , , , , ,