This is a jquery bug, I will try to fix this

I am asking something similar here: http://anspress.io/questions/question/525/can-i-make-it-so-only-admin-can-answer-questions/

How much would that cost approximately? Right now we just want users to be able to login and ask questions. No answers. Also need to be able to see answers only if logged in. Feel free to email me with your answer. Thanks, Matt

Yes you can hold question and answers for moderation. But other features not possible yet. But if you wish we can do customization for you.

Ok I will try

https://wordpress.org/support/profile/alexandruias

thanks man my user name sm_rasmy in wordpress org

thanks man but this code gave me this result object(stdClass)#800 (9) { [“publish”]=> string(1) “5” [“future”]=> int(0) [“draft”]=> string(1) “1” [“pending”]=> int(0) [“private”]=> int(0) [“trash”]=> string(1) “1” [“auto-draft”]=> int(0) [“inherit”]=> int(0) [“moderate”]=> int(0) }

There is mistake in your code, use this: <?php $count = wp_count_posts('question'); echo var_dump($count); ?>

wordpress didnt use this parameter any more default_avatar so it gaves this error any way it dosnet afeect any thing this is just used to assign defult avatar for anspress users you can always chose the defult or any memeber that logged i by social login the avatar will be his profile picture