Join our new community forum for support & discussion

Join Now

Home Support Extensions Paid Listings Add text on /submit-listing/package/ & change URL name

Add text on /submit-listing/package/ & change URL name

  • Author
    Posts
  • kanazenda

    hi

    1. I would like know if it’s possible to add text under the list package, on the page /submit-listing/package/ and how to add it.

    2. Is it possible to change the URL’s name

    yevhen developer

    1) Please try this PHP snippet:

    add_filter(
    	'hivepress/v1/templates/listing_submit_package_page',
    	function( $template ) {
    		return hivepress()->helper->merge_trees(
    				$template,
    				[
    					'blocks' => [
    						'page_content' => [
    							'blocks' => [
    								'custom_content' => [
    									'type'    => 'content',
    									'content' => '<p>Your content</p>',
    									'_order' => 20,
    								],
    							],							
    						],
    					],
    				]
    			);
    	}
    );

    2) It is possible, but requires some code tweaks, please check this topic for example https://hivepress.io/support/topic/slug-account-submit_listing-and-respective-descending-pages/

    kanazenda

    Thanks. Where I need to install the snippet? Fonction.php?

    yevhen developer

    Please try adding this code snippet via the Code Snippets plugin https://wordpress.org/plugins/code-snippets/

Viewing 4 posts - 1 through 4 (of 4 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.