2,750 reputation
31329
bio website rrike.sh
location Mauritius
age 30
visits member for 3 years
seen 20 hours ago

1d
awarded  Famous Question
Jun
22
awarded  Popular Question
Jun
20
awarded  Yearling
Jun
11
awarded  Notable Question
Jun
11
awarded  Publicist
Apr
17
revised how to stop wordpress admin menu from scrolling with page
Cleaned up question.
Mar
25
comment Plugin init hook fires repeatedly
Your dashboard regularly makes Ajax requests, that's triggering the init most probably. Have a look at the network tab.
Mar
13
awarded  Autobiographer
Feb
23
comment Why won't my custom widget stay in the sidebar after a reload?
Using the class name is a valid, but old way to have a constructor.
Feb
16
reviewed Approve Random post category URL
Feb
16
reviewed Approve Pagination not working in custom post page
Feb
15
comment WP_query is not returning the expected result
Also, unrelated to your question, You should hook wp_enqueue_script() and wp_localize_script() as shown in the Codex codex.wordpress.org/Function_Reference/wp_enqueue_script
Feb
15
comment WP_query is not returning the expected result
Have you checked the network tab(or your console.log()) for what is being returned from the Ajax call? You should be using get_the_title() instead of the_title() by the way. the_title() echoes the title, and this might be breaking your response.
Feb
5
comment Make a WP Query search match exactly the search term
possible duplicate of Wordpress search exact match
Jan
27
comment Turn Autocomplete on
That's exactly what the plugin is meant to do...
Jan
26
comment Turn Autocomplete on
I tried and it works. If you don't see the autocomplete="off", it's working.
Jan
25
comment Wordpress Plugin development Call to undefined function jQuery()
@pSyToR The document ready should go into the JS file, not the PHP.
Jan
25
comment Wordpress Plugin development Call to undefined function jQuery()
Note that it should be js/my-script.js instead of /js/my-script.js because the value returned by plugins_dir_url() already has a trailing slash.
Jan
25
comment Wordpress Plugin development Call to undefined function jQuery()
Yes, the question itself is confusing.
Jan
25
comment Turn Autocomplete on
By default, all fields "have" autocomplete="on". Removing autocomplete="off" is the same as having autocomplete="on"