Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM How to remove property address and type from property unit in WP Estate

This topic contains 0 replies, has 1 voice, and was last updated by  Camelia Support Team – WP Estate 2 years, 1 month ago.

  • Author
    Posts
  • #123203

    From prop-listing.php

    remove or comment

                <div class="article_property_type"><?php  print $property_address.', '.$property_city; ?> </div>
                <div class="article_property_type">
                    <?php echo get_the_term_list($post->ID, 'property_category', '', ', ', '');?> 
                    <?php $action_list= get_the_term_list($post->ID, 'property_action_category', '', ', ', '');
                        if($action_list!=''){
                            print __('in','wpestate').' '.$action_list;
                        }
                    ?>
                </div>
    

    From prop-listing-ajax.php

    remove or comment

                <div class="article_property_type"><?php  print $property_address.', '.$property_city; ?> </div>
                <div class="article_property_type">
                    <?php echo get_the_term_list($post->ID, 'property_category', '', ', ', '');?> 
                    <?php $action_list= get_the_term_list($post->ID, 'property_action_category', '', ', ', '');
                        if($action_list!=''){
                            print __('in','wpestate').' '.$action_list;
                        }
                    ?>
                </div>
    

     

    That is in shortcodes.php

    You have this title

    /// shortcode – recent post with picture

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////..

    Below you have the recent items shortcode.

    Remove this code that you find below this title

     $return_string .='<div class="article_property_type">'.$property_address.', '.$property_city.' </div>';
                $return_string .='<div class="article_property_type">'
                                  .get_the_term_list($post->ID, 'property_category', '', ', ', '').' '.__('in','wpestate').' '.get_the_term_list($post->ID, 'property_action_category', '', ', ', '').'
                                  </div>';
    

     

You must be logged in to reply to this topic.