Join our new community forum for support & discussion

Join Now

Home Support Extensions Paid Listings “/submit-listing” page php-file

“/submit-listing” page php-file

  • Author
  • ralphnohe

    Hi HivePress tea,
    Where can I find the php template file for the “submit-listing” page?

    ihor developer

    There’s no single PHP file, there are template parts and blocks combined into a single template, also the submit listing page consists of multiple subpages, for example “Select Category”, ‘Add Details”, etc. and each page has its own template. Here’s a sample code snippet showing how to insert custom content into the “Add Details” page Hope this helps.


    hi ihor,

    what I’m trying to do is to add a shortcode to the submit listing page, so that users who aren’t logged in have two options: 1) sign in (if account exists), 2) register (here the shortcode would apply, which is simply inserting a PMP Pro membership selection block).
    Right now, I have added the “submit-listing” link in my menu. Once a non-logged-in user clicks that link, he is redirected to the following URL:

    The page then displays only the sign-in form, and I’d like to add the shortcode right below that.
    How can I accomplish that?

    Thanks, I appreciate your great support.


    p.s. I intend to insert
    echo do_shortcode( 'shortcode_here');
    The main is question is only: where exactly. Thanks!

    ihor developer

    Please try this PHP snippet, it adds custom content below the login form:

    	function( $template ) {
    		return hivepress()->helper->merge_trees(
    				'blocks' => [
    					'page_content' => [
    						'blocks' => [
    							'custom_content' => [
    								'type'    => 'content',
    								'content' => 'custom content here',
    								'_order'  => 100,

    Thank you Ihor, this works, appreciate it!

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