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

    (@juliobox)

    hello in the next release i will add a total new system.
    I will add the possibility to create your own template file, so, you will create your own “design” and content

    I that what you need ? 🙂

    Thread Starter danatom

    (@danatom)

    It is very good news! Only I at present need to understand how to insert variable so that they for worked:

    Your code:

    $no_thumb = apply_filters( 'bawmrp_no_thumb', admin_url( '/images/wp-badge.png' ), $id );
    $thumb_size = apply_filters( 'bawmrp_thumb_size', array( 269, 180 ) );
    if( current_theme_supports( 'post-thumbnails' ) )
    $thumb = has_post_thumbnail( $id ) ? get_the_post_thumbnail( $id, $thumb_size ) : '<img src="' . $no_thumb . '" height="160" width="236" />';
    else
    $thumb = '<img src="' . baw_first_image( $bawmrp_options['first_image']=='on' ? $id : null, $no_thumb ) . '" height="' . $thumb_size[0] . '" width="' . $thumb_size[1] . '" />';
    $list[] = '<li style="' . esc_attr( $style ) . '" class="' . $class . '"><a href="' . esc_url( apply_filters( 'the_permalink', get_permalink( $id ) ) ) . '">' . apply_filters( 'the_title', get_the_title( $id ) ) .'<br /><br />' . $thumb . '</a></li>';

    Here I need to insert these values and that they were displayed:

    <div class="price-tag">																<?php
    $terms = get_the_terms( $post->ID,"property-type" );
    if ( $terms && ! is_wp_error( $terms ) )															{
    foreach ( $terms as $term )
    {
    echo '<small><a class="property-type" href="' . get_term_link($term->slug, "property-type" ) .'">'.$term->name.'</a></small>';
    break; // to display only one property type
    }
    }
    ?>
    <h5 class="price">															<?php																	theme_currency();
    echo number_format(intval(get_post_meta($post->ID, 'locality_property_price', true)));
    ?>
    </h5>
    </div>
    <div class="freatures-wrapper">
    <span class="size"><?php echo get_post_meta($post->ID,
    'locality_property_size', true); theme_unit(); ?></span>
    <span class="bed"><?php echo get_post_meta( $post->ID,
    'locality_property_floor', true ); ?><?php _e(' этаж', 'locality') ?></span>
    <span class="bath"><?php echo $porperty_status; ?></span>
    </div>

    Plugin Author Julio Potier

    (@juliobox)

    you can play with $list[] = …
    as you can see, i concat a LI with A, IMG, including the post permalink, title, and thumb.

    I admit this is not very readable :/

    hope you can do what you need

    Thread Starter danatom

    (@danatom)

    All right, thanks =) I will try to understand itself, after all it is my work)))

    tell me please when there is a new version of your plug-in. I am very grateful. here my mail: [email address moderated – these forums do not provide support via email]

    Thread Starter danatom

    (@danatom)

    nice you house)) I looked at google maps

    Plugin Author Julio Potier

    (@juliobox)

    new versions are automatically pushed into your administration, just check your plugins page 1 time per day 😉

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add real estate details in the file of a conclusion of frontend-noajax.in’ is closed to new replies.