Home Support Themes ListingHive Question about removing add image from add listing form

Question about removing add image from add listing form

  • Author
    Posts
  • Peter John

    Hi,

    How can I remove the add image option from the add listing form? I only want the details shown without the above image as listing.

    Peter John

    @ihor thank you for your reply.

    Could you tell me in which file I have to place the CSS and PHP script? Because it’s totally unclear to me.

    CSS:
    .hp-listing–view-block .hp-listing__header { display:none; }

    PHP:
    add_filter(
    ‘hivepress/v1/forms/listing_update’,
    function( $form ) {
    unset( $form[‘fields’][‘images’] );

    return $form;
    }
    );

    ihor developer

    You can add custom CSS code to Appearance/Customize/Additional CSS section. For PHP snippets you can try using this plugin https://wordpress.org/plugins/code-snippets/ or create a child theme if you’re a more advanced user and plan to make a lot of customizations.

    Peter John

    @ihor It works! Thank you so much for your help!!!

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

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.