[contact_info]

You can use this shortcode to display the site contact information on any page.


Product


Shortcode Attributes

There are a number of shortcode attributes available which you can use to customize the output.

  1. data – Specifies which contact information fields should be displayed.
    • Default: address, phone, email.
    • Options: address, phone, alternative_phone, email, website, company, tagline, position, contact_person, company_number, abn. Use commas , to separate values.
  2. disable_html – Use to disable HTML rendering in the output.
    • Default: no.
    • Options: 1 or 0. Specify one only.
  3. separator – Specifies the separator used between contact information fields when disable_html is set to 1.
    • Default: , .
    • Options: Any text value.
  4. custom – Enables custom contact information to be provided directly via shortcode attributes. When set to on, the shortcode will ignore default values from site settings.
    • Default Value: off
    • Options: on, off, 1, 0. Specify one only.

Custom Contact Information Attributes

These attributes are used when custom="on" is set. They allow you to provide custom values for each contact field.

  1. phone – Custom phone number.
  2. alternative_phone – Custom alternative phone number.
  3. email – Custom email address.
  4. website – Custom website URL.
  5. website_label – Custom label for the website link.
  6. address – Custom address.
  7. address_link – Custom Google Maps link for the address.
  8. company – Custom company name.
  9. tagline – Custom tagline.
  10. position – Custom position or job title.
  11. contact_person – Custom contact person name.
  12. company_number – Custom company number.
  13. abn – Custom Australian Business Number (ABN).

Example Usage

Example 1

[contact_info]

Results

<div class="contact-details">
    <div class="contact-address">123 Main St, City, Country</div>
    <div class="contact-phone"><a href="tel:+1234567890">+1 234 567 890</a></div>
    <div class="contact-email">[email protected]</div>
</div>
Display Default Contact Information which are set from the site settings and render similar output above
If custom="on" is not set, the shortcode will pull default values from the site settings (e.g., contact_details field in options).

Example 2

[contact_info custom="on" phone="+1 234 567 890" email="[email protected]" address="456 Custom St, City, Country"]

Results

<div class="contact-details">
   <div class="contact-address">456 Custom St, City, Country</div>
   <div class="contact-phone"><a href="tel:+1234567890">+1 234 567 890</a></div>
   <div class="contact-email">[email protected]</div>
</div>
Display Custom Contact Information based on the data attribute for phone, email and address. The shortcode will render above output
Ensure that the fields specified in the data attribute are valid and have corresponding values (either from site settings or custom attributes).

Example 3

[contact_info custom="on" data="website" website="https://example.com" website_label="Visit Us Online"]

Results

<div class="contact-details">
   <div class="contact-website">
      <a href="https://example.com" target="_blank">Visit Us Online</a>
   </div>
</div>
Display Website with Custom Label and render the above output

Example 4

[contact_info disable_html="1" separator=" | "]

Results

Display Plain Text Contact Information as below
123 Main St, City, Country | +1 234 567 890 | [email protected]
If disable_html="1" is set, the output will be plain text, and the separator attribute will be used to separate fields.

Related

The shortcode creates an address lookup field powered by the Google Maps API, which can be used within

. Product…

This shortcode dynamically creates breadcrumbs based on the current page or post, including support for archives, search results, 404 pages,…

The shortcode is a versatile WordPress shortcode that allows you to create customizable buttons with various functionalities, such as linking…

The shortcode is designed to display a menu of child pages for the current page or a specified page. The…

The shortcode creates flexible content boxes with various media types, titles, descriptions, and call-to-action buttons. Product

Shortcode Attributes…

The shortcode displays a dynamic countdown timer. Product

Shortcode Attributes There are a number of shortcode attributes available…

This is the main shortcode for displaying the frequently asked questions (FAQ) listing section on a page. Product

This is a simplified version of

, designed for displaying the FAQ list in the sidebar. Product Shortcode…

This is the main shortcode for displaying the gallery listing section on a page. Product

Shortcode Attributes There…

This is a simplified version of , designed for displaying the gallery list in the sidebar. Product

Shortcode…

The shortcode is designed to generate a select dropdown field that allows users to choose a gallery from a list…

The shortcode generates a sitemap for gallery posts. Product

Shortcode Attributes There are a number of shortcode attributes…

The shortcode embeds pre-designed global elements anywhere on a WordPress site. These elements are managed centrally and can be reused…

The shortcode generates a “Load More” button. This button is typically used in conjunction with a listing or grid of…

The shortcode is designed to render a customizable navigation menu. Product

Shortcode Attributes name – The name of…

The shortcode is designed to display a link to the next post. Product

Shortcode Attributes label – The…

The shortcode displays the current time in a customizable format. Product

Shortcode Attributes There are a number of…

The shortcode displays elements from a page built with the Page Element Builder (using ACF). Product

Shortcode Attributes…

The shortcode designed to create a dropdown select field that allows users to choose from a list of pages. Product…

The shortcode displays a sitemap of WordPress pages. Product

Shortcode Attributes title – The title to display above…

The shortcode is designed to display the description of a post dynamically. Product

Shortcode Attributes id – Post…

This is the main shortcode for displaying the posts listing section on a page. Product

Shortcode Attributes There…

The shortcode displays an excerpt from a specific post or the current post. Product

Shortcode Attributes id -…

The shortcode displays the featured image of a post, page, or custom post type in various formats. Product

The shortcode displays galleries in various layouts such as sliders or grids. Product

Shortcode Attributes GENERAL LAYOUT type…

The shortcode to display the current post’s ID. Product

Shortcode Attributes label – A string that will be…

The shortcode designed to generate a download link for media associated with a post. Product

Shortcode Attributes There…

The shortcode designed to generatea link to a media transcript or a featured image, depending on the post format. Product…

The shortcode displays the modified date of a post. Product

Shortcode Attributes id – Post ID whose modified…

The shortcode allows you to dynamically generate links to posts or pages. Product

Shortcode Attributes id – Post…

This is a simplified version of

This guide will help you customize the office hero banner on Malcolm Real Estate website using Malcolm Listings or Malcolm…

This guide will help you customize the property key details block for the property listing single page by adding “Book…

This guide will help you customize the breadcrumb item link for the archive page on your Launchpad Platform WordPress site….

This guide will help you customize the link of the custom logo on your Launchpad Platform WordPress site dynamically based…

This guide will help you customize the query for the ‘rep_listing’ single page to filter results based on the number…

This guide will help you customize shortcode attributes using the rep__shortcode_atts filter to modify the output of related elements based…

, designed for displaying the post list in the sidebar. Product Shortcode…

The shortcode displays the published date of a post. Product

Shortcode Attributes id – Post ID whose featured…

The shortcode designed to generate a post dropdown select field to navigate. Product

Shortcode Attributes There are a number…

The shortcode displays a sitemap of posts. Product

Shortcode Attributes title – The title to display above the…

The shortcode is designed to display the terms. Product

Shortcode Attributes id – Post ID for which the…

The shortcode is designed to dynamically display the title of a post, page, or custom post type. Product

The shortcode is designed to display a link to the previous post. Product

Shortcode Attributes label – The…

The shortcode creates a printable version of a specific section of a post or page. Product

Shortcode Attributes…

This is the main shortcode for displaying the project listing section on a page. Product

Shortcode Attributes There…

This is a simplified version of

, designed for displaying the projects list in the sidebar. Product Shortcode…

The shortcode displays a select dropdown field for projects. Product

Shortcode Attributes There are a number of shortcode…

The shortcode generates a sitemap for project posts. Product

Shortcode Attributes There are a number of shortcode attributes…

The shortcode provides functionality to create expandable content sections with “Read More” links. Product

Shortcode Attributes There are…

The shortcode designed to display a list of recent projects based on the provided Product

Shortcode Attributes There…

The shortcode creates a dynamic filtering interface for content on a WordPress site. It supports multiple filter types (checkbox, radio,…

The shortcode generates a search form field that can be used in

to create customizable search filters. It supports…

The shortcode provides a flexible search form that can be used in various contexts, including as a widget or inline…

The shortcode displays a gallery of images in various layouts, such as grid or carousel, with customizable options. Product [post_terms…

The shortcode allows you to display the site logo based on the specified type. Product

Shortcode Attributes type…

You can use this shortcode to display social media icons with links to your profiles. It supports customization of icons…

The shortcode displays contact information for team members. Product

Shortcode Attributes There are a number of shortcode attributes…

This is the main shortcode for displaying the team listing section on a page. Product

Shortcode Attributes There…

This is a simplified version of

, designed for displaying the team list in the sidebar. Product Shortcode…

The shortcode designed to generate a select dropdown field populated with team members. Product

Shortcode Attributes There are…

The shortcode generates a sitemap for team posts. Product

Shortcode Attributes There are a number of shortcode attributes…

The shortcode displays the social media links of a team member. Product

Shortcode Attributes There are a number…

The shortcode displays the description of a term (category, tag, or custom taxonomy). Product

Shortcode Attributes id -…

The shortcode displays the title of a term (category, tag, or custom taxonomy). Product

Shortcode Attributes id -…

This is the main shortcode for displaying the testimonials section on a page. Product

Shortcode Attributes There are…

This is a simplified version of

, designed for displaying the testimonial list in the sidebar. Product Shortcode…

The shortcode generates a sitemap for testimonial posts. Product

Shortcode Attributes There are a number of shortcode attributes…

The shortcode allows you to retrieve and display various theme-related information from the current WordPress theme or its parent theme…

The shortcode displays the current date in a specified format or in the WordPress settings format. Product

Shortcode…