WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Change Title on Banner

[Resolved] Change Title on Banner

Viewing 1 replies (of 1 total)
  • Plugin Author thinkeryllc
    Member

    @thinkeryllc

    Hi – sorry for the delay. This feature is currently not available for the WP version, only in the Joomla version. A simple workaround would be to edit the banners in the following files:

    plugins/iproperty/views/_compact_property.php
    plugins/iproperty/views/single_property.php

    for example, check if the sale type = sold, and if so, create a sold banner instead of the updated or new banner:

    <?php if ( $property->get_sale_type_name() == 'Sold' ) : ?>
    <div class="iproperty-ribbon-wrapper"><div class="iproperty-ribbon iproperty-ribbon-blue"><?php _e( 'Sold', 'iproperty' ); ?></div></div>
    <?php elseif ( $property->is_newly_published() && iproperty_use_css_banner() ) : ?>
    <div class="iproperty-ribbon-wrapper"><div class="iproperty-ribbon iproperty-ribbon-green"><?php _e( 'New', 'iproperty' ); ?></div></div>
    <?php elseif ( $property->is_recently_updated() && iproperty_use_css_banner() ) : ?>
    <div class="iproperty-ribbon-wrapper"><div class="iproperty-ribbon iproperty-ribbon-blue"><?php _e( 'Updated', 'iproperty' ); ?></div></div>
    <?php endif; ?>

    This cannot be supported, but hopefully it helps.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Change Title on Banner’ is closed to new replies.