Display Users and user url’s

You could take a look at the contributors function included in Twenty Fourteen if ( ! function_exists( ‘twentyfourteen_list_authors’ ) ) : /** * Print a list of all site contributors who published at least one post. * * @since Twenty Fourteen 1.0 */ function twentyfourteen_list_authors() { $contributor_ids = get_users( array( ‘fields’ => ‘ID’, ‘orderby’ => … Read more

Should I use MultiSite for a subdomain based wp site?

As stated your use case seems suitable: multiple sites — check shared users — check WP multisite does this. However there aren’t that many details in your question beyond that. It is a guesswork to recommend for or against it for such a complicated site, without knowing requirements thoroughly.

Subscriber role – blank page

I found an answer. It is because the WooCommerce plugin which prevents users without edit_posts capability to display dashboard. Well, I think they should let you know that they are making this kind of change in WordPress default settings. Because you are not able to turn it off in WooCommerce settings.

force registered user as seller

I would hook into user_register similarly to how you hooked into gform_post_submission_1 before. For example: add_action( ‘user_register’, ‘awesome_function_name’, 10, 1 ); function awesome_function_name( $user_id ) { // Conditional logic for testing user role update_user_meta( $user_id, ‘dokan_enable_selling’, ‘yes’ ); } For your conditional logic, if you’re trying to make every role do this except customer I … Read more

Username has been exposed

Yes, the links will always be accessible unless you disable them on your htaccess or a PHP file. If you don’t have any author page, probably the users (or bots) that are reaching this page are seeing your index page. I highly recommend you install Google Analytics code on your website to track what your … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)