• Resolved denurade

    (@denurade)


    Kind thanks for your excellent plugin. But I have a question. How can I add post meta data to post submission? I have a real estate agency and the price there fits in the meta data:

    <div class="rh_form__item rh_form--3-column rh_form--columnAlign">
    <label for="price"><?php esc_html_e( 'Sale or Rent Price', 'framework' ); ?></label>
    <input id="price" name="price" type="text" value="<?php
    if ( inspiry_is_edit_property() ) {
    global $post_meta_data;
    if ( isset( $post_meta_data['REAL_HOMES_property_price'] ) ) {
    echo esc_attr( $post_meta_data['REAL_HOMES_property_price'][0] );
    }
    }
    ?>" title="<?php esc_attr_e( '* Please provide the value in digits only!', 'framework' ); ?>"/>
    </div>
    <!-- /.rh_form__item -->

    Can you give me a hint, please? How do I output the price when sending a message to telegram.
    Thank you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Irshad Ahmad

    (@irshadahmad21)

    Hello,

    1. What is the meta key for the data you want?
    2. Did you try {cf:price} or {cf:REAL_HOMES_property_price}?
    Thread Starter denurade

    (@denurade)

    The cf variable worked thank you very much.

    Plugin Author Irshad Ahmad

    (@irshadahmad21)

    I am glad that worked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.