Skip to content

PHP Customization - how to check if property is featured?

1 minute read

You can use function below to check on the single property page if it is featured:

php
<?php if ( $myhome_estate->is_featured() ) : ?>
Is Featured
<?php endif; ?>

You can use it e.g. in the /wp-content/themes/myhome/templates/content-single-estate.php file

Ask the people who build MyHome WPBakery

We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.

Was this guide helpful?