Posts Tagged ‘tips’

View hidden files using Total Commander

Saturday, January 7th, 2012

Do you have problems viewing hidden files like .htaccess while connected on a web server with Total Commander? There is a simple setting which solves the problem. Net > FTP Show Hidden Files. Click on the image below to enlarge.

total commander hidden files 300x264 View hidden files using Total Commander

Good luck!

WordPress: Remove or replace parentheses from Category Counts (wp_list_categories)

Wednesday, June 8th, 2011

You can learn the basics about the wp_list_categories() function from the WordPress Codex.

By default this function will not show up the post count, but if you will activate it by show_count=1, the post count will be surrounded by parentheses. To remove the parentheses without modifying the WordPress core files, you need to use the following code:

<?php
$variable = wp_list_categories('echo=0&show_count=1&include=1,2,3,4,5&title_li=');
$variable = str_replace(array('(',')'), '', $variable);
echo $variable;
?>

(more…)

How to create a filter in Gmail?

Wednesday, November 17th, 2010

In the last days I received lots of spam in my Google Mail account. I am pleased with the Gmail spam filter, but it’s annoying to see the number of the unread spam messages in the left bar. They have that bold font and they are almost screaming that “Hey man, we are here and we know that we are peeving you!“. Also I observed, that most of them are received from the same domain. It means that the local-parts (read Email address from Wikipedia for reference) of the email adresses were composed by words like: asdfgbvd, fgshdkis.

Initially I created many filters by selecting the spam emails and then clicked on More actions » Filter messages like these. But after some days, the filters list became too long and often were included also unwanted sender addresses like my own address, as nowadays many email spam bots are filling out the sender name box with the recipients address. So the best way is to create one single filter. In the following rows I will show you how easily can create a filter in Gmail.

(more…)