2,324 reputation
1825
bio website github.com/rrikesh
location Mauritius
age 28
visits member for 1 year, 10 months
seen 19 hours ago

Apr
13
comment Notice: Trying to get property of non-object in : custom fields category
I just noticed that you're calling get_query_var outside the loop, can you try to move it just after the line with while ( have_posts() ) : the_post(); ?
Apr
13
comment Notice: Trying to get property of non-object in : custom fields category
Returning false means that the taxonomy does not exist or the term was not found. Double check if the term exists and the names that you are using are right.
Apr
10
comment Obtain page data and use regular loop
You should accept the answer if it fixed your problem.
Apr
10
comment Conditional IF statement not returning true even though echo of $user->province is correct
It's good practice to use === as it also checks for the type of that variable. But for non empty strings it won't make any difference. stackoverflow.com/questions/1281664/…
Apr
10
comment Conditional IF statement not returning true even though echo of $user->province is correct
How will this make a difference?
Apr
4
comment Saving Plugin settings to the database
You don't need to serialize() and unserialize() data when using get_options() and update_options()
Apr
3
comment Handling an Ajax form submit
For Chrome stackoverflow.com/questions/4939172/…
Apr
3
comment Handling an Ajax form submit
If you're using Firefox and Firebug getfirebug.com/network
Apr
3
comment Handling an Ajax form submit
Whenever you make an Ajax call, you'll see the request, the parameters and the response to that request.
Apr
3
comment Handling an Ajax form submit
@Bob Did you have a look at your Network Tab in the Browser's console?
Apr
3
comment Handling an Ajax form submit
Thanks @Howdy_McGee. @Bob, both a.button and .button are referring to the same element here.
Apr
3
comment Handling an Ajax form submit
What do you mean by button? the <button> element? Could you post more of your code?
Apr
2
comment Directly using pure JWPlayer JS (but NOT WP Plugin)
@シリウス codex.wordpress.org/Function_Reference/wp_enqueue_script
Mar
20
comment Obtaining the original unchanged Theme
Learn to use Child Themes instead
Mar
19
comment Obtaining the original unchanged Theme
AFAIK, some of their old themes used Tim Thumb. Giving away an old version means giving away a vulnerable theme.
Mar
10
comment Is there any Reference of Wordpress hook and hacks?
read the Codex: codex.wordpress.org
Mar
6
comment Loop the posts between two dates selected using jquery datepicker
Date parameters in WP_Query: codex.wordpress.org/Class_Reference/WP_Query#Date_Parameters. You can pick up the values using a form submit or Ajax.
Mar
6
comment Ajax Contact form plugin
Go through your source code on the browser and see if the JavaScript file is there.
Mar
4
comment Embed a Reveal.js presentation in Wordpress page
It's just a matter of making a custom page template and adding the JS and CSS, right?
Feb
20
comment Blank line before doctype
You don't need to close php tags. What WordPress version are you using? wp-config.php does not have a closing tag by default.