Wordpress post via email

August 18th, 2008 by Sajith M.R

If you know this feature already , skip this article. But i have to ask a single question at the end of this section .

For wordpress version less than 2.3 , Go to Options  >  writing, and  for greater than 2.3, Go to settings > writing

What you have to do is create an email account with pop3 support

You can see the heading “Post via e-mail” there.

Enter your email server (by replacing mail.example.com)

Enter your pop3 port. (110 by default)

Enter your email login and password.

Choose a category to for the email entry posts

Finally Press update option Button

What you have done above is only the settings. For grabbing or pulling the content from email, you need to call/trigger an url.

That url is: http://yourblogdomain/wordpressinstalldir/wp-mail.php

Either you can call it manually. Or you can set up a cron job for that url by call the url using wget or like functions

Another simple mechanism to call this email trigger is use a hidden iframe in your blog template. (anywhere)

<iframe width=”0″ height=”0″  style=”display:none”  src=”http://yourblogdomain/wordpressinstalldir/wp-mail.php“></iframe>

The problem with this email posting is , it strips all the html tags before entering into wordpress database.

The is no way to find the attachments from an email.

So I decided to start a wordpress plugin which does the above missing properties. If there is any ‘working’ plugin available, please let me know, so that  I can avoid the re-inventing of wheel .

Thanks

Sajith M.R

Pagerank Update

July 28th, 2008 by Sajith M.R

Google Pagerank is updated this week. www.sajithmr.com page rank is still 3. But most of the posts got 3 and 4. Those who are waiting to see the page rank update,  use this website:

http://www.googleneedle.com

If you use google toolbar in your browser , the result may be shown as cached. The Google Needle will give you live/current page rank. Check your each post or website pages there. If you have better page rank for your wordpress blog, use my page rank plugin to show the rank to your readers with a very cute designed page rank bar.

Show Wordpress Currently Reading Posts

July 12th, 2008 by Sajith M.R

After the success of my previous wordpress plugins , Announcement, Show My Page Rank, Sexy Rating, Add to this , Stumble Reviews, I created one more interesting plugin, called Currently Reading Posts Plugin.

Whenever a visitor visits your website, he can see what are the posts currently reading by other visitors. It is like youtube’s currently watching videos.

Wordpress Currently Watching Plugin

You can see its current working at the top right corner of this website.

Download the plugin for here: http://www.sajithmr.com/downloads/CurrentlyWatching.zip

Go to Admin > Plugins > and activate the plugin.

Paste this code: <?php wp_show_currently_watching() ?> by editing your template / theme . (I placed the code in header.php file)

It is implemented with ajax support.

Wordpress Announcement - Plugin

June 24th, 2008 by Sajith M.R

Wordpress Announcement Plugin

Do you wanna inform any important news or message to your readers ? Here is a simple plugin, Wordpress Announcement Plugin.

Download the plugin from : http://downloads.wordpress.org/plugin/announcement.zip

Go to Admin > Plugin > and activate announcement plugin. After that, go to options and select Announcement. By default the plugin will be inactive. You have to set your announcement and activate the announcement by checking ‘Active’ checkbox.

Never Forgot to Run the Announcement. By Default the Announcement will be inactive

Enough !!! You visitors can now see your announcement. It will be displayed only one time for a particular user .

(If you want to see the announcement again, for testing purpose, Clear browser cookies, or atleast cookies from your blog. Otherwise you have to wait another 24 hours to play the announcement again)

The plugin is created with cute design and animation. It will never interrupt your blog reader.

Regards

Sajith

Sexy Rating - Wordpress Plugin

June 19th, 2008 by Sajith M.R

If you wanna know , what is others review or opinion about your website, You can use this wordpress plugin. It will provide the blog readers and your regular visitor to rate your blog. You can put this plugin anywhere in your blog. The plugin name is sexyrate plugin.

Here is the screen shot:

Sexy Rate Plugin Screen Shot

There are 4 types for rating , Perfect, Good , Bad and Too-Bad. One user can rate one time only. The whole thing is made out of Ajax. For providing more attraction , the plugin is created with images of sexy ladies :) .

If you want to place this plugin, what to do is , download it from http://downloads.wordpress.org/plugin/sexyrate.zip

Go to your wordpress Admin > Plugin and activate this plugin. After that , go to Admin > Presentation > Theme Editor and edit any place you want (header, single.php , index.php, home.php or sidebar.php) as suit to your blog and add this line:

<?php wp_show_my_rate() ?>

*Remember, this plugin is referred to those who has white backgroud wordpress theme.

Comment me your opinion about this plugin

Later
Sajith

Stumble Reviews - Wordpress Plugin

April 24th, 2008 by Sajith M.R

Stumble Reviews - Wordpress Plugin

If you installed stumble toolbar in your browser, you can see a white bubble button. It is called stumble review button. When you browse a website url, if you press this bubble, you can see the reviews regarding that website by different stumbleupon users. Take your wordpress blog posts and click on stumble review bubble, you can see others reviews about each of your blog post.

stumble reviews

If you are getting more reviews for your wordpress blog post, it is the time to reveal or expose your reviews in front of your blog readers.

Here is a wordpress plugin which shows your post reviews by stumble users. If you are using wordpress widget, just activate stumble review widget and add to you sidebar after download the plugin files from http://wordpress.org/extend/plugins/stumble-reviews/

If you are not a wordpress widget user, add the below code in Template Editor.

<?php wp_stumble_review_template() ?>

If you want to add stumble review on your sidebar use the below code:

<?php simple_sumble_review_template() ?>

See the screen shot when i activated the stumble review plugin and added the code <?php wp_stumble_review_template() ?> in my single.php file just above the comments area ( <?php comments_template(); ?> )

Stumble Reviews Screen shot

(Screenshot of sajithmr.com after installing stumble reviews plugin)

Wordpress Page Rank Plugin

April 17th, 2008 by Sajith M.R

Page Rank Plugin

If your wordpress blog has a better page rank, here is a better chance to reveal it to your blog readers. That is Wordpress Page Rank Plugin Show-My-PageRank

Download the plugin from Show-My-PageRank.zip

OpenID Integration PHP

Screen shot of my blog after installing this plugin is here:

Pagerank Plugin Screen Shot

You can also change the size, caption text, text color, font size etc from option window.

Screen shot of page rank plugin option page

By default the rank will be shown just before each post. You can uncheck this option from the plugin option page.

If you want to show your page rank to a custom area , say footer.php or header.php , just add the below line to corresponding section in theme editor window.

<?php wp_show_my_pagerank() ?>

See my blog’s about page after adding this php code in page.php file in theme editor:

Custom Page Rank Example

So start download now. Happy Blogging !!!

3 Simple way to upgrade your wordpress

April 10th, 2008 by Sajith M.R

Wordpress Upgrade

1) Non- Programmers

For non programmers or non administrators easy way to upgrade wordpress is using auto-upgrading plugin.

Download this plugin from: http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/

Unzip the files into your wp-content/plugin directory and activate the plugin. Go to manage menu and run automatic upgrade. It will do the rest !!!

2) Normal Programmers / Administrators

Login into your server via putty or ssh and go to your root/www directory. (I am explaining the linux server here)

type:

wget http://wordpress.org/latest.zip

unzip latest.zip

mv ./wordpress/ /path/to/www/root

It automatically replace all files and maintain all of your old themes and plugins. When you take wp-admin it automatically asks for database upgradation. Just do that. Enough, your new wordpress is ready

3) Very Simple Way (for Administrators )

Use wordpress svn while installing wordpress.

svn co http://svn.automattic.com/wordpress/trunk/

and when new wordpress upgrade comes, just do

svn update

Enough your new wordpress is ready in a single line .

Google Ad-Oriented Wordpress Theme > KeyArt

April 10th, 2008 by Sajith M.R
  1. Very nice ad placement
  2. Keyword / Meta optimized
  3. Google Image-ad Header
  4. Web 2.0 Layout
  5. Simple Design
  6. Option of Auto Bookmarking (Stumble , Delicious, Technorati)
  7. Amazing Navigation
  8. 75% CTR increment (Tested)
  9. Keeping google ad-layout specification

All the above features in a single theme named KeyArt.

Download the zip file , unzip to wp-content/themes/ so that the theme file will be on: wp-content/themes/keyart path.

Goto Admin Control Panel / Presentation Menu. Select the Keyart theme.

See the screen shot:

Keyart Screen Shot

After installing this theme, go to Template/ThemeEditor Menu and Select googleads.php. Edit your google public id there to show your google ad. (Replace current pub-id with ours)


For any queries/comments mail me to admin@sajithmr.com or comment on this post.

Happy Blogging …

Addtothis - Wordpress Social Bookmarking Plugin

April 10th, 2008 by Sajith M.R

Addtothis is a wordpress plugin for improving your blog traffic. What you want to do is just activate this plugin. This plugin automatically add user option / shortcut for adding a particular post in delicious , stumble , feed readers and technorati

Addtothis - Wordpress Social Bookmarking Plugin

Download the zip file and unzip into your wp-content/plugins directory. Go to your administrative control panel / plugin menu and click on the activate link.

The plugin is also available from wordpress official website: http://wordpress.org/extend/plugins/addtothis/
Wordpress Bookmarking Plugin

See sample post after activating this plugin:

Addtothis - Wordpress Social Bookmarking Plugin

Comment your opinion / queries regarding this plugin. If you want more additions to this plugin, please feel free to mail : admin@sajithmr.com or comment to this post.

Simple steps to create a wordpress theme

April 3rd, 2008 by Sajith M.R

Wordpress Theme Development

Wordpress theme is merely a folder which is to be placed in wp-content folder of wordpress hierarchy .

The basic files needed in that theme folder is index.php and style.css

In this style.css the following lines are very essential.
/*

Theme Name: Theme Namet

Theme URI: http://www.sajithmr.com/

Description: Details of your theme

Author: Author name

Author URI: http://www.sajithmr.com/

This theme was designed and built by Sajith

The CSS, XHTML and design is released under GPL

http://www.opensource.org/licenses/gpl-license.php

*/
Design your theme (static page) and put this as index.php in theme folder. Go to wordpress admin panel and set the current theme as the theme you created now. Then you can see the static design created by you.

Next step is make each part dynamic. For example if you want to make your blog title dynamic , replace your static code with

<?php wp_title(); ?>

Make your style sheet path also dynamic by : <link rel=”stylesheet” href=”<?php bloginfo(’stylesheet_url’); ?>” type=”text/css” media=”screen” />

Like this , there is a lot of built in dynamic functions in wordpress.I will give you some links at the end of this post .

Another , very special , feature of wordpress theme is its hierarchy. You can sub divide the index.php files into a lot of sub files. See the below picture

Wordpress theme hierarchy

(Click on the picture to see full size)

This picture shows the control flow whenever a particular url request arrives. For example you can write all the code for footer in footer.php and can include this file in your index.php file as

<?php get_footer(); ?>

Some important wordpress dynamic functions:

Function for showing posts:

<?php if (have_posts()) : ?>

<?php while (have_posts()) : the_post(); ?>

<?php the_content(’Read More »’); ?>

<?php break;?>

<?php endwhile; ?>
<?php endif; ?>

See this link for further development: http://codex.wordpress.org/Theme_Development

Wordpress Theme Development Wordpress Theme Development

Some useful functions:

<?php wp_list_categories(’title_li=’); ?> /* Listing categories */

<?php edit_post_link(’Edit this entry.’,”,”); ?> /* Post edit link*/

<?php the_category() ?> /* Shows current category*/

<?php wp_list_pages(’sort_column=menu_order&depth=1&title_li=’);?> /* Page Links*/

<?php wp_head(); ?> /* Head information */

<?php wp_loginout(); ?> /* Login / logout links*/

<?php the_permalink() ?> /* Get the permalink */

<?php the_excerpt(); ?> /* Get the short description of a post*/

<?php posts_nav_link(’ — ‘, __(’« Older Posts’), __(’Newer Posts »’)); ?> /*Page navigation*/

Wordpress Theme - Sythoos

March 17th, 2008 by Sajith M.R

Wordpress Theme  -  Sythoos

Sythoos wordpress theme is now public . You can download the theme of this site from

Sythoos Theme

Wordpress Theme Download

Features >>

  1. Simply whitish theme
  2. Readable font type and size
  3. Comfortable colors
  4. SEO based theme
  5. Apt place for adding google advertisements
  6. Google Map Api showing current visitors locations and count
  7. Super commenting structure
  8. Fast Loading

See the screenshots:

Home Page >>

Home page view

Google Map >>

Google Map integrated

Simple Commenting >>

Simple Commenting and Related Posts

Wordpress Theme Download

Download sythoos.zip file and extract and place it in your wp-content/themes folder. Go to Presentation Tab in wordpress admin control panel and click on sythoos to activate. Enjoy Wordpress :)