Documentation

Shortcodes & widgets.

Every shortcode, every block, every Elementor widget — with parameter reference and worked examples. Display properties, projects, agents, search forms anywhere.

Three ways to display content

Prop Nexia gives you three ways to show your inventory on the front of your site. Pick whichever fits how you build pages:

  • Shortcodes — text-based. Works inside the page editor, theme PHP, sidebars and widgets.
  • Gutenberg blocks — visual configuration in the block editor. No code.
  • Elementor widgets — native widgets in the Elementor editor. No code.

All three call the same underlying templates. So a property card in a shortcode looks identical to one in a block or widget.

Property archive shortcode

Display a grid of properties:

[pn_properties limit="12" purpose="sale" city="dubai" community="dubai-marina"]

Parameters

ParameterDescription
limitHow many properties to show. Default 12. Use -1 to show all.
purposesale, rent, off-plan, or short-let.
typeProperty type — apartment, villa, townhouse, office, land.
cityCity slug — dubai, abu-dhabi, sharjah.
communityCommunity slug — dubai-marina, jvc, downtown.
min_price
max_price
Price range in your default currency. Numbers only, no symbols or commas.
beds1, 2, 3+ and so on.
featuredSet to yes to show only featured listings.
orderbydate (default), price, title, or random.
orderASC or DESC. Default is DESC.
stylegrid (default), list, or carousel.
columns2, 3, or 4. Default 3.

Worked examples

The 6 newest off-plan projects in Dubai Marina, displayed in a 3-column grid:

[pn_properties limit="6" purpose="off-plan" community="dubai-marina" columns="3"]

Featured villas for sale, AED 5M to AED 20M, ordered by price ascending:

[pn_properties type="villa" purpose="sale" min_price="5000000" max_price="20000000" featured="yes" orderby="price" order="ASC"]

A carousel of 8 random listings — good for a homepage section:

[pn_properties limit="8" style="carousel" orderby="random"]

The search form is the single most important component on a property website. Drop it on your homepage hero, in your header, or on a dedicated search page:

[pn_search style="hero" purpose-toggle="yes" advanced="yes"]

Parameters

ParameterDescription
stylehero (large, full-width), compact (single-row), or sidebar (vertical, narrow).
purpose-toggleSet to yes to show Sale and Rent tabs at the top.
advancedSet to yes to show min/max price, beds and baths fields.
actionURL of your search results page. Defaults to /properties/.
city_defaultPre-select a city — useful on city-specific landing pages.
Tip. The hero style is designed to sit inside a full-width section with a coloured or image background. Use compact for header bars and sidebar for filter panels on the side of your search results page.

Single property by ID or slug

Render a full single-property template anywhere on your site. Useful for hero placements, campaign pages, or featured listings on the homepage.

[pn_property id="123"]
[pn_property slug="marina-view-apartment"]

Find the ID in the URL when editing a property in WordPress admin. The slug is the same as the URL path.

Project archive

Display off-plan projects. Same parameter style as the property shortcode, with a few extras:

[pn_projects limit="6" developer="emaar"]
ParameterDescription
limitHow many to show. Default 12.
developerDeveloper slug — emaar, damac, nakheel.
handover_yearFilter by handover year — 2026, 2027, 2028.
communityCommunity slug.
stylegrid, list, or carousel.
columns2, 3, or 4.

Agent grid

Show your agency’s team:

[pn_agents limit="8" city="dubai"]

Each agent card shows their photo, name, BRN, languages and contact options. Click-through goes to the agent’s profile page, which lists their current listings.

ParameterDescription
limitHow many agents to show.
cityFilter by city.
specialityFilter by speciality — off-plan, luxury, rental, etc.
columns2, 3, or 4.

Area guide grid

Show community pages — Dubai Marina, Downtown, JVC and so on:

[pn_areas city="dubai" limit="12" columns="4"]

Each card links to the area guide page, which lists all listings inside that community plus lifestyle and price info.

Compare and favourites

Visitors can save listings to favourites and add them to a side-by-side comparison. Place these shortcodes on dedicated pages:

[pn_favourites]
[pn_compare]

The favourites page shows everything the visitor has saved. The compare page shows up to 4 properties side by side with their key details (price, beds, baths, area, amenities) in a single table.

Note. Anonymous visitors can save favourites — the list stays in their browser. When they sign up for a Buyer Account (Elite), their saved listings move into their account automatically.

Gutenberg blocks

Every shortcode above has a matching Gutenberg block with visual configuration. In the block editor, click + and search for Prop Nexia. You’ll see:

  • Properties (archive)
  • Property (single)
  • Search form
  • Projects
  • Agents
  • Area guides
  • Compare
  • Favourites

Each block has a sidebar panel with all the same parameters as the shortcode — but with proper labels, dropdowns and toggles. Recommended if you don’t write code.

Elementor widgets

If you have Elementor active, the same components appear as native Elementor widgets. Drag them onto your page from the widget panel. Visual configuration with Elementor’s responsive controls.

Find them under the Prop Nexia category in the Elementor widget panel.

Custom templates

To override the HTML that Prop Nexia renders, copy the template file from:

wp-content/plugins/prop-nexia/templates/

Into your active theme at:

wp-content/themes/your-theme/prop-nexia/

This is the standard WordPress template-override pattern. Your overrides survive plugin updates because we never touch your theme folder.

Common templates to override

  • card-property.php — the property card used in grids and lists.
  • single-property.php — the full single-property page.
  • archive-property.php — the property archive page layout.
  • search-form.php — the search form fields and layout.
  • card-project.php, card-agent.php, card-area.php — cards for other content types.
Heads up. When you override a template, your version replaces the whole file. So if we update the original in a future release, you’ll need to merge the changes into your copy. Use this for visual changes only, not for behaviour.