When Bangladesh captain Shakib Al Hasan turned up for the post-match presentation, the small crowd at the Zahur Ahmed Chowdhury Stadium welcomed him by clapping. The performance of the all-rounder in the first Test was nowhere near expectation. Rather his poor decision to field first on a placid track had added some extra burden on the young Bangladesh skipper. The surprise ‘retirement’ of Rokibul Hasan on the eve of the match didn’t help Shakib’s cause either. So, it was his
Read more

While I was working on a WordPress template today, I needed to find the current page’s post_slug. After investigating the function is_single in wp-includes/query.php, I discovered the following method for determining the current page ID, post title, or post name:
Read more

Magento vertical category menu with the code adapted from this thread. It’s quite easy to implement and to make it even easier for others. * Add a new block type in “catalog.xml” file * Create a new phtml file and name it “leftnav.phtml”, place it inside catalog/navigation * Edit CSS Add a new block type in “catalog.xml” file Here we presume you want to have the vertical category menu shows up on every page, to do so, we will place
Read more

Just Copy the wp default sidebar and rename with different like sidebar-new.php Open functions.php file add the extra code(bellow) in default function. and your final code will show like this For dynamic you have to change a little code from sidebar-new.php Just change Finally you just include sidebar-new.php file to your selected template. example And enjoy with dynamic site.
Read more