• Resolved Tom.Nunn

    (@tomnunn)


    Having a little difficulty still, trying to change the ‘Sq ft’ text on the Widget area, I have found the code in class-featured-listings-widget.php.

    I would like to change ‘Sq ft’ to ‘Build Size’, any suggestions?

    if ( '' != get_post_meta( $post->ID, '_listing_bedrooms', true ) || '' != get_post_meta( $post->ID, '_listing_bathrooms', true ) || '' != get_post_meta( $post->ID, '_listing_sqft', true )) {
    					$loop .= sprintf( '<ul class="listing-beds-baths-sqft"><li class="beds">%s<span>Beds</span></li> <li class="baths">%s<span>Baths</span></li> <li class="sqft">%s<span>Sq ft</span></li></ul>', get_post_meta( $post->ID, '_listing_bedrooms', true ), get_post_meta( $post->ID, '_listing_bathrooms', true ), get_post_meta( $post->ID, '_listing_sqft', true ) );
    				}

    I have also attached a screenshot of the widget area on the site I’m working on: https://postimg.org/image/f94w7gfwb/

    https://www.ads-software.com/plugins/wp-listings/

Viewing 1 replies (of 1 total)
  • Plugin Author agentevolution

    (@agentevolution)

    You can edit the widget file and change the text to read how you like. To prevent your changes from being overwritten in a plugin update, copy the widget file to your theme folder, changing the name of the widget, and including it in your theme’s functions.php

Viewing 1 replies (of 1 total)
  • The topic ‘Changing 'Sq ft' Text in Widget Area?’ is closed to new replies.