Skip to Content

Communities Post Type

This module will add communities post.

Required Plugins

  • AIOS Initial Setup

Installation

Step 1. Download and Active Required Plugins.

Step 2. Download the package and unzip it.

Step 3. Pick the theme that you want inside the unzip folder.

Step 4. Move Template Files to Root Folder

  • Move the archive-communities.php and single-communities.php on your current theme’s root folder.

Step 5. Move the communities-post-type folder under your current theme’s modules folder.

Step 6. Include Module Files (If Needed)

  • If your current theme doesn’t automatically includes all module files under modules folder, you may manually include this on your functions.php

Shortcodes

Community Archive

html
[agentpro_community_archive]

Attributes:

  • posts_per_page - number of retrieved communities. Default: -1
  • order - the ascending or descending order of the retrieved testimonials. Default: ASC
  • orderby - sorts the retrieved testimonials by parameter. Default: title
  • thumbnail_size - size of the featured image. Default: full
  • view_more_link - link of view more button. Default: home_url() . '/communities/'
  • view_more_text - text of the view more button, this only supports html span tag. Default: Surrounding {{tag_span}}Areas{{/tag_span}}
  • with_view_more - if set true, this will display a view more button. Default: false
  • no_results_text - result text if no communities found. Default: No Communities Found...
  • show_attributes - if set to true, this displays all available attributes of the shortcode. Default: false
Last updated on