Fix Property Details Carousel Height on Phone

How to Fix the Height of the Property Details Carousel on Phones Add the following CSS: .img-carousel-phone{ max-height:300px; } Add the class img-carousel-phone class to the single-properties.php file in two locations. Search ‘item’. Reference Canyon & Knox

Read More →

Email Shortcode

How to Add Code to the Shortcodes.php file to get [companyEmail] to display email address Open acf-front-end-func.php under includes directory in RIT Theme and enter the following code after the last lie of code: function ritThemeFE_email(){ if ( have_rows( ‘site_email_address’, ‘option’ ) ) { while ( have_rows( ‘site_email_address’, ‘option’ ) ) { the_row(); if ( […]

Read More →

Phone Shortcode

How to Add Code to the Shortcodes.php file to get [companyPhone] display phone number Open shortcodes.php file in RIT Theme and enter the following code after the last line of code: function childTheme_phone_short(){ //return html ob_start(); childTheme_phone_display(); return ob_get_clean(); } add_shortcode( ‘companyPhone’, ‘childTheme_phone_short’ ); function childTheme_phone_display(){ $returnPhone = ”; if ( have_rows( ‘company_location_specific_information’, ‘option’ ) […]

Read More →