I would like to modify the template code for the add listing form

I would like to modify the template code for the add listing form to allow users to access it without requiring registration. However, I have been unable to locate the specific template for the add listing form. Could you please guide me on where to find this template?

Thank.s

PS : I have try this code but it did not work as I might be missing the right naming of somes class :

add_filter( 'hivepress/v1/models/listing', function( $model ) {
    $model['register_submit'] = false; // Disable registration requirement
    return $model;
} );

Hi,

Unfortunately, there is no simple PHP snippet for this, it will require advanced customization. We recommend that you consider simple registration, for example, using Social Login: Social Login - Allow users to sign in via third-party platforms | HivePress Extensions

Thank for your answer. But I just need to know where to locate the code of the add listing form. Can you inform on that please ?

I already bought the Social Login extension but for others usages.

Thanks.

Hi,

There is no general guidance for this because this customization will require changes to the framework.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.