Join our new community forum for support & discussion

Join Now

Home Support Themes ExpertHive Location field again between the name field and the last name field

Location field again between the name field and the last name field

  • Author
    Posts
  • Terry_tip

    Hello again team, since you enabled the geolacation for the vendors in the update, the location field in the vendor profiles is now again between the name field and the last name field, when there are registering their accountšŸ™

    I need to add it below the last name field.

    Terry_tip

    And i have another minor question, can i add a description to other fields like TITLE and PRICE in the page where the vendors fill the info of theirs announces.

    For explample, in the image below you can see that Booking Offset has a little description below that says: Set how many days are required to…

    https://1drv.ms/u/s!AhIN4iKpPQe5g9FTq6rNLBqyQNNcVg?e=quh9wQ

    yevhen developer

    1) Thank you for reporting it. We are already working on it and it will be fixed in the next extension update. As a temporary fix, you can try this PHP snippet

    add_filter(
    	'hivepress/v1/forms/vendor_update',
    	function( $form ) {
    		if(isset($form['fields']['location'])){
    			$form['fields']['location']['_order'] = 35;	
    		}
    		return $form;
    	},
    	1000
    );

    2) Please try this PHP snippet

    add_filter(
    	'hivepress/v1/forms/listing_update',
    	function( $form ) {
    		
    		// Set description for Title field.
    		if(isset($form['fields']['title'])){
    		  $form['fields']['title']['description'] = 'custom text here';
    		}
    		
    		// Set description for Price field.
    		if(isset($form['fields']['price'])){
    		  $form['fields']['price']['description'] = 'custom text here';
    		}
    
    		return $form;
    	},
    	1000
    );
    Terry_tip

    Thanks Yvhen, can i also add the descriptions to the category and availabilty selection fields?
    These ones:

    https://1drv.ms/u/s!AhIN4iKpPQe5g9FUo1BkRhgHpdPWuQ?e=OIF7ge

    2) Is there a way i can hide some of these booking options:

    https://1drv.ms/u/s!AhIN4iKpPQe5g9FVbVkQW1DOx_PsPA?e=ji94ow

    Thanks again!

    ihor developer

    If this issue is not resolved, please post a new topic here https://community.hivepress.io/ This forum will be switched to read-only soon. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.