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

āφāĻŽāĻžāĻĻ⧇āϰāĻĒā§āϰāϝ⧁āĻ•ā§āϤāĻŋ āĻĢā§‹āϰāĻžāĻŽ-āύāĻŋāĻ°ā§āĻĻāĻŋāĻˇā§āϟ āϕ⧋āύ āĻĢā§‹āϰāĻžāĻŽā§‡āϰ āϞ⧇āĻŸā§‡āĻ¸ā§āϟ āĻĒā§‹āĻ¸ā§āĻŸā§‡āϰ āφāϰ.āĻāϏ.āĻāϏ āĻĢā§€āĻĄ

rss-icons-collection-by-cadenheadāϤāĻĨā§āϝ⧇āϰ āϏāĻšāϜ āφāĻĻāĻžāύ āĻĒā§āϰāĻĻāĻžāύ⧇āϰ āĻ…āĻ¨ā§āϝāϤāĻŽ āĻŽāĻžāĻ§ā§āϝāĻŽ āĻšāϞ⧋ āφāϰ.āĻāϏ.āĻāϏ. āĻĢā§€āĻĄ āĨ¤ āĻĒāĻŋāĻāχāϚāĻĒāĻŋāĻŦāĻŋāĻŦāĻŋā§Š āĻāϰ āϏāĻžāĻĨ⧇ āĻĄāĻŋāĻĢāĻ˛ā§āϟ āϕ⧋āύ āφāϰ.āĻāϏ.āĻāϏ. āĻĢā§€āĻĄ āĻ…āĻĒāĻļāύ āύāĻž āĻĨāĻžāĻ•āĻžāϝāĻŧ āĻāĻ•āĻĻāĻŽ āĻĒā§āϰāĻĨāĻŽ āĻĻāĻŋāϕ⧇ āĻāĻ•āϟāĻŋ āϛ⧋āϟ āĻŽāĻĄ (āĻŽāĻĄāĻŋāĻĢāĻŋāϕ⧇āĻļāύ) āĻŦāĻžāύāĻŋāϝāĻŧ⧇āĻ›āĻŋāϞāĻžāĻŽ āφāϰ.āĻāϏ.āĻāϏ. āĻĢā§€āĻĄā§‡āϰ āϜāĻ¨ā§āϝ (āĻŽā§‚āϞ āĻĒāĻŋāĻāχāϚāĻĒāĻŋāĻŦāĻŋāĻŦāĻŋ āϏāĻžāχāĻŸā§‡ āĻāĻ–āĻžāύ⧇ āĻŽāĻĄāϟāĻŋ āĻĒāĻžāĻ“āϝāĻŧāĻž āϝāĻžāĻŦ⧇ āϝāĻĻāĻŋāĻ“ āϏāĻŽāϝāĻŧ⧇āϰ āĻ…āĻ­āĻžāĻŦ⧇ āϐāĻ–āĻžāύ⧇ āφāϰ āĻ…āύ⧇āĻ• āĻĻāĻŋāύ āφāĻĒāĻĄā§‡āϟ āĻ•āϰāĻŋ āύāĻžāχāĨ¤)āĨ¤ āφāĻŽāĻžāĻĻ⧇āϰ āĻĒā§āϰāϝ⧁āĻ•ā§āϤāĻŋ āϏāĻ°ā§āĻŦāĻļ⧇āώ āĻĒā§‹āĻ¸ā§āĻŸā§‡āϰ āϜāĻ¨ā§āϝ āφāϰ.āĻāϏ.āĻāϏ. āĻĢā§€āĻĄā§‡āϰ āϞāĻŋāĻ™ā§āĻ• āĻĢā§‹āϰāĻžāĻŽā§‡āϰ āĻāĻ•āĻĻāĻŽ āωāĻĒāϰ⧇āϰ āĻĻāĻŋāϕ⧇ āĻĄāĻžāύ āĻĒāĻžāĻļ⧇ āĻĒāĻžāĻŦ⧇āύāĨ¤ Continue reading

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

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

Random and discrete 7 things about me

….no I will not write…I will break the chain….etc….I was not in me that day… Hasin vai said,”…grrr….”. ….Now feeling cool and….Ok here something about me but I will not tag any one …mu ha ha.

  • I am little bit crazy type from my childhood.
  • I don’t smoke ..I mean the nasty cigs.
  • I like ice-cream and to walk alone.
  • I am honest with myself and I like to say what I believe.
  • I am workholic and fun loving. I have passed so many hrs with depression and hope to pass in future. I like to live and reborn. I like to start again when I loose all hope :). That’s the manchumahara in me.
  • Sometimes I watch porn/adult movies to retrieve concentration.
  • I think, I feel some one specially.

These are discrete random 7 things about me.

āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ⧇ āϞāĻŋāϖ⧁āύ āĻŽā§āϝāĻžāĻĨ⧇āĻŽā§‡āϟāĻŋāĻ•ā§āϝāĻžāϞ āχāϕ⧁āϝāĻŧ⧇āĻļāύ

āĻĒā§āϰāϤāĻŋāĻĻāĻŋāύ āϕ⧋āύ āύāĻž āϕ⧋āύ āϏāĻŽāĻ¸ā§āϝāĻžāϰ āϏāĻŽā§āĻŽā§‚āĻ–ā§€āύ āĻšāĻšā§āĻ›āĻŋ āφāϰ āĻāĻ•āϟ⧁ āϗ⧁āĻ—āϞ āĻ•āϰ⧇āχ āϤāĻžāϰ āϏāĻŽāĻžāϧāĻžāύ āĻĒ⧇āϝāĻŧ⧇ āϝāĻžāĻšā§āĻ›āĻŋāĨ¤ āĻ“āϝāĻŧ⧇āĻŦ⧇ āĻŽā§āϝāĻžāĻĨāĻŽā§‡āϟāĻŋāĻ•ā§āϝāĻžāϞ āχāϕ⧁āϝāĻŧ⧇āĻļāύ āĻĒā§āϰāĻ•āĻžāĻļ āĻ•āϰāĻžāϰ āϜāĻ¨ā§āϝ āĻāĻ•āϟāĻž āĻ­āĻžāϞ⧋ āĻĒāĻŋāĻāχāϚāĻĒāĻŋāϰ āϞāĻžāχāĻŦā§āϰ⧇āϰ⧀ āĻĒ⧇āϝāĻŧ⧇āĻ›āĻŋāϞāĻžāĻŽ āĻ…āύ⧇āĻ• āĻĻāĻŋāύ āφāϗ⧇āĨ¤ āύāĻžāĻŽā§‡ PhpMathPublisherāĨ¤ āĻāϟāĻŋ āϚāĻžāχāϞ⧇ āϝ⧇ āϕ⧇āω āϤāĻžāϰ āύāĻŋāĻœā§‡āϰ āϏāĻžāχāĻŸā§‡ āϝ⧁āĻ•ā§āϤ āĻ•āϰāϤ⧇ āĻĒāĻžāϰ⧇āύāĨ¤ āĻ•āĻžāĻ°ā§āϝāĻ•ā§āϰāĻŽāϟāĻž āĻāχ āϰāĻ•āĻŽ, āφāĻĒāύāĻŋ āĻāĻ•āϟāĻž āύāĻŋāĻ°ā§āĻĻāĻŋāĻˇā§āϟ āĻĢāϰāĻŽā§āϝāĻžāĻŸā§‡ āϞāĻŋāĻ–āĻŦ⧇āύāĨ¤ āϝ⧇āĻŽāύ āϧāϰ⧁āύ a+b = d āϝāĻž āĻĒāϰ⧇ āĻāĻ• āĻŦāĻž āĻāĻ•āĻžāϧāĻŋāĻ• āχāĻŽā§‡āϜ āφāĻ•āĻžāϰ⧇ āϕ⧋āύ āĻĄāĻŋāϰ⧇āĻ•ā§āϟāϰ⧀āϤ⧇ āϏāĻ‚āϰāĻ•ā§āώāĻŋāϤ āĻšāĻŦ⧇āĨ¤ āĻ…āύāϞāĻžāχāύ āĻĄā§‡āĻŽā§‹ āĻĻ⧇āĻ–āϤ⧇ āĻĒāĻžāϰ⧇āύ āĻāĻ–āĻžāύ āĻĨ⧇āϕ⧇āĨ¤ āĻāĻ›āĻžāĻĄāĻŧāĻž āĻāχ āϞāĻžāχāĻŦā§āϰ⧇āϰ⧀āϟāĻŋ āϝ⧇ āϏāĻŦ āĻŽā§āϝāĻžāĻĨ⧇āĻŽā§‡āϟāĻŋāĻ•ā§āϝāĻžāϞ āĻ•āĻŽāĻžāĻ¨ā§āĻĄ (āχāϕ⧁āϝāĻŧ⧇āĻļāύ āϞ⧇āĻ–āĻžāϰ āϜāĻ¨ā§āϝ, āĻ•āύāϏ⧇āĻĒā§āϟ āĻ…āύ⧇āĻ•āϟāĻž āϞ⧇āĻŸā§‡āĻ•ā§āϏ āĻāϰ āĻŽāϤ⧋) āϏāĻžāĻĒā§‹āĻ°ā§āϟ āĻ•āϰ⧇ āϤāĻžāϰ āϞāĻŋāĻ¸ā§āϟ āĻāĻ–āĻžāύ⧇ āĻĒāĻžāĻŦ⧇āύāĨ¤

āϏāĻŦ āĻšā§‡āϝāĻŧ⧇ āĻŽāϜāĻžāϰ āĻŦā§āϝāĻžāĻĒāĻžāϰ āĻšāϞ⧋ āĻ•āĻŋāϛ⧁āĻĻāĻŋāύ āφāϗ⧇ āĻāχ āĻĻ⧇āĻ–āϞāĻžāĻŽ āĻāχ āϞāĻžāχāĻŦā§āϰ⧇āϰ⧀ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻ•āϰ⧇ āĻ“āϝāĻŧāĻžāĻ°ā§āĻĄ āĻĒā§āϰ⧇āϏ⧇āϰ āϜāĻ¨ā§āϝ āĻĻ⧁āχāϟāĻŋ āĻĒā§āϞāĻžāĻ—āĻŋāύāĻ“ āĻĒāĻžāĻ“āϝāĻŧāĻž āϝāĻžāĻšā§āϛ⧇āĨ¤ āĻ…āĻ‚āĻ• āĻŦāĻž āχāϕ⧁āϝāĻŧ⧇āĻļāύ āύāĻŋāϝāĻŧ⧇ āϝāĻžāϰāĻž āĻŦā§āϞāĻ— āϞāĻŋāĻ–āϤ⧇ āφāĻ—ā§āϰāĻšā§€ āϤāĻžāĻĻ⧇āϰ āϜāĻ¨ā§āϝ āφāĻļāĻž āĻ•āϰāĻŋ āĻāχ āĻĒā§āϞāĻžāĻ—āĻŋāύ āĻĻ⧁āχāϟāĻŋ āĻŦ⧇āĻļ āĻ•āĻžāĻœā§‡ āĻĻāĻŋāĻŦ⧇āĨ¤

āĻĄāĻžāωāύāϞ⧋āĻĄ āĻ•āϰ⧁āύ āϗ⧁āĻ—āϞ āĻ•ā§āϰ⧋āĻŽ ⧍

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

āϏāϤāĻ°ā§āĻ•āϤāĻžāσ āĻĨāĻžāĻ°ā§āĻĄ āĻĒāĻžāĻ°ā§āϟāĻŋ āϕ⧋āύ āϏāĻžāχāϟ āĻĨ⧇āϕ⧇ āφāĻĒāĻĄā§‡āĻŸā§‡āϰ āĻ­āĻžāĻ°ā§āϏāύ āĻĄāĻžāωāύāϞ⧋āĻĄ āύāĻž āĻ•āϰāĻžāχ āĻ­āĻžāϞ⧋āĨ¤ āĻļ⧁āϧ⧁ āĻĄāĻžāωāύāϞ⧋āĻĄ āĻ•āϰāĻžāϰ āĻšā§āϝāĻžāύ⧇āϞ āĻĒāϰāĻŋāĻŦāĻ°ā§āϤāύ āĻ•āϰ⧇ āĻĻāĻŋāϞ⧇āχ āφāĻĒāύāĻŋ āϝāĻĻāĻŋ āφāĻŦāĻžāωāϟ āĻĒ⧇āĻœā§‡ āϝāĻžāύ āϗ⧁āĻ—āϞ āĻ•ā§āϰ⧋āĻŽā§‡ āϤāĻžāĻšāϞ⧇āχ āĻĻ⧇āĻ–āĻŦ⧇āύ āύāϤ⧁āύ āφāĻĒāĻĄā§‡āϟ āĻāϰ āϜāĻ¨ā§āϝ āϏāĻžāĻ°ā§āϚ āĻ•āϰāϛ⧇ āĻāĻŦāĻ‚ āφāĻĒāĻĄā§‡āϟ āĻĨāĻžāĻ•āϞ⧇ āφāĻĒāύāĻžāϰ āĻ•āĻžāϛ⧇ āφāĻĒāĻĄā§‡āĻŸā§‡āϰ āϜāĻ¨ā§āϝ āĻ…āύ⧁āĻŽāϤāĻŋ āϚāĻžāχāĻŦ⧇āĨ¤

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

āφāĻŽāĻŋ āĻĒāĻĨ āϚāϞāĻŋ

āĻāχ āĻĒāĻĨ āϚāϞāĻž ,āϰāĻžāĻ¸ā§āϤāĻž-āϧ⧁āϞāĻž-āĻŦāĻžāϞāĻŋ-āĻ•āĻžāρāĻĻāĻž
āϰāĻŋāĻ•ā§āϏāĻžāϰ āϟ⧁āĻ‚āϟāĻžāĻ‚,āĻŦāĻ–āĻžāĻŸā§‡ āϛ⧇āϞ⧇āϰ āĻ—āϞāĻž āϛ⧇āĻĄāĻŧ⧇ āĻ—āĻžāύ āĻ—āĻžāĻ“āϝāĻŧāĻž āĨ¤
āĻāϰ āĻŽāĻžāĻā§‡ āϚāϞ⧇ āĻĒāĻŋāĻļāĻžāĻšā§‡āϰ āĻ•ā§ƒāĻ¤ā§āϤāύ āφāϰ āύāĻˇā§āϟāĻžāĻŽā§€ āĨ¤
āĻāϰāχ āĻŽāĻžāĻā§‡ āφāĻŽāĻŋ āĻĒāĻĨ āϚāϞāĻŋ,
āĻ•āϤāϗ⧁āϞ⧋ āϕ⧁āϕ⧁āϰ āφāĻŽāĻžāϕ⧇ āĻĻ⧇āϖ⧇ āϭ⧇āĻ‚āϚāĻŋ āĻ•āĻžāϟāϞ⧋ !!!

āĻĄāĻžāĻ¸ā§āϟāĻŦāĻŋāύ⧇āϰ āĻ‰ā§ŽāĻ•āϟ āĻ—āĻ¨ā§āϧ āφāĻŽāĻžāϕ⧇ āĻŦāĻŋāώāĻ¨ā§āύ āĻ•āϰ⧇
āĻ­āĻŋāĻ–āĻžāϰ⧀āϰ āφāĻ°ā§āϤāύāĻžāĻĻ āφāĻŽāĻžāϰ āĻŽāύ āĻ–āĻžāϰāĻžāĻĒ āĻ•āϰ⧇ āĻĻ⧇āϝāĻŧāĨ¤
āφāĻŽāĻŋ āψāĻļā§āĻŦāϰāϕ⧇ āĻ—āĻžāϞāĻŋ āĻĻ⧇āχ,
āφāĻŽāĻŋ āĻ•ā§āϞāĻžāĻ¨ā§āϤ āĻšāχ,āĻŦāĻŋāĻŽāĻ°ā§āώ āĻšāχāĨ¤
āĻāϰāχ āĻŽāĻžāĻā§‡ āφāĻŽāĻŋ āĻĒāĻĨ āϚāϞāĻŋ,
āĻ•āϤāϗ⧁āϞ⧋ āϕ⧁āϕ⧁āϰ āφāĻŽāĻžāϕ⧇ āĻĻ⧇āϖ⧇ āϭ⧇āĻ‚āϚāĻŋ āĻ•āĻžāϟāϞ⧋ !!!

āĻĻ⧇āĻ“āϝāĻŧāĻžāϞ⧇ āϰāĻ‚ āĻšāϝāĻŧ ,āĻĒā§‹āĻ¸ā§āϟāĻžāϰ āφāĻŦāĻžāϰ āϰāĻ‚,āφāĻŦāĻžāϰ āĻĒā§‹āĻ¸ā§āϟāĻžāϰ,
āĻ…āϏ⧁āϰ⧇āϰ āĻĒāĻĻāĻžāϘāĻžāϤ⧇ āϰāĻ•ā§āϤāĻžāĻ¤ā§āĻŽ āĻšāϝāĻŧ āĻĒāĻĨ,āφāĻŽāĻžāϰ āĻĒā§āϰāĻŋāϝāĻŧ āĻĒāĻĨāĨ¤
āĻ•āĻžāϞāĻŦ⧈āĻļāĻžāĻ–ā§€ āĻāĻĄāĻŧ āĻšāϝāĻŧ āĻĒā§āϰāϚāĻ¨ā§āĻĄ āĻļā§€āϤ⧇,āĻšāĻŋāĻŽ āĻšāϝāĻŧ⧇ āϝāĻžāϝāĻŧ āĻšāĻžāĻĄāĻŧ
āĻ…āĻ¨ā§āϝāĻĻāĻŋāϕ⧇ āĻŽāĻžāύ⧁āώ āύāĻ—ā§āύ āĻšāϝāĻŧ,
āĻ…āĻļā§āϞ⧀āϞ āĻŦāĻžāĻ¨ā§āĻĻāϰ āϗ⧁āϞ⧋ āφāĻŽāĻžāϰ āϚāϞ⧇āϰ āĻĒāĻĨ⧇ āĻ•āĻžāϟāĻž āĻĻ⧇āϝāĻŧ,
āĻāϰāχ āĻŽāĻžāĻā§‡ āφāĻŽāĻŋ āĻĒāĻĨ āϚāϞāĻŋ,
āĻ•āϤāϗ⧁āϞ⧋ āϕ⧁āϕ⧁āϰ āφāĻŽāĻžāϕ⧇ āĻĻ⧇āϖ⧇ āϭ⧇āĻ‚āϚāĻŋ āĻ•āĻžāϟāϞ⧋ !!!