August 5th in Wordpress by pbu .
Getting the category ID of inside of category.php or archive.php seems very easy, i struggled 3hrs to get this working.
I wanted to put up a custom query_posts() function inside category.php and the only way it works is
$cat = get_query_var(‘cat’)
You have to combine this with query_posts function
query_posts(‘cat=’.get_query_var(‘cat’) . ‘&posts_per_page=3′);
Amazingly simple isnt …
August 4th in Wordpress by pbu .
For many reasons to run a gallery or a slideshow you will need to know attachment ID of the photo or image you uploaded.
It is very easy to find out attachment id. Just click on picture > gallery > click on the show > then place your mouse above the …
July 30th in Wordpress by pbu .
I have been long time a fan of photo slideshows rather using photo gallery because it conserves so much space. It has really given me a lot of goose chase in search of some of the best available wordpress plugins to perform a photo slideshow in my blog. I …
July 29th in Wordpress by pbu .
If you have a category tree in your site and often you might be needing to output both child and parents in your category page template (ex: category.php or archive.php). It can be tweaked to work like as breadcrumbs.
I will show you a very easy way on how to …
July 28th in Linux/Unix by pbu .
Most linux system administrators prefer to use commandline for most of the time and i have always struggled to use ftp commands to upload and download backup tar gz files. That is why i decided to post it here. I know how important it is to know these commands in …
July 27th in Money & Finance by pbu .
Has anybody noticed this issue with hdfc netbanking?
i have been quietly noticing this for the past 2 months and i am unable to use hdfc netbanking to make bill payments online.
i regularly make bill payments online from my hdfc bank account to airtel, tata indicom, vodafone and now all i …
July 23rd in Wordpress by pbu .
The slideshow of NexGen Gallery plugin never really worked no matter how many times i followed the installation procedure. i downloaded and placed the imagerotator.swf in wp-content/uploads folder and the plugin kept on throwing this error with everything seems ok. i did use the latest version of the plugin and …
July 20th in Wordpress by pbu .
i have been struggling with querying posts using tags and have found no solutions whatsovever. My idea is to query all wordpress posts having the same tags using query_posts and this just not working and giving weird results
query_posts(‘cat=-53&tag=best php scripts’);
query_posts(‘cat=-53&tag=best+php+scripts’);
query_posts(‘tag=best,php,scripts’);
and tried every combination and it seems to be issue with …
July 19th in Wordpress by pbu .
I was working on a wordpress review project and was so fascinated with the GD star rating plugin and i felt one real aspect missing. When a rating or review was not given in the post, the default it shows as zero. i want those posts which are not reviewed …
July 9th in PHP Scripts by pbu .
There has been a lot of talk on the Web regarding the Eclipse IDE which is regarded as the best editor and IDE for PHP and javascript development and other languages including.
i did give a try on the the new kit and later realized that the latest version …