Change post a request page title

I have customised my add a listing page title to say “advertise your business”, i have just installed the requests plugin and when a user clicks post a request the page title says “advertise your business” how can i change just this title to say “post a job request”,

thanks.

Hi,

Please use this PHP snippet (How to add custom code snippets - HivePress Help Center):

add_filter(
	'hivepress/v1/routes',
	function( $routes ) {
		if(isset($routes['listing_submit_details_page'])){
			$routes['listing_submit_details_page']['title'] = 'Add listing details';
		}
		
		if(isset($routes['request_submit_details_page'])){
			$routes['request_submit_details_page']['title'] = 'Add request details';
		}

		return $routes;
	},
	1000
);

I believe this will be useful to you.

P.S. If you purchased a theme or extension, please enter the license key in the forum profile settings, this will enable the Premium Support badge and ensure a 24-hour turnaround time.

thanks

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