What is a short code?

A shortcode is a WordPress-specific code that lets you do things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, messy code in just one line.

An example of a short code is: [kvcoreidx_listings]

Each short code renders different information. See a full list of available short codes below.

kvCORE Shortcodes


Shortcode: [kvcoreidx_search]

Value: Displays property search bar.

Page Types Available to Use On: Property

Parameters Available: (see chart below)

Parameter

Notes

show_filters

To display the filters, set to 'yes' or leave blank.

To hide the filters, set to 'no'.

Example: [kvcoreidx_search show_filters=true]


Shortcode: [kvcoreidx_listings]

Value: Displays all listings by default. Adding variables drills down displayed results.

Page Types Available to Use On: Property

Variables Available: (see chart below) All variables separated by a space.

Parameter

VariableVariable

Notes

order

listingDate

Orders listings by newest to oldest.

Format as [kvcoreidx_listings order=listingdate|desc] to order by oldest to newest.

agents

see notes.

One or more agent ID's separated via '|'

Example: agents="2234|2235|2236

ourListings

see notes.

Only show listings owned by the entity or agent

Example: ourListings="1"

propertyTypes

see notes.

One or more property type ids separated via '|'

Example: propertyTypes="1|4|7|9"

styles

see notes.

One or more style names separated via '|'

Example: styles="Colonial|Villa|Townhouse"

area

see notes.

One or more areas names separated via ';'

Example: area="city|San Diego;city|Carlsbad"

priceMin

see notes.

Minimum price value for listing

Example: priceMin="250000"

priceMax

see notes.

Maximum price value for listing

Example: priceMax="350000"

listingStart

see notes.

Show listings listed before timestamp.

Example: listingStart="1513121569"

listingEnd

see notes.

Show listings listed after timestamp.

Example: listingEnd="1513121569"

beds

see notes.

Show listings with number of bedrooms greater than passed in value.

Example: beds="2"

baths

see notes.

Show listings with number of bathrooms greater than passed in value.

Example: baths="2"

halfBaths

see notes.

Show listings with number of half bathrooms greater than passed in value.

Example: halfBaths="2"

footageMin

see notes.

Show listings with footage greater to or equal to passed in value.

Example: footageMin="1500"

footageMax

see notes.

Show listings with footage less than or equal to passed in value.

Example: footageMax="2500"

acresMin

see notes.

Show listings with acres greater to or equal to passed in value.

Example: acresMin="0.5"

acresMax

see notes.

Show listings with acres less than or equal to passed in value.

Example: acresMax="2.5"

year

see notes.

Show listings built on or after passed in value.

Example: year="1925"

maxYear

see notes.

Show listings built on or before passed in value.

Example: maxYear="1925"

options

Options Include:

  • justlisted
  • walkable
  • fixerupper
  • newlybuilt
  • openhouse
  • adult
  • green
  • horse
  • golf
  • pool
  • waterfront
  • waterview
  • views
  • reduced
  • foreclosures
  • shortsales
  • garage
  • garage2
  • garage3
  • story
  • story2
  • story3
  • deck
  • basement
  • masteronmain,
  • airmonditioner
  • furnished
  • allowspets
  • notdistresssed
  • sellerfinance

One or more options names separated via '|'

Example: options="basement|masterOnMain|airConditioner"

minDaysOnSite

see notes.

Show listings that be on the site for a number of days greater than or equal to the passed in value

Example: minDaysOnSite="5"

maxDaysOnSite

see notes.

Show listings that be on the site for a number of days less than or equal to the passed in value

Example: maxDaysOnSite="5"

exclusives

see notes.

Displays a list of exclusive/manual properties.

Example: [kvcoreidx_listings exclusives="1"]

Example: [kvcoreidx_listings order=listingdate pricemin="75000" pricemax="550000" order="price|desc" page="1"]

Pro Tip: You can perform a search on the /properties/ page and use the URL parameters on the results URL to construct your shortcode.

For example: https://www.firstteam.com/properties/?pricemin=75000&pricemax=550000&order=price%7Cdesc&page=1&layout=card

Represents this: [kvcoreidx_listings pricemin="75000" pricemax="550000" order="price|desc" page="1"]


Shortcode: [kvcoreidx_listing_detail_page]

Value: Displays property details, such as General Information, General Features, Interior Features, Exterior Features, Price History, School Information, Property Location, and Similar Properties

Page Types Available to Use On: Property

Parameters Available: (see chart below)

Parameter

Notes

exclusive

Displays the details of an exclusive/manual listing.

Example: [kvcoreidx_listing_detail_page exclusive="1"]

Example: [kvcoreidx_listing_detail_page]


Shortcode: [kvcoreidx_offices]

Value: Displays office information.

Page Types Available to Use On: Office

Parameters Available: (see chart below)

Parameter

Notes

see notes.

This shortcode only works on office page.

Example: [kvcoreidx_offices]


Shortcode: [kvcoreidx_featured_properties]

Value: Displays featured listings.

Page Types Available to Use On: Property

Example: [kvcoreidx_featured_properties]


Shortcode: [kvcoreidx_featured_agents]

Value: Displays featured Agents.

Page Types Available to Use On: Roster

Example: [kvcoreidx_featured_agents]


Shortcode: [kvcoreidx_terms_of_use]

Value: Displays terms of use content.

Page Types Available to Use On: TBD

Example: [kvcoreidx_terms_of_use]


Shortcode: [kvcoreidx_valuation_report]

Value: Displays home valuation request form.

Page Types Available to Use On: Valuation Report

Example: [kvcoreidx_valuation_report]


Shortcode: [kvcoreidx_market_report]

Value: Displays market report request form.

Page Types Available to Use On: Market Report

Example: [kvcoreidx_market_report]


Shortcode: [kvcoreidx_valuation_pdf_search] or [kvcoreidx_valuation_pdf]

Value: Displays valuation search form.

Page Types Available to Use On: Sell page

Example: [kvcoreidx_valuation_pdf_search]

Did this answer your question?