• Nelson
    August 8, 2014 at 4:07 pm #60058

    Hello Anna,

    I have set the new user registrtion not to be agents but now I notice that in the normal user list does not display the ammount of properties submited by that user.

    My question is: How easy it would be to make regular users agents or how to diaplay in the normal user list the amount of properties submited.

    Thanks in advance.

    August 12, 2014 at 8:54 am #61691

    Hi Nelson,

    I don’t know if we can display the properties submitted in Admin – Users.

    That’s where you wish to see that? As admin, correct?

    I will ask my partners and follow up on this in 1-2 days.


    August 13, 2014 at 11:11 am #62250


    It’s not a simple thing and if you have lots of users can be demanding on database.

    Basically for each user you need to count the number of published listings. That means for each user you need to do a wp_query which again can reduce the speed of the site. If you still want this you can do it in agent_unit.php using the WP_QUERY instruction (http://codex.wordpress.org/Class_Reference/WP_Query)

    Good luck,

You must be logged in to reply to this topic.