Archive

Archive for November, 2009

Wordpress Archives with content

November 20th, 2009

A Page Template that shows the Page’s content at the top, and then displays a list of archive months and categories below it. This is designed to work with WordPress’s Default theme (aka Kubrick), but will probably work with many other themes with a little modification.

Save this to arc-cont.php:

<?php
/*
Template Name: Archives with Content
*/
?>

<?php get_header(); ?>

<div id="content" class="widecolumn">

 <?php if (have_posts()) : while (have_posts()) : the_post();?>
 <div class="post">
  <h2 id="post-<?php the_ID(); ?>"><?php the_title();?></h2>
  <div class="entrytext">
   <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
  </div>
 </div>
 <?php endwhile; endif; ?>
 <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>

</div>
<div id="main">

<?php include (TEMPLATEPATH . '/searchform.php'); ?>

<h2>Archives by Month:</h2>
  <ul>
    <?php wp_get_archives('type=monthly'); ?>
  </ul>

<h2>Archives by Subject:</h2>
  <ul>
     <?php wp_list_cats(); ?>
  </ul>

</div>
<?php get_footer(); ?>

Technorati : ,
Del.icio.us : ,

Shakthi Blogging ,

Listing pages in your Wordpress site

November 7th, 2009

WordPress is able to automatically generate a list of Pages on your site, for example within the sidebar, using a Template Tag called wp_list_pages(). See the wp_list_pages page for information on how to do the following:

  • Sort the list of Pages (to fully customize the order in which the Pages are listed, you might find the “Page Order” section on the Write > Page administration panel useful),
  • exclude (or ‘hide’) a Page from the list,
  • Control which Pages are displayed (i.e., all Pages or just certain SubPages), and
  • Control how deep into your Page hierarchy the list goes.

Naturally, you can also link to Pages manually with an HTML link. For example, if you want your Copyright Page listed in your footer, that link might read as below:
If you do not have Permalinks set up

<a title="Copyright information" href="wordpress/?page_id=14">Copyright 1996-2006</a>

If you do have Permalinks set up

<a title="Copyright information" href="wordpress/copyright/">Copyright 1996-2006</a>

Note: Your .htaccess file must be writeable for Page Permalinks to work, otherwise you must update your .htaccess file every time you create a Page.

Technorati : , ,
Del.icio.us : , ,

Shakthi Blogging , ,

Installing Wordpress in 5 minutes

November 3rd, 2009

Things to Know Before Installing WordPress

Before you begin the install, there are few things you need to have and do.

You need access to your site and its directory and software to proceed with the installation. These are:

Things You Need to Do to Install WordPress

Begin your installation by:

  1. Checking to ensure that you and your web host have the minimum requirements to run WordPress.
  2. Download the latest release of WordPress.
  3. Unzip the downloaded file to a folder on your hard drive.
  4. Be prepared with a secure password for your Secret Key
  5. Print this page out so you have it handy during the installation.

5-Minute Install

Here’s the quick version of the instructions, for those that are already comfortable with performing such installations. More detailed instructions follow.

  1. Download and unzip the WordPress package, if you haven’t already.
  2. Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.
  3. Rename the wp-config-sample.php file to wp-config.php.
  4. Open wp-config.php in your favorite text editor and fill in your database details as explained in Editing wp-config.php to generate and use your secret key password.
  5. Place the WordPress files in the desired location on your web server:
    • If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress directory (but excluding the directory itself) into the root directory of your web server.
    • If you want to have your WordPress installation in its own subdirectory on your web site (e.g. http://example.com/blog/), rename the directory wordpress to the name you’d like the subdirectory to have and move or upload it to your web server. For example if you want the WordPress installation in a subdirectory called “blog”, you should rename the directory called “wordpress” to “blog” and upload it to the root directory of your web server.Hint: If your FTP transfer is too slow read how to avoid FTPing at : Step 1: Download and Extract.
  6. Run the WordPress installation script by accessing wp-admin/install.php in your favorite web browser.
    • If you installed WordPress in the root directory, you should visit: http://example.com/wp-admin/install.php
    • If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php

That’s it! WordPress should now be installed.

Technorati : , ,
Del.icio.us : , ,

Shakthi Blogging , ,

TwitIn- A solution for your daily Twitter requirement

November 1st, 2009

Earlier this year, Eric Schmidt called Twitter a ‘Poor man’s email system’ and by October Google had an agreement with Twitter to include its updates in search results. Everyone is talking about Twitter from News houses to blogging portals. Twitter has taken networking to another level altogether and the power of 140 characters is forming the marketing platform for most enterprises.

The first time you log into Twitter, it can be quite intimidating. There are numerous tools available on web to help you get started on Twitter. The first thing that you need to do is to install one of the desktop applications on your system. Few of the apps you could choose from are Tweetdeck (http://www.tweetdeck.com/beta/) , Seesmic (http://seesmic.com/) , Buzzom (http://www.buzzom.com/BuzzomLab#buzzomdesktoplabel)

Once you have those tweet managers, you need something to help you with managing your connections. TwitIn, an offering from Buzzom is a great tool which lets you manage your followers and followings as well as your account.

Read more…

Shakthi Social Media, Twitter , ,