Skip to Content

FAQs

What is Initial Setup?

AIOS Initial Setup is a core plugin for Agent Image clients, that help developer to start building a WordPress website.


Why exporting leads doesn’t include name or email address

For contact form 7 leads to work properly with exporting leads. The name, first name, last name, and email please follow the following format for naming the fields

  • Full Name

    • your-name
    • your-fullname
    • fullname
    • full_name
    • TxtFullName
    • about-name
    • git-name
    • listings-name
    • contact-name
  • First Name

    • your-first-name
    • your-fname
    • fname
    • firstName
    • first-name
    • TxtFirstName
    • about-fname
    • git-fname
    • listings-fname
    • contact-fname
  • Middle Name

    • your-middle-name
    • your-mname
    • mname
    • middleName
    • middle-name
    • TxtMiddleName
  • Last Name

    • your-last-name
    • your-lname
    • lname
    • lastName
    • last-name
    • TxtLastName
    • about-lname
    • git-lname
    • listings-lname
    • contact-lname
  • Email Address

    • your-email
    • email
    • email-address
    • TxtEmailAddress
    • about-email
    • git-email
    • listings-email
    • contact-email
    • join-email
  • Phone Number

    • your-phone
    • phone
    • phone-number
    • TxtPhoneNumber
    • about-phone
    • git-phone
    • listings-phone
    • contact-phone
  • Message

    • your-message
    • message
    • TxtMessage
    • git-message
    • about-message
    • listings-message
    • contact-message
  • Consent

    • consent
    • consent-checkbox
    • consent-field
  • Consent Text

    • consent-text
    • consent-description

Avoid using other field name to prevent issue in exporting data.

Consent text or description should be declared as in a hidden field and same value as acceptance label please see code below:

php
[acceptance consent-checkbox optional] I agree to be contacted by The Real Estate Group via call, email, and text. To opt-out, you can reply 'stop' at any time or click the unsubscribe link in the emails. Message and data rates may apply. <a href="/privacy-policy/">Privacy Policy</a>.[/acceptance] [hidden consent-text "I agree to be contacted by The Real Estate Group via call, email, and text. To opt-out, you can reply stop at any time or click the unsubscribe link in the emails. Message and data rates may apply. Privacy Policy"]

For IHF clients

This provides module that help fix known issue with their plugins.


Is there a way to call functions from themes

Yes, it is possible to by extending or calling className.


Custom banner

It does support widget & shortcode?

Yes, it was introduced from version 5.1.8.

Title doesn’t show inside the banner even the option is enabled

This option applies to non-widgetize approach, then on header.php find and replace inside-banner to 1.

Are you using widgetize banner and title inside the banner?

You still need to set the options on AIOS All in One -> Initial Setup -> Custom Metabox section “Custom Title” to avoid duplicate h1 tag.


How to display tools and comments to non-agentimage accounts

This option can be found on AIOS All in One -> Initial Setup -> Settings then search for the section Disable admin menu filter enable the thickbox.


Cors issue header contains multiple value

On the quick search option enable the option “Disable Access Control Allow Origin”.

quickSearch


Email Template

How to change user confirmation subject?

First you can change the global user subject on the email template settings page and second you can enable the mail2 option under form edit page then mail tab.


How to remove breadcrumbs inside the content?

The plugin comes with a builtin option to remove it, if not add the ff codes to the functions.php.

php
/** Remove breadcrumb from body */ add_action('init', 'remove_parent_theme_actions', 99); function remove_parent_theme_actions() { global $aios_starter_theme_hook_action; remove_filter('aios_starter_theme_before_inner_page_content_filter', [$aios_starter_theme_hook_action, 'aios_starter_theme_add_breadcrumbs']); }

Lazyframe

Why?

Because embedded content takes time to load.

  • Youtube – 11 requests ≈ 580kb
  • Google maps – 52 requests ≈ 580kb
  • Vimeo – 8 requests ≈ 145kb

Lazyframe creates a responsive placeholder for embedded content and requests it when the user interacts with it. This decreases the page load and idle time.

Lazyframe comes with brand-like themes for Youtube and Vimeo.

Element-specific options

html
<div className="lazyframe" data-vendor="" data-title="" data-thumbnail="" data-src="" data-ratio="1:1" data-initinview="false" data-autoplay="false" ></div>

data-vendor

Attribute for theming lazyframe. Currently supported values are youtube, youtube_nocookie and vimeo.

data-title

Attribute for custom title. Leave empty to get value from noembed.com.

data-thumbnail

Attribute for custom thumbnail. Leave empty to get value from noembed.com.

data-src

The source of what you want to lazyload.

data-ratio

The ratio of the lazyframe. Possible values: 16:9, 4:3, 1:1

data-initinview

Set this to true if you want the resource to execute (for example video to play) when the element is in view.


Disable custom metabox for specific edit ID

php
if (is_admin()) { $id = 0; $post = isset($_GET['post']) ? $_GET['post'] : null; $action = isset($_GET['action']) ? $_GET['action'] : null; $pagenow = isset($GLOBALS['pagenow']) ? $GLOBALS['pagenow'] : null; if (!empty($post) && !empty($action) && $action === 'edit' && !empty($pagenow) && $pagenow === 'post.php') { $id = (int) $post; } if (in_array($id, [55, 100, 200])) { apply_filters('init_custom_metaboxes_filter', __return_false(), 10); } }

Contact Form 7

Is form reloading when submitting?

This issue was detected on Contact Form 7 version 5.x.x and Initial Setup version 5.6.0 and lower. Contact Form 7 rename their script filename.

Why are we generating it?

This is a known issue with Contact Form 7 that cause wpcf7.initForm is not a function when submitting, we fixed this issue by adding certain line of code from generated script.

What can we do about it?

Update both Initial Setup and Contact Form 7 to latest version, after updating reload any admin page to generate the file, then try to if fix the issue.

How auto line break works

1. Enable Feature

Step 1. Go to /wp-admin/admin.php?page=aios-initial-setup&panel=settings.
Step 2. Enable the option Contact Form 7 Mail Message Body - Line Breaks.

2. Select Forms

Step 1. Navigate to /wp-admin/admin.php?page=aios-email-template&panel=contact-forms.
Step 2. Under Enable Line Breaks on Message Body, select the forms where you want to add line breaks.

3. Trigger

Steps 1. Auto line breaks do not work on form save.

Steps 2. They are triggered once.

Turn Off Fix Form Data Compatibility

Disabling the “Fix Form Data Compatibility” option ensures that no automatic adjustments are made to the form data structure for compatibility. This can be useful if you want to avoid any potential conflicts with other plugins or custom form handling logic. Turning this off might help streamline form submissions but could cause issues if other plugins expect specific data formats.


Editor

How to switch between classic and gutenberg?

Settings can be found Settings -> Wrinting.

Change upload file size for PNG

To override the file size add this code “define(‘AIOS_IMAGE_PNG_UPLOAD’, 2000000);” to wp-config.php or functions.php of the active theme to limit upload size to 2mb.


How to use preset template?

Step 1. You can see the meta box on the upper right corner below “Content View”.

presetTemplateBox

Step 2. Select or click on “Select Template” with the client-preferred template make sure the page is new or it is okay to replace the content.

presetTemplateFrame


How to use AIOS Menu?

The AIOS Menu is a cached version of the wp_nav_menu function that is designed to reduce the number of requests made by the wp_nav_menu function. You can use the AIOS Menu by using the following shortcode:

php
<?php echo do_shortcode('[aios_menu sort_column="menu_order" theme_location="primary-menu" menu_id="nav"]'); ?>

The AIOS Menu uses the same parameters as wp_nav_menu. You can check the official wp_nav_menu documentation for more information.

By default, the AIOS Menu is renewed every 24 hours. However, you can purge the cache by following these steps:

Step 1. Go to AIOS All in One

Step 2. Click on Initial Setup

Step 3. Click on Menu

Step 4. Select the “Purge Cache” option.


IHF

How to Enable Eureka Template?

Step 1. Go to AIOS All in One

Step 2. Click on Initial Setup

Step 3. Click on Settings

Step 4. Enable Eureka Template

To select the Eureka template, follow these steps:

Step 1. Navigate to the Page.
Step 2. Look for a dropdown menu or list labeled “template” or “template selection.”
Step 3. Locate “Eureka Template” from the options listed in the dropdown menu or list.
Step 4. Select the “Eureka Template” option to choose it as the template for your project.
Step 5. Make sure to save your changes before exiting the page to ensure that the Eureka template is properly applied.

Yoast: Remove Redundant Breadcrumbs from Details Page

Enable Feature

Step 1. Go to /wp-admin/admin.php?page=aios-initial-setup&panel=settings.
Step 2. Enable the option IHF Remove duplicate breadcrumb on details page.

Yoast: Fix Breadcrumbs

Fix Empty Breadcrumbs on IHF Pages by adding the page title for Yoast Version 23.0 or Higher

Last updated on