A poor or faster way to add wptinybn support to wp TinyMCEComments plugin

3Ok let me at first tell why this post ?
I have a wp plugin named wptinybn which enables users to write in unicode bangla for different types of bengali keyboard in wp visual editor which is based on tinymce. Actually my wp plugin is based on my tinymce plugin tinybn. That means besides the wptinybn the tinybn plugin is a standalone tinymce plugin. So it should work with everywhere with tinymce. ok.. I am 25% done 🙂

There is another wp plugin named TinyMCEComments which enables wp users to write comments through tinymce editor. I am 50% done. Cool na ?

One of my reader asked me how to add the tinybn support to TinyMCEComments. I just check that plugin’s code and I have that plugin installed in my own blog too though not enabled! Yes my answer is yes … that means it’s possible. It can be done in different ways. As a quick thinking I am giving a poor or faster (whatever u think) way to do that. I am 75% done… wait a bit man.

Download the wptinybn and TinyMCEComments plugin and install them. (if u want not to install wptinybn to do that then it’s ok, I mean no dependency). Check wptinybn(unzip first!) folder and you should find a folder in it named “banglafkb”.Copy this and paste in wp-includes/js/tinymce/plugins folders in your blog wp installation. Done ? ok now …

hmm now you have to be more brave to edit the TinyMCEComments plugin… not much in deed. Open file tinyMCEComments.php and find the word “pls”. Stop to it’s first occurance the word will be like $pls and it’s a array and here parts of code is like
[code=’php’]$pls = array(‘separator’,’bold’,’italic’,’underline’,’strikethrough’,’justifyleft’,’justifycenter’,’justifyright’,’justifyfull’,’bullist’,’numlist’,’outdent’,’indent’,’cut’,’copy’,’paste’,’undo’,’redo’,’link’,’unlink’,’cleanup’,’help’,’code’,’hr’,’removeformat’,’sub’,’sup’,’forecolor’,’backcolor’,’charmap’,’visualaid’,’blockquote’,’spellchecker’,’fullscreen’);[/code]
now place // before this line and it will be like bellow
[code=’php’]
//$pls = array(‘separator’,’bold’,’italic’,’underline’,’strikethrough’,’justifyleft’,’justifycenter’,’justifyright’,’justifyfull’,’bullist’,’numlist’,’outdent’,’indent’,’cut’,’copy’,’paste’,’undo’,’redo’,’link’,’unlink’,’cleanup’,’help’,’code’,’hr’,’removeformat’,’sub’,’sup’,’forecolor’,’backcolor’,’charmap’,’visualaid’,’blockquote’,’spellchecker’,’fullscreen’);[/code]
we just kept the old code .
now in new line put this bellow code
[code=’php’]
$pls = array(‘separator’,’bold’,’italic’,’underline’,’strikethrough’,’justifyleft’,’justifycenter’,’justifyright’,’justifyfull’,’bullist’,’numlist’,’outdent’,’indent’,’cut’,’copy’,’paste’,’undo’,’redo’,’link’,’unlink’,’cleanup’,’help’,’code’,’hr’,’removeformat’,’sub’,’sup’,’forecolor’,’backcolor’,’charmap’,’visualaid’,’blockquote’,’spellchecker’,’fullscreen’,’banglafkb’);
[/code]

If you check the above code what I have added new here ? just that ,’banglafkb’

I am 90% done. Now to to your admin panel activate tinymcecomments plugin then from menu Settings go to it’s(that plugin’s) setting page and check (if you done above copy pase and code editing) ‘banglafkb’ is in the button list and in the available plugin list. Just click both banglafkb to add from button list and plugin list. For button list click seperator before banglafkb that will be make a | seperator in editor. Now save this new option and check your comment form.

Angry one me ? You have done every thing properly but nothing new in the editor and u don’t see any change in the preview editor int the plugin options page. Don’t worry. The plugin keeps the setting in cache for 10 days. So to get the changes within one sec just open the tinyMCEComments.php file and pls check from top few liens code

there is a line like
$mcecomment_expiresOffset = 3600 * 24 * 10; // Cache for 10 days in browser cache
make this line comment I mean like
//$mcecomment_expiresOffset = 3600 * 24 * 10; // Cache for 10 days in browser cache
and now put a new line bellow it like
$mcecomment_expiresOffset = 1; // Cache for 1 sec in browser cache

now save this file and check the option’s page’s preview editor.

I think I am 100% done now. mu ha ha.

Oh I forgot to say currently I am working on a joomla plugin to make the dates in bangla for front end for articles, actually it will work with com_content …hope to release this on the eid-durga puja vacation.

Again here is some screenshot(one is above) of this post’s summary.MCEComments Options ‹ Let’s start againâ€Ļ — WordPress_1251930556673MCEComments Options ‹ Let’s start againâ€Ļ — WordPress_1251930589424MCEComments Options ‹ Let’s start againâ€Ļ — WordPress_1251930628482

Adding no follow for links in wp comments

Don't Follow MeOne of my senior brother just asked me, how to add no follow rel for comments in wordpress. May be there is plugin for this. Look to my code 🙂
How to use:
1.Open the functions.php file in ur current theme and put these code within php tags.

What it will do:
1. Will add ‘no follow’ as rel in url , if comment contains any url.
2. Will ad ‘external’ as rel in url , if comment contains any url.
3. Will add target=”_blank” in comment author’s url so that their web url open’s in new window/new tab as in browser settings
4. Will add target=”_blank” to url, if comment contains any url
5. Wp adds ‘no follow’, ‘external’ rel in comment author’s url by default. So we don’t need to add this 😛

Tips:
1.If possible upgrade to wp2.8.2

[code language=”php”]
function nofollow($text) {
$text = preg_replace(‘/<a /i’,'<a rel="nofollow external" ‘,$text);
$text = preg_replace(‘/<a /i’,'<a target="_blank" ‘,$text);
return $text;
}
function targetblank($text){
$text = preg_replace(‘/<a /i’,'<a target="_blank" ‘,$text);
return $text;
}

add_filter(‘comment_text’, ‘nofollow’);
add_filter(‘get_comment_author_link’,’targetblank’);
[/code]

any question ask me 🙂
p.s.: post image is just for fun 😛

BTW, are you afraid of editing your functions.php ? Ok, no problem you can add the above piece of code using the bellow wp plugin.
[download id=”9″]

Duh, you are totally unhappy with this post, na ? You can to treat your commentors with “cake and cook”, ok no problem.Just forget my post and read this blog post …“The Single, Most Profound Way To Thank Your Commenters”.
Happy now ?

How to use timthumb in WP MU

I think to show the first image as thumb in wp front page or blog layout is very common for any theme. But to use it in wordpress mu version is not direct or need to do some hack or modify the normall process of adding timthub. Normally we upload images from wp media manager and use those in posts. In normal wordpress the upload dir is wp-content/uploads and files and images are uploaded to that directory. In wordpress mu version files are uploaded by user basis folder and for this wp-content/blogs.dir/userid is the uploaded dir for any image. here user id is named as folder name for each user. then wp-content/blogs.dir/userid/files. But when u browse the site the image link format is like http://yoursitename/files/year/month/image name but format is reshaped by the wp mu htacces which real physical path is like wp-content/blogs.dir/userid/files/year/month/image name.
Continue reading

How to make menu like news.bbc.co.uk

bbcNow a days I am a great fan of wordpress. Recently I have done some projects on wordpress and getting expert day by day 😛 heh heh.

This post about how can we make menu in wordpress like news.bbc.co.uk. Now a days some clients want clone sites. They don’t think about all the functionality but the look and feel clone 🙂 .
So to clone the menu like news.bbc.co.uk we what we need:
1. wp function wp_list_categories(args)
2. CSS to give look and feel like news.bbc.co.uk

Before we start let’s check what we are going to do:
here is the image that we are going to make or the menu that we are doing to make using wp_list_categories function and css. Look this menu is 2 level deep. To keep the theme clean u can make a function in functions.php file like bellow and just call the function in theme where u want to place the menu.
Look here we are using echo= 0 as want to just return the output from this function. and depth =2 as we want to make two level hirarachyâ€Ļ check others params that I have used. To know details about the template tag wp_list_categories pls check this page in wp codex.

Now what we need is to apply the css to style the menu like news.bbc.co.ukâ€Ļ one thing to keep in mind. When u will browse through the category I mean u click the any category from the menu and posts will be shown using category.php template then active category will get an extra class automatic which is helpfull to highlight using css but if u browse any single.
[code=’php’]function get_leftcatmenu(){
$excludecats = array();
$excludecats = array(1,2,3); //categories to exlclude
//or
//$includecats = array ();
//$includecats = array(1,2,3); //categories to include

/*
// same thing can be done using a simple plugin and saving the categories in option table , bellow code is for comma seperated cat list
$excludecats = explode(‘,’, get_option(‘bbcnews_leftmenucid’));
$excludecats = implode( “,”,$excludecats);
*/
/*
$includecats = explode(‘,’, get_option(‘bbcnews_leftmenuscid’));
$includecats = implode( “,”,$seccats);

//sample code to exclude
return wp_list_categories(‘orderby=name&amp;amp;style=list&amp;amp;hide_empty=0&amp;amp;show_count=0&amp;amp;title_li=&amp;amp;exclude=’.$excludecats.’&amp;amp;hierarchical=true&amp;amp;depth=2&amp;amp;echo=0′);

// sample code to inlclude
return wp_list_categories(‘orderby=id&amp;amp;style=list&amp;amp;hide_empty=0&amp;amp;show_count=0&amp;amp;title_li=&amp;amp;include=’.$includecats.’&amp;amp;hierarchical=true&amp;amp;depth=2&amp;amp;echo=0′);
*/
}
[/code]
post we need the hightlight the category in the menu to which the single post belongs to. But to make this happen that adding an extra class to the menu to make active while browsing any single posts I have used a plugin 🙂 named “Show Active Category (while browsing a post)“. Note if any post belongs to more one category then it will add extra active class to each category.

Uffâ€Ļ.now check the css code that I used:
Note: this css code works fine in ff3 and ie6 and I have no interest with other browser at this moment.
Code to use in theme:
[code=’php’]

  • home”>

is_home-is_single-is_category-is-not-working-in-wp!

If u are reached here using search engine then I am sure that you are just fucked up 🙁 .. is_home(), is_single(), is_category() are not workingâ€Ļspecially in footer and other places. I faced the same problem. While working with a wordpress theme, this functions were working fine in footer but once I noticed that they are not working as they should be !â€Ļ.

Let me explain why and how this problem occurs and what’s the solution :

I think if u are familiar with the famus LOOP in wordpress. The following is_home(), is_single(), is_category() functions depends on the loop. ACtually when u visit the home page then header.php, index.php, sidebar.php and footer.php files are executed and in the same way when u visit a single post then normally header.php, single.php, sidebar.php and footer.php files are executed. Actually some global page specific query is done for single.php, index.php etc. is_home(), is_single(), is_category() they will work fine if u use the default theme and don’t add any custom query !

Let’s check the code for is_home() function â€Ļ
[code=’php’]/**
* Whether current page view is the blog homepage.
*
* @since 1.5.0
* @uses $wp_query
*
* @return bool True if blog view homepage.
*/
function is_home () {
global $wp_query;
return $wp_query->is_home;
}
[/code]
Ok, for custom query maximum time I use this function get_posts. But to get more control I used query_posts. They are same and share some common arguments but query_posts gives more controls and more arguments to pass to get the exact query. Now Let’s check the code for query_posts() function

[code=’php’]/**
* Setup the Loop based on the query variables.
*
* @uses WP::$query_vars
* @since 2.0.0
*/
function query_posts() {
global $wp_the_query;
$this->build_query_string();
$wp_the_query->query($this->query_vars);
}
[/code]

and code for get_posts

[code=’php’]/**
* Retrieve list of latest posts or posts matching criteria.
*
* The defaults are as follows:
* ‘numberposts’ – Default is 5. Total number of posts to retrieve.
* ‘offset’ – Default is 0. See {@link WP_Query::query()} for more.
* ‘category’ – What category to pull the posts from.
* ‘orderby’ – Default is ‘post_date’. How to order the posts.
* ‘order’ – Default is ‘DESC’. The order to retrieve the posts.
* ‘include’ – See {@link WP_Query::query()} for more.
* ‘exclude’ – See {@link WP_Query::query()} for more.
* ‘meta_key’ – See {@link WP_Query::query()} for more.
* ‘meta_value’ – See {@link WP_Query::query()} for more.
* ‘post_type’ – Default is ‘post’. Can be ‘page’, or ‘attachment’ to name a few.
* ‘post_parent’ – The parent of the post or post type.
* ‘post_status’ – Default is ‘published’. Post status to retrieve.
*
* @since 1.2.0
* @uses $wpdb
* @uses WP_Query::query() See for more default arguments and information.
* @link http://codex.wordpress.org/Template_Tags/get_posts
*
* @param array $args Optional. Override defaults.
* @return array List of posts.
*/
function get_posts($args = null) {
$defaults = array(
‘numberposts’ => 5, ‘offset’ => 0,
‘category’ => 0, ‘orderby’ => ‘post_date’,
‘order’ => ‘DESC’, ‘include’ => ”,
‘exclude’ => ”, ‘meta_key’ => ”,
‘meta_value’ =>”, ‘post_type’ => ‘post’,
‘suppress_filters’ => true
);

$r = wp_parse_args( $args, $defaults );
if ( empty( $r[‘post_status’] ) )
$r[‘post_status’] = ( ‘attachment’ == $r[‘post_type’] ) ? ‘inherit’ : ‘publish’;
if ( ! empty($r[‘numberposts’]) )
$r[‘posts_per_page’] = $r[‘numberposts’];
if ( ! empty($r[‘category’]) )
$r[‘cat’] = $r[‘category’];
if ( ! empty($r[‘include’]) ) {
$incposts = preg_split(‘/[\s,]+/’,$r[‘include’]);
$r[‘posts_per_page’] = count($incposts); // only the number of posts included
$r[‘post__in’] = $incposts;
} elseif ( ! empty($r[‘exclude’]) )
$r[‘post__not_in’] = preg_split(‘/[\s,]+/’,$r[‘exclude’]);

$r[‘caller_get_posts’] = true;

$get_posts = new WP_Query;
return $get_posts->query($r);

}
[/code]

get_posts will not make any problem for is_single(), is_home(), is_category() etc functions.

Solution: To avoid this problem you can use this trick:

[code=’php’]$query_backup = clone($GLOBALS[‘wp_query’]); //keep backup
……
query_posts(…..)

$GLOBALS[‘wp_query’] = $query_backup; //restore from backup
[/code]

Further info: Please keep in mind that the php function clone() will not work in php4, it’s just for php5 becuase Php5 handles objects in different way. Like in php5 you can copy a object in this way
$new_object = clone ($old_object);
here $new_object will not copy the object actually though it will just point to $old_object but in php4 the thing is just copy like bellow.
$new_object = $old_object;

You can check this link for better explanation.

Sometimes pain gives us a way to think 😛

thanks

āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ⧇āϰ āĻĨā§€āĻŽ āĻ•āĻŋāĻ­āĻžāĻŦ⧇ āĻ•āĻžāϜ āĻ•āϰ⧇-āĻĒāĻ°ā§āĻŦ-ā§§

[āϝāĻĻāĻŋ āφāĻĒāύāĻžāϰ āύāϰāĻŽāĻžāϞ āĻāχāϟāĻŋāĻāĻŽāĻāϞ āĻāĻŦāĻ‚ āĻāĻ•āĻĻāĻŽ āĻŦ⧇āϏāĻŋāĻ• āĻĒāĻŋāĻāχāϚāĻĒāĻŋ āĻœā§āĻžāĻžāύ āύāĻž āĻĨāĻžāϕ⧇ āϤāĻžāĻšāϞ⧇ āĻāχ āĻĒā§‹āĻ¸ā§āĻŸā§‡āϰ āĻ•āĻŋāϛ⧁ āĻŦāĻŋāώāϝāĻŧ āϜāϟāĻŋāϞ āĻŽāύ⧇ āĻšāϤ⧇ āĻĒāĻžāϰ⧇ ]
āĻ…āύ⧇āϕ⧇āχ āĻŦā§āϝāĻ•ā§āϤāĻŋāĻ—āϤ āĻšā§‹āĻ¸ā§āϟāĻŋāĻ‚ āĻ āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ āχāύāĻ¸ā§āϟāϞ āĻ•āϰ⧇ āĻŦā§āϞāĻ—āĻŋāĻ‚ āĻ•āϰāϛ⧇āύ āĻāĻŦāĻ‚ āĻĒāĻ›āĻ¨ā§āĻĻ⧇āϰ āϕ⧋āύ āĻĢā§āϰāĻŋ āĻĨā§€āĻŽ āχāύāĻ¸ā§āϟāϞ āĻ•āϰ⧇ āĻĻāĻŋāĻŦā§āϝāĻŋ āϏ⧁āĻ¨ā§āĻĻāϰ āĻŦā§āϝāĻ•ā§āϤāĻŋāĻ—āϤ āĻŦā§āϞāĻ— āĻŦāĻžāύāĻŋāϝāĻŧ⧇ āύāĻŋāĻšā§āϛ⧇āύāĨ¤ āϝāĻĻāĻŋ āĻāĻŽāύ āĻšāϝāĻŧ āĻāχ āĻĨā§€āĻŽ āĻ•āĻŋāĻ­āĻžāĻŦ⧇ āĻ•āĻžāϜ āĻ•āϰ⧇ āϤāĻž āϝāĻĻāĻŋ āϜāĻžāύāĻž āĻĨāĻžāϕ⧇ āϤāĻžāĻšāϞ⧇ āφāϰ⧋ āĻŽāϜāĻž āύāĻž ? āχāĻšā§āĻ›āĻž āĻšāϞ⧋ āĻāĻ•āϟ⧁ āϏāĻŽā§āĻĒāĻžāĻĻāύāĻž āĻ•āϰ⧇ āĻĨā§€āĻŽāϟāĻžāϕ⧇ āύāĻŋāĻœā§‡āϰ āĻŽāϤ⧋ āϏāĻžāϜāĻŋāϝāĻŧ⧇ āύāĻŋāϞ⧇āύāĨ¤ āφāĻŽāĻžāϰ āĻŦāĻ•āĻŦāĻ• āĻļ⧁āϰ⧁āϰ āφāϗ⧇ āφāϏ⧁āύ āĻœā§‡āύ⧇ āύ⧇āχ āĻāχ āĻĒā§‹āĻ¸ā§āĻŸā§‡āϰ āωāĻĻā§āĻĻ⧇āĻļā§āϝāϗ⧁āϞ⧋āσ

āĻāĻ•āσ āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ⧇āϰ āĻĨā§€āĻŽ āĻ•āĻŋāĻ­āĻžāĻŦ⧇ āĻ•āĻžāϜ āĻ•āϰ⧇
āĻĻ⧁āχāσ āĻĨā§€āĻŽ āĻĢā§‹āĻ˛ā§āĻĄāĻžāϰ⧇āϰ āϕ⧋āύ āĻĢāĻžāχāϞ⧇āϰ āĻ•āĻžāϜ āĻ•āĻŋ
āϤāĻŋāύāσ āĻĨā§€āĻŽ āϏāĻŽā§āĻĒāĻžāĻĻāύāĻž āĻ•āϰāĻž
āϚāĻžāϰāσ āχāĻ¤ā§āϝāĻžāĻĻāĻŋ :ttt:
Continue reading

āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ⧇ āĻāĻĄāĻŽāĻŋāύ āϞāĻ—āĻŋāύ āĻĒ⧇āϜāϕ⧇ āĻĒāϰāĻŋāĻŦāĻ°ā§āϤāύ āĻ•āϰ⧁āύ āύāĻŋāĻœā§‡āϰ āĻŽāϤ⧋ āĻ•āϰ⧇

āϧāϰ⧁āύ āφāĻĒāύāĻžāϰ āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ āĻŦā§āϞāϗ⧇āϰ(āϏ⧇āϞāĻĢ āĻšā§‹āĻ¸ā§āĻŸā§‡āĻĄ) āϞāĻŋāĻ™ā§āĻ• āϝāĻĻāĻŋ āĻšāϝāĻŧ http://www.mysite.com āϤāĻžāĻšāϞ⧇ āφāĻĒāύāĻžāϰ āĻāĻĄāĻŽāĻŋāύ āĻĒā§āϝāĻžāύ⧇āϞ⧇ āĻĸ⧁āĻ•āĻžāϰ āϞāĻŋāĻ™ā§āĻ• āĻšāĻŦ⧇ āĻāχ āϰāĻ•āĻŽāσ http://www.mysite.com/wp-admin āĨ¤ āĻāχ āĻĒāĻžāϤāĻžāϝāĻŧ āϗ⧇āϞ⧇āχ āĻŦāĻŋāĻļāĻžāϞ āĻāĻ•āϟāĻž āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ⧇āϰ āĻ›āĻŦāĻŋāĨ¤ āφāĻĒāύāĻŋ āϚāĻžāχāϞ⧇āχ āĻ•āĻŋāĻ¨ā§āϤ⧁ āĻāχ āĻ›āĻŦāĻŋ, āĻ›āĻŦāĻŋāϰ āωāĻĒāϰ āĻŽāĻžāωāϏ āύāĻŋāϞ⧇ āϝ⧇ āϟ⧁āĻĒ āϟāĻŋāĻĒ/āϟāĻžāχāĻŸā§‡āϞ(powered by wordpress ) āĻĻ⧇āĻ–āĻžāϝāĻŧ āĻāĻŦāĻ‚ āĻ›āĻŦāĻŋāϟāĻžāϰ āϞāĻŋāĻ™ā§āĻ• (āĻĄāĻŋāĻĢāĻ˛ā§āϟ āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ āϏāĻžāχāĻŸā§‡āϰ āϞāĻŋāĻ™ā§āĻ• āĻĨāĻžāϕ⧇) āχāĻ¤ā§āϝāĻžāĻĻāĻŋ āĻĒāϰāĻŋāĻŦāĻ°ā§āϤāύ āĻ•āϰ⧇ āϏāĻŽā§āĻĒā§‚āĻ°ā§āĻŖ āύāĻŋāĻœā§‡āϰ āĻŽāϤ⧋ āĻ•āϰ⧇ āύāĻŋāϤ⧇ āĻĒāĻžāϰ⧇āύāĨ¤

āĻāϰ āϜāĻ¨ā§āϝ āĻĒā§āϞāĻžāĻ—āĻŋāύ āĻĒāĻžāĻ“āϝāĻŧāĻž āϝāĻžāϝāĻŧ āĻ•āĻŋāĻ¨ā§āϤ⧁ āϝāĻĻāĻŋ āύāĻŋāĻœā§‡āχ āĻļāĻŋāϖ⧇ āĻĢ⧇āϞ⧇āύ āĻ•āĻŋāĻ­āĻžāĻŦ⧇ āĻ•āĻžāϜāϟāĻž āĻ•āϰāϤ⧇ āĻšāĻŦ⧇ āϤāĻžāĻšāϞ⧇ āĻŽāϜāĻžāϟāĻž āĻŦ⧇āĻļāĻŋâ€Ļ āϤāĻžāχ āύāĻž ? āφāϰ āĻšā§āϝāĻžāρ āĻāχ āϧāϰāύ⧇āϰ āĻĒāϰāĻŋāĻŦāĻ°ā§āϤāύ āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ āϏāĻžāĻĒā§‹āĻ°ā§āϟ āĻ•āϰ⧇ āĻŦāϞ⧇āχ āϕ⧋āϰ āĻĢāĻžāχāϞ⧇āϰ āϕ⧋āύ āϧāϰāύ⧇āϰ āĻĒāϰāĻŋāĻŦāĻ°ā§āϤāύ āύāĻž āĻ•āϰ⧇ āφāĻĒāĻžāύāĻžāϕ⧇ āĻĒā§āϞāĻžāĻ—āĻŋāύ āĻĻāĻŋāϝāĻŧ⧇ āĻŦāĻž āĻĨā§€āĻŽ āĻĨ⧇āϕ⧇ āĻšā§āĻ• āĻ•āϰāĻžāϰ āĻŽāĻžāĻ§ā§āϝāĻŽā§‡ āύāĻŋāĻœā§‡āϰ āχāĻšā§āĻ›āĻžāĻŽāϤ āĻ•āĻŋāϛ⧁ āĻŦāϏāĻŋāϝāĻŧ⧇ āĻĻ⧇āĻ“āϝāĻŧāĻžāϰ āϏ⧁āϝ⧋āĻ— āϰ⧇āϖ⧇āϛ⧇āĨ¤ :C
Continue reading

āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄāĻĒā§āϰ⧇āϏ⧇ āĻĒā§‹āĻ¸ā§āϟ āϰāĻŋāĻ­āĻŋāĻļāύ āĻŦāĻ¨ā§āϧ āĻ•āϰ⧁āύ

āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄāĻĒā§āϰ⧇āϏ⧇ āĻāĻ•āϟāĻž āϏ⧁āĻŦāĻŋāϧāĻž āφāϛ⧇ āϝ⧇ āφāĻĒāύāĻŋ āϝāϤāĻŦāĻžāϰ āϕ⧋āύ āĻĒā§‹āĻ¸ā§āϟ āϏāĻŽā§āĻĒāĻžāĻĻāύāĻž āĻ•āϰāĻŦ⧇āύ āϤāϤ āĻŦāĻžāϰ āĻĒā§‹āĻ¸ā§āϟ āĻŸā§‡āĻŦāĻŋāϞ⧇ āύāϤ⧁āύ āĻāĻ•āϟāĻž row āϤ⧈āϰāĻŋ āĻ•āϰāĻŦ⧇ āĻŽāĻžāύ⧇ āφāĻĒāύāĻžāϰ āĻĒā§āϰāϤāĻŋāĻŦāĻžāϰ⧇āϰ āĻĒāϰāĻŋāĻŦāĻ°ā§āϤāύ āϗ⧁āϞ⧋ āĻ āĻŋāĻ• āĻ āĻžāĻ• āĻŽāϤ⧋ āφāϞāĻžāĻĻāĻž āφāϞāĻžāĻĻāĻž āĻĒā§‹āĻ¸ā§āϟ āĻšāĻŋāϏāĻžāĻŦ⧇ āϏāĻ‚āϰāĻ•ā§āώāĻŖ āĻ•āϰāĻŦ⧇āĨ¤ āϝāĻžāϰāĻž āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄāĻĒā§āϰ⧇āϏ āĻŦā§āϞāĻ— āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻ•āϰ⧇āύ āϤāĻžāϰāĻž āϝāĻĻāĻŋ āĻāĻ•āϟ⧁ āϖ⧇āϝāĻŧāĻžāϞ āĻ•āϰ⧇āύ āϤāĻžāĻšāϞ⧇ āĻĻ⧇āĻ–āĻŦ⧇āύ āĻĒā§‹āĻ¸ā§āϟ āϏāĻŽā§āĻĒāĻžāĻĻāύāĻž āĻ•āϰāϤ⧇ āϗ⧇āϞ⧇ āύāĻŋāĻšā§‡āϰ āĻĻāĻŋāϕ⧇ “Post Revisions” āύāĻžāĻŽā§‡ āĻāĻ•āϟāĻž āĻŦā§āϞāĻ• āĻĒāĻžāĻŦ⧇āύāĨ¤ āĻāϟāĻž āĻŦ⧇āĻļ āϏ⧁āĻŦāĻŋāϧāĻžāϰ āĻ•āĻžāϰāĻŖ āφāĻĒāύāĻŋ āϚāĻžāχāϞ⧇ āφāĻĒāύāĻžāϰ āφāϗ⧇āϰ āϕ⧋āύ āϰāĻŋāĻ­āĻŋāĻļāύ⧇āϰ āϰ⧋āϞ āĻŦā§āϝāĻžāĻ• āĻ•āϰāϤ⧇ āĻĒāĻžāϰ⧇āύāĨ¤ āĻšāϝāĻŧāϤ⧋ āϭ⧁āϞ āĻ•āϰ⧇ āϕ⧋āύ āϏāĻŽā§āĻĒāĻžāĻĻāύāĻž āĻ•āϰāϞ⧇āύ āφāĻŦāĻžāϰ āφāϗ⧇āϰ āĻ…āĻŦāĻ¸ā§āĻĨāĻžāϝāĻŧ āĻĢāĻŋāϰ⧇ āφāϏāϞ⧇āύāĨ¤ āĻāϰ āĻ…āϏ⧁āĻŦāĻŋāϧāĻžāĻ“ āφāϛ⧇ āϝ⧇āĻŽāύ, āĻĒā§‹āĻ¸ā§āϟ āϏāĻ‚āĻ–ā§āϝāĻžāϰ āĻŦāĻžāĻĄāĻŧāĻžāϰ āϏāĻžāĻĨ⧇ āϏāĻžāĻĨ⧇ āĻāχ āϰāĻ•āĻŽ āĻ…āϏāĻ‚āĻ–ā§āϝ āϰāĻŋāĻ­āĻŋāĻļāύ āĻĄāĻžāϟāĻžāĻŦ⧇āĻœā§‡ āϏ⧇āχāĻ­ āĻšāĻŦ⧇āĨ¤ āωāĻ˛ā§āϞ⧇āĻ–ā§āϝ āϝ⧇ āĻĒā§āϰāϤāĻŋ āϰāĻŋāĻ­āĻŋāĻļāύ⧇āϰ āĻĒā§‹āĻ¸ā§āĻŸā§‡āϰ āϏāĻžāĻĨ⧇ āϏāĻ‚āĻļā§āϞāĻŋāĻˇā§āϟ āϏāĻŦ āĻ•āĻŋāϛ⧁ āϏāĻ‚āϰāĻ•ā§āώāĻŖ āĻšāϝāĻŧāĨ¤ āϤāĻžāχ āϝāĻžāĻĻ⧇āϰ āĻĄāĻžāϟāĻžāĻŦ⧇āϜ āϏāĻžāχāĻœā§‡āϰ āϞāĻŋāĻŽāĻŋāĻŸā§‡āĻļāύ āϰāϝāĻŧ⧇āϛ⧇ āϤāĻžāϰāĻž āϚāĻžāχāϞ⧇ āĻāχ āϰāĻŋāĻ­āĻŋāĻļāύ āĻ•āϰāĻžāϰ āĻŦā§āϝāĻŦāĻ¸ā§āĻĨāĻž/āĻ…āĻĒāĻļāύ āĻŦāĻ¨ā§āϧ āĻ•āϰ⧇ āĻĻāĻŋāϤ⧇ āĻĒāĻžāϰ⧇āύāĨ¤ Continue reading

New theme “Chitra2009”

For somedays I was thinking to make a new wordpress theme for my own blog and  I did at last. My new theme is live now though it’s not completed yet but working fine. I gave my theme name “Chitra2009” as the name of river Chitra . I like my theme and hope u will like this. The theme is little bit special as it loads faster and ajax based. Max widgets are ajaxified and the theme specially supports some popular plugins. I have used jQuery as js library and for ajax works. I got the design concept from  jquery.com and prothom-aloblog.com.

Still I need to do many thing. BTW, there is a special feature for bengali community as the theme can be used for bangla unicode blog too (But for personal blog, I didn’t think multi user blog). As bengali fonts are small , there is a option to write bangla and english in same post with same font size in frontend with a special tag. Even the whole post can be mark as bangla so that the title and post text every things is shown in large bangla font.

I want to make this theme free for all and it will be released under GPL or some thing like that at the end of feb,2009. I want your kind feedback to improve it.

Thanks,
Manchumahara

āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄāĻĒā§āϰ⧇āϏ⧇ āϕ⧋āύ āĻĒ⧇āĻœā§‡āϰ āϜāĻ¨ā§āϝ āĻ•āĻžāĻ¸ā§āϟāĻŽ āĻŸā§‡āĻŽāĻĒā§āϞ⧇āϟ āĻĢāĻžāχāϞ

āύ⧋āϟāσ āĻāχ āĻĒā§‹āĻ¸ā§āϟ āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ ⧍.ā§­ āĻāϰ āϜāĻ¨ā§āϝ āϞ⧇āĻ–āĻž āϤāĻŦ⧇ ⧍.ā§Ŧ.x āĻ āĻ•āĻžāϜ āĻ•āϰāĻŦ⧇āĨ¤
āϚāĻžāχāϞ⧇ āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄāĻĒā§āϰ⧇āϏāϕ⧇ āϕ⧋āύ āϏāĻŋāĻāĻŽāĻāϏ(āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ āĻāĻ•āϟāĻž āϏāĻŋāĻāĻŽāĻāϏ āχ āϤāĻŦ⧇ āϤāĻž āĻŦā§āϞāϗ⧇āϰ āϜāĻ¨ā§āϝ āĻŦāĻŋāĻļ⧇āώ āĻ­āĻžāĻŦ⧇ āϤ⧈āϰāĻŋ) āĻŽāϤ⧋ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻ•āϰāĻž āϝāĻžāϝāĻŧāĨ¤ āϧāϰ⧁āύ āφāĻĒāύāĻŋ āφāϞāĻžāĻĻāĻž āĻāĻ•āϟāĻž āĻĒ⧇āϜ āϤ⧈āϰāĻŋ āĻ•āϰāϤ⧇ āϚāĻžāύ āϝ⧇āĻ–āĻžāύ⧇ āχāĻšā§āĻ›āĻž āĻŽāϤ⧋ āϕ⧋āϝāĻŧāĻžāϰ⧀ āĻ•āϰ⧇ āĻĄāĻžāϟāĻž āĻļā§‹ āĻ•āϰāĻŦ⧇āύāĨ¤ āĻ•āĻžāϜāϟāĻž āĻ•āĻŋāĻ­āĻžāĻŦ⧇ āĻ•āϰāĻž āϝ⧇āϤ⧇ āĻĒāĻžāϰ⧇ āϤāĻž āύāĻŋāϝāĻŧ⧇āχ āφāϞ⧋āϚāύāĻž āĻ•āϰāϤ⧇ āϚāĻžāχāĻ›āĻŋāĨ¤

āĻĒā§āϰāĻĨāĻŽā§‡ āφāĻĒāύāĻžāϰ āĻĨā§€āĻŽā§‡ āĻĢā§‹āĻ˛ā§āĻĄāĻžāϰ⧇ āĻāĻ•āϟāĻž āύāϤ⧁āύ āĻĢāĻžāχāϞ āϝ⧁āĻ•ā§āϤ āĻ•āϰāϤ⧇ āĻšāĻŦ⧇āĨ¤ āϧāϰ⧁āύ blog.php. āĻāĻ–āύ āĻĢāĻžāχāϞāϟāĻž āĻ“āĻĒ⧇āύ āĻ•āϰ⧁āύ āφāϰ āĻĒā§āϰāĻĨāĻŽā§‡āχ āϞāĻŋāϖ⧁āύ
/*
Template Name: Blog Template
*/

Template Name: Blog Template āĻāχ āϞāĻžāχāύ āĻāϰ āĻ…āĻ°ā§āĻĨ āĻšāϞ⧋ āĻāχ āĻŸā§‡āĻŽāĻĒā§āϞ⧇āϟ āĻĢāĻžāχāϞāϟāĻž āϕ⧋āύ āĻŦāĻŋāĻļ⧇āώ āĻĒ⧇āĻœā§‡āϰ āϜāĻ¨ā§āϝ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻ•āϰāĻž āϝ⧇āϤ⧇ āĻĒāĻžāϰ⧇āĨ¤ āĻĄāĻŋāĻĢāĻ˛ā§āϟ āϕ⧋āύ āĻĒ⧇āĻœā§‡ (āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ⧇āϰ āĻāĻĄāĻŽāĻŋāύ āĻĒā§āϝāĻžāύ⧇āϞ āĻĨ⧇āϕ⧇ āϝ⧇ āĻĒ⧇āϜ āϤ⧈āϰāĻŋ āĻ•āϰāĻž āϝāĻžāϝāĻŧ) āĻĻ⧇āĻ–āĻžāύ⧋āϰ āϜāĻ¨ā§āϝ āĻĨā§€āĻŽā§‡āϰ page.php āĻĢāĻžāχāϞ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻ•āϰāĻž āĻšāϝāĻŧāĨ¤ āϝāĻĻāĻŋ āφāĻĒāύāĻžāϰ āĻĨā§€āĻŽ āĻĢā§‹āĻ˛ā§āĻĄāĻžāϰ⧇āϰ āϭ⧇āϤāϰ āĻāĻŽāύ āϕ⧋āύ āĻĢāĻžāχāϞ āĻĨāĻžāϕ⧇ āϝāĻžāϰ āĻļ⧁āϰ⧁āϤ⧇ āωāĻĒāϰ⧇āϰ āĻŽāϤ⧋ āϕ⧋āĻĄ āϞ⧇āĻ–āĻž āĻĨāĻžāϕ⧇ āϤāĻžāĻšāϞ⧇ āϏ⧇āϟāĻž āϕ⧋āύ āϕ⧋āύ āĻĒ⧇āĻœā§‡āϰ āϜāĻ¨ā§āϝ āĻŸā§‡āĻŽāĻĒā§āϞ⧇āϟ āĻĢāĻžāχāϞ āĻšāĻŋāϏāĻžāĻŦ⧇ āφāĻĒāύāĻŋ āϏāĻŋāϞ⧇āĻ•ā§āϟ āĻ•āϰāϤ⧇ āĻĒāĻžāϰāĻŦ⧇āύāĨ¤
Continue reading