What are shortcodes?
Shortcodes are small text modules in square brackets that you can insert into your WordPress pages or posts - for example, to:
- display a search form
- show a list of properties in a location (e.g. for corresponding landing pages)
- place a carousel slider on the start page
Where can I insert shortcodes?
- in the normal text field of a page editor
- in a shortcode block in the Gutenberg editor
- in the text widget (e.g. in the sidebar)
π To the "Insert shortcodes" instructions
Available shortcodes (from WP-ImmoMakler PLUS)
From the PLUS version of WP-ImmoMakler, you have numerous shortcodes at your disposal with which you can place content specifically on pages, landing pages or in widgets. If you are currently only using the BASIC version, you can book an upgrade at any time. You only pay the difference. Please contact our support team for more information.
Examples:
-
[immomakler-archive] -
[immomakler-map] -
[immomakler-carousel] -
[immomakler-search-form] -
[immomakler-searchagents-form] -
[immomakler-propstack-suchprofil] -
[immomakler-single],[immomakler-single-subtitle]
π Tip: You can find a complete list in our shortcode demo.
Filter shortcodes with parameters
Many shortcodes can be combined with parameters to display specific content - similar to WP_Query in WordPress.
π§ Example:
Supported parameters (extract):
-
vermarktungsart,nutzungsart,typ,ort,status -
limit,columns,radius,boxed -
meta_key,meta_value,meta_compare,meta_type -
projekt,orderby,use_order
This allows properties to be filtered by type, location, price or individual fields, for example.
Examples of individual filters
π Further useful examples can be found in the developer documentation on filter hooks.
Carousel and map view
Carousel slider (e.g. start page)
Map view with filter
Notes for developers
-
Shortcodes can be used anywhere: in Templates, Widgets or by
do_shortcode(). -
For
[immomakler-searchagents-form]is the access toglobal $wp_queryrequired. -
When using Custom Fields (e.g.
meta_key), the appropriatemeta_typemust be specified.
The detailed documentation for developers can be found at [β WP-ImmoMakler: Using and customizing shortcodes - for developers]