[rep_search_profiles]
You can use our Search Profile Listing Shortcode to display profile from your Malcolm account directly on any page or post.
Product
Shortcode Attributes
There are a number of shortcode attributes available which you can use to customise the output.
- display – Defines the display between Grid, and Carousel view.
- Default: The default value is based on the selected layout under Malcolm > Settings > General > General > Display.
- Options:
grid,carousel.
- layout – Controls the layout of each team members on the result.
- Default: The default value is based on the selected layout under Malcolm > Settings > General > General > Layout.
- Options: From
1to5. Specify one only.1– Image above content2– Image left content3– Image right content4– Image overlay content5– Content only
- columns – Defines how many team members are displayed per row. Use in conjunction with layout
1,4, and5. This attribute is ignored on layout2and3.- Default: The default value is based on the selected layout under Malcolm > Settings > General > General > Columns.
- Options: From
1to5. Specify one only.
- max_chars – Maximum number of characters/words to display in the description.
- Default: The default value is based on the selected layout under Malcolm > Settings > General > General > Max Characters.
- Options: Integer values. Recommended value is around 150.
- max_posts – The maximum number of team members to display.
- Default: The default value is based on the selected layout under Malcolm > Settings > General > General > Max Posts.
- Options: Integer values.
GRID LAYOUT
- posts_per_page – Toggles pagination on. Use in conjunction with max_posts.
- Default: The default value is based on the selected layout under Malcolm > Settings > General > General > Posts Per Page.
- Options: Integer values.
CAROUSEL LAYOUT
- autoplay – Enable or disable carousel autoplay.
- Default: The default value is based on the selected layout under Malcolm > Settings > General > General > Autoplay.
- Options:
onoroff. Other truthy value is accepted like ‘yes’, ‘no’, ‘1’, ‘0’, ‘true’, ‘false’.
- infinite_carousel – Enable or disable infinite carousel, allowing the carousel to slide endlessly.
- Default: The default value is based on the selected layout under Malcolm > Settings > General > General > Infinite Carousel.
- Options:
onoroff. Other truthy value is accepted like ‘yes’, ‘no’, ‘1’, ‘0’, ‘true’, ‘false’.
SECTION
- header_title – Displays section title on the section header above the section body.
- header_sub_title – Displays section sub title on the section header above the section body.
- section_background_image – Adds a background image to the HTML wrapper for the feed. Use image URL.
- section_font_color – Defines the font color of section header and section footer.
- section_width – Defines the width of the feed.
- Default:
default(which is a max width of 1140px). - Options:
default,small,medium,largeorfull(specify one only).
- Default:
- classes – Adds an HTML wrapper class so you can modify the specific output with custom CSS.
FILTER
- archive – If set, the shortcode will allow filtering the results based on the user search.
- Default:
off. - Options:
onoroff. Other truthy value is accepted like ‘yes’, ‘no’, ‘1’, ‘0’, ‘true’, ‘false’.
- Default:
- search_filter – Display search filter form to search through the team members. Setting this on will set
archiveattribute toonregardless of the value set on that attribute.- Default:
off. - Options:
onoroff. Other truthy value is accepted like ‘yes’, ‘no’, ‘1’, ‘0’, ‘true’, ‘false’.
- Default:
- contact_id – Specifies the contact ID used to filter profiles.
- finance_pre_approval – Filter by pre-approval status for financing.
- Default:
both. - Options:
both,yes,no. Specify one only
- Default:
- orderby – Specifies the order in which team members are displayed.
- Default:
date. - Options:
date,,namerand. Specify one only.
- Default:
- order – Specifies the order of sorting team members.
- Default:
desc. - Options:
asc,desc. Specify one only.
- Default:
- featured – Filters team members based on their “featured” status.
- Default:
off. - Options:
onoroff. Other truthy value is accepted like ‘yes’, ‘no’, ‘1,’ , ‘0’, ‘true’, ‘false’.
- Default:
- search_location – Specifies a search location for filtering team members by their location.
- tags – Set the post tags.
CONTENT
- content_to_display – Specifies the content details to display for profiles.
- Default:
name,price,description.
- Default:
Example Usage
[rep_search_profiles contact_id="123" finance_pre_approval="yes"]
[rep_search_profiles display="carousel" orderby="name" order="ASC"]
[rep_search_profiles posts_per_page="10" search_filter="true"]
| Example 1: Displaying Profiles Filtered by Contact and Pre-Approval. Example 2: Displaying Profiles in a Carousel Sorted by Name. Example 3: Displaying Profiles with Pagination and Search Filter |
team module must be active.Pagination is added automatically on
grid display if there are more results than can be displayed at once.