Reputation
8,676
Next privilege 10,000 Rep.
Access moderator tools
Badges
3 11 26
Newest
 Yearling
Impact
~212k people reached

2h
comment How to disable https from wordpress site?
Any of this instructions?
4h
comment How to disable https from wordpress site?
How have you done the migration between domains?
4h
reviewed Approve custom meta boxes to dispay for specific categories
1d
revised Issues trying to get an element by id
edited title
1d
comment How to make CPT posts to be randomly ordered every single time they are loaded?
I want to be honest, and I want to help also, that why I asked where do you need to display the custom post type in random order; you didn't reply. Without that information, @AricWatson answer is fine.
1d
comment How to make CPT posts to be randomly ordered every single time they are loaded?
Then, if "you don't even know where to place a code right now" and "the site needs to be ready in less than 24", what you need is to hire someone to do the job.
1d
comment How to make CPT posts to be randomly ordered every single time they are loaded?
Anyway, where do you want the random order. In the blog archive of the custom post type? In a custom query or secondary loop? Anywhere, anytime? You could start by searching on this site.
1d
comment How to make CPT posts to be randomly ordered every single time they are loaded?
It is not annoying for me. But you should, at least, try to investigate by yoursefl how to do it before to ask someone else how to do it. If not, in my opinion, you fall in the "do the job for me" kind of questions. I you have not done any reasearch, it is like you just want a working code.
1d
comment How to make CPT posts to be randomly ordered every single time they are loaded?
Have you tried or investigated something or just "want to do it".
1d
revised How to enqueue JavaScripts in a plugin
added 183 characters in body
1d
answered How to enqueue JavaScripts in a plugin
1d
comment How to enqueue JavaScripts in a plugin
Third parameter of wp_enqueue_script() is to declare the script dependencies. The fifth paramater is the one to choose if you want to load the script in the footer or in the header. Anyway, I don't think th place to loaded makes any difference.
1d
revised How to enqueue JavaScripts in a plugin
edited tags; edited title
1d
comment Run JS Code on userlog out
Of course you are storing a value key, but is it private? Does it belongs only to current logged in user? Maybe you need sessionStorage instead of localStorage? Anyway, see @MarkKaplun's answers, I think he is right.
1d
comment How to create new post content templates for my users?
Yes, it is possible. But, where exactly do you need help?
1d
reviewed Reject prevent users from changing their email address
1d
comment Strange issue with custom fields not showing data for certain posts but working fine on others
Please, add the full code to the question. Simple or not, seeing the code is the only way we can answer your question. I hope you understand it.
1d
comment Strange issue with custom fields not showing data for certain posts but working fine on others
Please, add the code that is not working, that is, the code you use to display the fields, otherwise it is impossible to answer the question.
1d
comment Run JS Code on userlog out
Can you explain what you are trying to do? I think it is possible that you are using localStorage in a wrong way (your question suggests that you are using it to store private data).
1d
comment Run JS Code on userlog out
Also, if the logout is performed through logout url, a HTTP redirection occurs right after wp_logout() is executed, so, the JavaScript in wp_logout action is never sent to the browser.