A shortcode is a way to format content on your site that automatically pulls information from other areas. This means you can add information and make updates in one location, rather than going to every page and corner of your site to make changes. You only need to update the main setting. For example, you’ll notice your sites had information included upon launch, such as the company name and phone number. These were added using shortcodes and . We have a few shortcodes that you can use within your site to insert information from your site’s company settings and content.
Here is a complete list of the shortcodes you will find or may use on your Carrot site to display information or format it in a way you’d like.
The company shortcodes can be copied below and pasted onto your site’s page where you want that content. Though you will see the bracketed information, your visitors will see the details you have on your site’s settings.
[address] – This is your company’s street address
[city] – This is the city the business is located in
[state] – This is the state your business is located in
[company] – This is your company name
[market_city] – This is the city that you do business in
[market_state] -This is the state that you do business in
[phone] – This is your phone number
[map] – This is used to insert a Google map for your company address
[map address="INSERT ADDRESS BETWEEN QUOTES"] – Adds a Google map with a predefined address
Special Note: The shortcodes listed below may be seen on sites built circa October 2019 in the pre-Visual Editor classic containers. They were used to format items on the site without having to build out the code. We have those available within the editor of your site. These are for reference. They may still be used… However, you’ll find the editor options to be much easier and fluid for use.
The testimonial shortcodes can be copied below and pasted onto your site’s page where you want that content. Though you will see the bracketed information, your visitors will see the testimonials you have added under your site’s content > testimonials section.
[testimonials] – Use this to add your 3 recent testimonials as a block on the site
[testimonials random] – Use this to add a single, random testimonial to a page
[testimonials id=1205] – Use this to add a specific testimonial to a page
The property shortcodes can be copied below and pasted onto your site’s page where you want that content. Though you will see the bracketed information, your visitors will see the properties you have added under your site’s content > properties section.
[properties] – Use this to add your 3 recent properties as a block on the site
[properties count=6] – Use this to add a specific number of properties to a page (best to use multiples of 3)
[properties id=689] – Use this to add a specific property to a page
[button] – This is used to add a button to your site
[gravityform id="5"] – This is used to insert a form by its ID number. You can also use the “embed form” button in the editor.
The columns shortcode is a fantastic tool to be used if you are looking to use columns. The below columns are used by grabbing chunks of two side by side bracketed items, then inserting the details you want in a column between the two bracketed items.
[twocol_one] [/twocol_one] [twocol_one_last] [/twocol_one_last] – This is a code for two side-by-side columns.
[threecol_one] [/threecol_one] [threecol_one] [/threecol_one] [threecol_one_last] [/threecol_one_last] – This is a code for three side-by-side columns.