341 reputation
1317
bio website
location Sri Lanka
age
visits member for 1 year, 8 months
seen Oct 10 '13 at 16:50

Jan
18
comment What's the easiest way to stop WP from ever logging me out
YEAR_IN_SECONDS can be used instead 31556926. There are other constants too. (See wp-includes/default-constants)
Jan
10
comment Show a user their recently viewed posts
I updated an answer, you might find it useful. wordpress.stackexchange.com/a/63272/19683
Jan
8
comment How to get all images url from gallery?
You've asked this again in another question. See bungeshea's answer. wordpress.stackexchange.com/a/78636/19683
Jan
7
comment How to get all images url from gallery?
Did you try 'post_gallery' filter hook? wordpress.stackexchange.com/questions/4343/…
Jan
1
comment Security - Ajax and Nonce use
Your approach is OK. $id is used for switching only in your visible code. If you are going to use it in your processing you need to sanitize it. Your output should be properly escaped too. See codex.wordpress.org/Data_Validation
Jan
1
comment how can I create a WP offline environment before releasing the websites?
See wordpress.stackexchange.com/questions/2171/… too.
Dec
30
comment Sorting WP Auctions by date/price?
See the updated answer.
Dec
30
comment Sorting WP Auctions by date/price?
I forgot to change my_action to something unique. Change it in functions.php and to the same in your template file. See the updated answer.
Dec
30
comment Sorting WP Auctions by date/price?
Try adding die(); after echo statement. From Codex die(); // this is required to return a proper result. I updated the answer too.
Dec
29
comment Custom post query by taxonomy
Did you try 'tax_query' codex.wordpress.org/Class_Reference/…
Dec
9
comment Retrieving links and names of images from a NextGEN gallery
Did you echo the function output? echo wp75475_imagelist();
Dec
9
comment Retrieving links and names of images from a NextGEN gallery
Yes, that is possible. (in /yourthemefolder/nggallery/imagebrowser.php)
Aug
27
comment Setting Variable Path to Template Directory inside Script
Thanks. this is the exact answer I was looking after. I just couldn't find it. Thanks martinCzerwi!
Aug
27
comment Setting Variable Path to Template Directory inside Script
Yes that method works. But script is somewhat long and I prefer an alternative method..
Aug
27
comment Setting Variable Path to Template Directory inside Script
@Mamaduka No. It is just a POSTing to the MailHandler.php
Aug
27
comment Setting Variable Path to Template Directory inside Script
@HameedullahKhan it does not work that way. I tried...