240 reputation
210
bio website ootooban.com
location Tehran, Iran
age 24
visits member for 3 years, 4 months
seen Oct 22 at 15:50

An enthusiast web developer. I also dwell a little in Android.


Apr
7
comment New posts label category with “new”
I guess calculating if there is a new post in category on demand would be an intensive task. I suggest you store the time of the last post in each category as an option upon post submit. This way you can have what you need in a matter of one function call.
Apr
7
comment How to load a different theme for categories?
Ehem, nobody knows how?
Apr
6
comment How to load a different theme for categories?
Consider that I have both themes previously made and ready. I just want to load the second theme for my categories and I don't want to spend time on accommodations. Thanks.
Oct
6
comment How to update custom image sizes?
+1... Nice point.
Oct
6
comment How to update custom image sizes?
My problem is exactly with AJAX Thumbnail Rebuild. It uses the old image size.
Oct
6
comment How to update custom image sizes?
I prefer not to use a plugin in this case. Thanks anyway.
Oct
6
comment How to add php within jquery
More explanation: What you need to do is just save your code as a php file and then use it as you would use a simple js file. I don't know how to say it more clearly.
Oct
6
comment How to add php within jquery
Ahhhh... I'm not sure I understand what you said. The whole point is that using php in javascript is a common practice. When you include javascript file using <script src=... the content is considered javascript code and therefor treated as such.
Oct
5
comment Is it wise to delete post revisions and autosaves from database?
Can I ask why? I have a question and it's not off-topic and it also is constructive for me.
Oct
5
comment Is it wise to delete post revisions and autosaves from database?
Well in some rare cases what you said might be true, but in a usual Wordpress installation I don't think they're of much use.
Sep
25
comment How to use multiple database in wordpress?
It's not Hamid, my name is Hamed. And you are welcome. You might as well check this answer as the correct answer.
Sep
23
comment How To Create User Specific Admin User Pages?
Please explain why the downvote?
Sep
23
comment I need a custom search page to lead to search.php but it goes to index.php
Well I guess there a number of other hooks that can be used for this but init works for me. Simply stating it's wrong will not help anyone. Please explain why you think it's wrong.
Sep
22
comment Pagination stays on same page for post category
I suggest you read Querying Posts Without query_posts. Using query_posts is not a very good idea.
Sep
22
comment I need a custom search page to lead to search.php but it goes to index.php
You're absolutely welcome.
Sep
19
comment Wrong user registration date in wordpress
I tried deactivating every plugin and theme installed on wordpress to no avail.
Sep
19
comment How do I display the index position of a post from a custom post type?
You mean pagination? What exactly do you mean by index position?
Sep
18
comment Wrong user registration date in wordpress
It can't be. It happens when a new user registers. I mentioned it happens even from the admin panel.
Sep
1
comment How to retreive terms associated with a custom post type?
I don't understand what are you saying?
Sep
1
comment How to retreive terms associated with a custom post type?
Yes, I'm sure I have.