FAQs
Change the slideshow variation on details page while using the default template
If you want to switch/change the style of your slideshow area in details pages, just go to your WordPress admin area under:
AIOS All in One > iHomeFinder Templates > Settings > General (https://snipboard.io/eIsMqu.jpg )
Supports
- AgentPro Legacy
- AgentPro Amante II
- AgentPro Element
- AgentPro Iconic (Use default layout or frame 1 only. Due to the header design, using frame 2-4 is not recommended)
If you’re using this on other themes besides the supported theme, you have to check the details page since you might needed to edit some colors and margins specially on frame 1 and also take note that this option are only available if the default template was activated
Change theme colors on both Results and Details pages
To change theme colors, please visit AIOS All in One > iHomeFinder Templates > Settings > General (https://snipboard.io/YMegQA.jpg )
Details page not working properly
Please visit Listings Settings > Property Details
on Optima Express control panel and set the following settings below:
- Property Listing Version: 9
- Property Listing Page Layout: Standard
Disable breadcrumbs filter on iHomefinder Pages
To disable breacrumbs filter, please visit AIOS All in One > iHomeFinder Templates > Settings > General (https://snipboard.io/3mC8yG.jpg ) to disable
Disable template customization on both Results and Details Page
To render the default iHomefinder templates/layouts, please visit AIOS All in One > iHomeFinder Templates > Settings > General (https://snipboard.io/nloRgr.jpg ) to activate
Manage all created transients by using Wigetized Shortcode
To manage, please visit AIOS All in One > iHomeFinder Templates > Settings > Transients
Take note that deleting the transient will not delete the actual shortcode but its data only.
Missing form on Details page
To render missing form on details pages, please visit AIOS All in One > iHomeFinder Templates > Settings > General (https://snipboard.io/ShK6GN.jpg ) to generate
Missing shortcode scripts and filter on Homepage/Frontpage
Activate Homepage Shortcode settings under AIOS All in One > iHomeFinder Templates > Settings > General (https://snipboard.io/Jlk1YU.jpg )
Override default iHomefinder board logos
To override, please visit AIOS All in One > iHomeFinder Templates > Settings > Boards. By default, you will see this message since there’s no uploaded logos yet in the settings.
When adding a new board logo, you can’t used the existing ID as you will encounter this error: ID already exists, please try again
Plugin not working after installation
If somehow the plugin isn’t working, please check the possible causes below for your reference:
- Site uses
WordFence
plugin Please deactivateWordFence
then reactiveOptima Express
plugin and save it’s registration key then reactivate theWordFence
plugin again. By doing this, this will save allOptima Express
plugin settings sinceWordFence blocks
it - Outdate required plugins
- Plugin conflict with aios-ihf-template module
Show the default inner page banner Details Page
If you want to hide/show the default inner page banner of your theme in details pages, just go to your WordPress admin area under:
AIOS All in One > iHomeFinder Templates > Settings > General (https://snipboard.io/5fsrCJ.jpg )
Supports
- any theme that uses the default inner page banner provided by aios-starter-theme-child
Some themes doesn’t support default inner page banner properly, so please check it first after activating.
Missing popup forms on Details Page
If you encounter missing popup forms on details page, please visit your IDX account’s Property Details Settings and turn off the following options below:
- Show “Map” section on Property Detail Pages
- Show “Mortgage Calculator” on Property Detail Pages
- Show “Walk Score” section on Property Detail Pages
- Show “School” section on Property Detail Pages
Duplicate Error Messages on Popup Forms
If you encounter duplicate error messages on popup forms, please visit AIOS Optimize > Optimization > JavaScript Minification and Optimization > Do not delay scripts with these filenames (one per line) then add the code below:
aios-custom-ihomefinder-global
Only applicable if AIOS Optimize plugin was installed.
How to add Compensation on details page
There are two ways to add Compensation on any listing details pages:
By manually adding compensation
Wizard GuideVideo Guide Click to see video
By visiting any details page
Wizard GuideVideo Guide Click to see video
Address and Url/Link fields are always required.
Duplicated Address is not allowed.
How to change Compensation global values on settings page
To change global values for compensation, just goto your wordpress admin area then:
AIOS All in One > iHomeFinder Templates > Settings > General then scroll down to bottom and find Details Page Compensation
Wizard Guide
Video Guide
How to integrate Compensations settings on a customized plugin
To integrate compensation settings into your customized plugin, follow these steps:
Step 1. Download the necessary files from the link below:
- AIOS Resources (find or search AIOS Custom iHomefinder - Compensation Files: https://prnt.sc/LTfdcR0U16LU )
Step 2. Extract the downloaded files, then copy the assets and includes folders into the root directory of your customized plugin.
Step 3. After copying the folders, follow the instructions below to update the files in your plugin to enable the commission settings.
includes/init.php
public function adminUiUx() {
...
$enqueues = array(
'style' => array(
...
// add this
'commission' => AIOS_CUSTOM_IHOMEFINDER_URL_ASSETS_CSS . '/commission-styles.css',
),
'script' => array(
...
// add this
'commission' => AIOS_CUSTOM_IHOMEFINDER_URL_ASSETS_JS . '/commission-script.js',
)
);
}
config.php
public function options_tabs( $tabs = array() ) {
$tabs = array(
..
'details' => array(
...
'child' => array(
...
// add this
array(
'url' => 'details-commissions',
'title' => 'Compensation',
'function' => 'details/commissions.php'
),
)
),
);
}
includes/classes/filter-content.php
public function detailsPage() {
...
// add this below $boardsSettings
$detailsPageSettings = ( new Options )->settings( 'details_page' );
try {
...
// add this above $jsonResult
$commission = false;
$fullAddress = trim( $fullAddress );
if ( ( array_search( strtoupper( $fullAddress ), array_column( $detailsPageSettings[ 'commissions' ], 'address' ) ) ) !== false ) {
$key = 'address';
$value = strtoupper( $fullAddress );
$commission = array_shift( array_filter( $detailsPageSettings[ 'commissions' ], function($subarray) use ( $key, $value ) {
return isset( $subarray[ $key ] ) && $subarray[ $key ] == $value;
} ) );
$commission = array_replace_recursive( $commission, [
'label' => $commission[ 'label' ] ?: $generalSettings[ 'commission' ][ 'label' ],
'value' => $commission[ 'value' ] ?: $generalSettings[ 'commission' ][ 'value' ],
'disclaimer' => $commission[ 'disclaimer' ] ?: $generalSettings[ 'commission' ][ 'disclaimer' ],
] );
}
$this->jsonResult = [
...
// add this
'isCommission' => $commission !== false && ( array_key_exists( 'visibility', $commission ) && $commission[ 'visibility' ] == 'true' ),
'commission' => $commission,
];
}
}
includes/classes/options.php
$defaults = array(
'details_page' => array(
...
// add this
'commissions' => array(),
),
'general' => array(
...
// add this
'commission' => array(
'label' => 'Buyer’s Agent Compensation',
'value' => '2.5%',
'disclaimer' => 'Buyer’s Agent Compensation is not provided by the MLS, IDX or by Agent Image. Buyer’s Agent Compensation is not set by law and is fully negotiable.',
),
),
);
includes/functions/settings/general.php
// add this before the save button
echo '
<div className="wpui-row wpui-row-box">
<div className="wpui-col-md-3">
<p>
<span className="wpui-settings-title">Details Page Compensation</span>
Default values for details page compensation. <br />
<em>(fields are always set to default if left empty)</em>.
</p>
</div>
<div className="wpui-col-md-9">
<div className="wpui-row">
<div className="wpui-col-md-6">
<div className="form-group">
<label className="float-left w-100">Label</label>
<input type="text" className="w-100" name="' . $optionName . '[commission][label]" placeholder="Buyer’s Agent Compensation" value="' . $pageSettings[ 'commission' ][ 'label' ] . '">
</div>
</div>
<div className="wpui-col-md-6">
<div className="form-group">
<label className="float-left w-100">Value</label>
<input type="text" className="w-100" name="' . $optionName . '[commission][value]" placeholder="2.5% " value="' . $pageSettings[ 'commission' ][ 'value' ] . '">
</div>
</div>
<div className="wpui-col-md-12 mt-3">
<div className="form-group">
<label className="float-left w-100">Disclaimer</label>
<input type="text" className="w-100" name="' . $optionName . '[commission][disclaimer]" placeholder="Buyer’s Agent Compensation is not provided by the MLS, IDX or by Agent Image. Buyer’s Agent Compensation is not set by law and is fully negotiable." value="' . $pageSettings[ 'commission' ][ 'disclaimer' ] . '">
</div>
</div>
</div>
</div>
</div>
';
after completing the steps above, you can now use variables below on your template file to use the commission
// check if listing page enabled commission setting
$isCommission
// returns array values for label, value and disclaimer
$commission
Fixing breadcrumbs and page title issues on all iHomefinder pages
To fix the breadcrumbs on all iHomefinder pages, please follow the steps below:
This options is only available on plugin version 1.5.8 and above
How to Create Custom Themes
To create a custom theme for AIOS Custom iHomefinder, follow the steps below:
After completing the steps above, you can now start editing the downloaded boilerplate theme inside your active theme’s folder.
Also take note that you must rename the boilerplate folder to your desired theme name and please match it with the className name inside the functions.php
You can check the examples below for the match naming guide in folder and className names:
Folder | className |
---|---|
my-boilerplate | MyBoilerplate |
greenhouse | Greenhouse |
luxury-theme | LuxuryTheme |
Note/s:
- Always remember that in className names it should be in Pascal Casing
- Any custom themes should always be added in aios-custom-ihomefinder-templates inside your active theme’s folder
- Avoid deleting the custom theme while using it as a active theme to prevent site issues
The function for supporting custom themes was already added on version 1.0.0
but the creation of boilerplate via plugins’ backend was added on version 2.0.0