My Community Pro Theme Setup

  1. Home
  2. Docs
  3. My Community Pro Theme Setup
  4. Extras
  5. Neighborhoods – Order by Title (Alphabetically)

Neighborhoods – Order by Title (Alphabetically)

To show the Neighborhoods or Communities on the Home Page arranged alphabetically by title, you will edit the Shortcode used to display the communities.

The shortcode block uses the Display Posts plugin. This plugin allows for flexibility to display your communities or neighborhoods.

neighborhoods section shortcode block with Display Posts Shortcode

You will add order="ASC" orderby="title" to the neighborhoods shortcode:

So the shortcode will look like - you can copy this:

[display-posts image_size="square-image" post_type="wap-community"  wrapper="div" wrapper_class="display-posts community grid" posts_per_page="6" order="ASC" orderby="title" ]