Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Realtyna

    (@realtyna)

    Hello,

    Thanks for using WPL. For this you should customize property show layout of WPL. Please find this KB article: https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/549/

    If you cannot do it yourself please open a private ticket here and let us know to provide you a quote for developing this as a customization project.

    Regards,
    Realtyna support team

    Thread Starter lanztuss12

    (@lanztuss12)

    Hi, I think your answer is not related to my question. i just want to edit the widget from the right and only edit what field must be included in the widget. your answer is referring on house to customize the agents widget section

    Thread Starter lanztuss12

    (@lanztuss12)

    hi, i already figured it out. i just deleted the part that i dont want to show.

    <?php if($price_type): ?>
    <li><?php echo __($this->wpl_properties['current']['materials']['price_period']['name'], WPL_TEXTDOMAIN).' : <span>'.$price_type.'</span>'; ?></li>
    <?php endif; ?>

    but how can i add new field?

    I just edit the code, i want to show the floor area that i created.

    <?php if(trim($floor_area) != ''): ?>
    <li><?php echo __($this->wpl_properties['current']['materials']['floor_area']['name'], WPL_TEXTDOMAIN).' : <span>'.$floor_area.'</span>'; ?></li>
    <?php endif; ?>

    but nothing shows

    Thread Starter lanztuss12

    (@lanztuss12)

    hi, i already figured it out. i just deleted the part that i dont want to show.

    <?php if($price_type): ?><li><?php echo __($this->wpl_properties['current']['materials']['price_period']['name'], WPL_TEXTDOMAIN).' : <span>'.$price_type.'</span>'; ?></li><?php endif; ?>
    but how can i add new field?

    I just edit the code, i want to show the floor area that i created.

    <?php if(trim($floor_area) != ''): ?><li><?php echo __($this->wpl_properties['current']['materials']['floor_area']['name'], WPL_TEXTDOMAIN).' : <span>'.$floor_area.'</span>'; ?></li><?php endif; ?>

    but it didn’t appear

    Plugin Author Realtyna

    (@realtyna)

    Hello,

    You shouldn’t modify core files because it will overwrite in the next update of WPL. You should override core layout file to your child theme and then modify the overridden file: Please check this KB article for this: https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/549/

    For printing new value you should find the key in the $this->wpl_properties[‘current’] variable and then print related column. It needs development knowledge.

    Regards,
    Realtyna support team

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @lanztuss12, When posting on these forums you are presented with a “code” button. Highlight all of your code and press that button. Alternatively, manually add backticks around your code as per instructions below the comment textbox.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add field or edit in agent widget section’ is closed to new replies.