/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $view = views_get_view('Propiedades'); $view->set_display('block_2'); $view->pre_execute(); $view->execute(); $viviendas= format_plural($count, '1 vivienda', '@count viviendas'); if ($count>=1) { ?>