Title: Multisite Directory
Author: Meitar
Published: <strong>30 مارس 2016</strong>
Last modified: 16 ژوئن 2017

---

جستجوی افزونه‌ها

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/multisite-directory.svg)

# Multisite Directory

 توسط [Meitar](https://profiles.wordpress.org/meitar/)

[دانلود](https://downloads.wordpress.org/plugin/multisite-directory.0.2.3.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/multisite-directory/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/multisite-directory/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/multisite-directory/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/multisite-directory/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/multisite-directory/)

## توضیحات

Multisite Directory provides a customizable Network-wide site directory for WordPress
Multisite installations. You can categorize subsites in your Network, add full-length
descriptions and featured images to them, and more. Theme developers can customize
the look and feel of the site directory using all the tools they’re already familiar
with. Blog authors can use a highly-configurable shortcode (`[site-directory]`) 
to display the directory anywhere shortcodes are supported.

Each time a new site or blog is added to your Network, a corresponding entry in 
the site directory is added, too. The directory is managed from the Network’s main
site, but most changes to the subsites (other blogs) automatically update the directory.
Many parts of a given site’s appearance in the directory can be modified without
affecting the site itself. This means a Super Admin can use a custom site logo, 
tagline, and so on in the directory itself, without changing the site’s _actual_
logo, tagline, and so on. Additional options in the _Network Settings → Network 
Directory_ section allows Super Admins to tweak the bells and whisltes, such as 
keeping Directory Entry titles in sync with Site Name changes.

Site directory entries are implemented as a hierarchical custom post type in the
main site. These pages can be categorized with a custom `subsite_category` taxonomy.
We’ve found that this combination allows maximum flexibility while providing the
tightest integration with existing WordPress core features. As a result, no new 
tables are added to your install, and no side effects are introduced. It Just Works.(
TM)

**Quickstart guide**

After [installing](https://wordpress.org/plugins/multisite-directory/installation/)
the plugin, you’ll want to:

 1. As a Super Admin, go to My Sites → Network Admin → Sites. Notice the new “Categories”
    link on the sidebar.
 2. Create some categories! If the category relates to a location (maybe it’s a site
    for a regional chapter of your organization?), be sure to click the map to geotag
    it.
 3. Click on “Directory,” immediately above “Categories.” These pages are the individual
    directory entries, _not_ the blogs. Categorize these pages as you would regular
    WordPress Pages to organize your Site Directory.
 4. Go to any site’s Appearance → Widgets screen, and add a “Network Directory Widget”
    to a widget area.
 5. If you’ve geotagged some of your Site Categories, choose “Display as map” from 
    the widget options. (Otherwise, leave it on “Display as list.”)
 6. Click _Save_, view your blog, and enjoy your new Site Directory!

Check out the [Screenshots](https://wordpress.org/plugins/multisite-directory/screenshots/)
for a few examples.
 This plugin provides a number of functions to Theme authors
so that they can make use of the Multisite Network Directory features in their themes.
This section documents those functions. For implementation details, see this plugin’s`
includes/functions.php` file.

#### get_site_directory_terms

Gets all categories in the site directory.

 * @return array|false|WP_Error

#### Get site terms

Gets the categories assigned to a given blog in the network directory.

 * @param int $blog_id
 * @return array|false|WP_Error

#### the_site_directory_logo

Prints the site’s custom logo or the site directory entry’s featured image, if it
has one.

 * @param int $blog_id Optional. The ID of the site whose logo to get. Default is
   the current directory entry’s site’s logo.
 * @param string|int[] $size
 * @param string|string[] $attr
 * @return void

## عکس‌های صفحه

 * [[
 * Multisite Directory adds a “Categories” entry to your Sites menu so you can organize
   your sites using the familiar Category interface.
 * [[
 * Site categories include geotagging capabilities out-of-the-box, so you can easily
   group your sites by geographic region.
 * [[
 * The plugin includes a Network Directory Widget as well as a shortcode (`[site-
   directory]`) that make it easy to publish a simple Multisite Network Directory
   in a post, page, or widget area.
 * [[
 * When users create new sites, they can categorize their blog under the scheme 
   you created. Once their site is created, however, the Super Admin can always 
   re-categorize the new site at will.

## نصب

Multisite Directory is for WordPress Multisite installations only. Do not use this
plugin for single-site installs.

To manually install Multisite Directory:

 1. Upload the unzipped `multisite-directory.zip` file to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Customize your site directory in the main site’s Dashboard.

## سوالات متداول

  Installation Instructions

Multisite Directory is for WordPress Multisite installations only. Do not use this
plugin for single-site installs.

To manually install Multisite Directory:

 1. Upload the unzipped `multisite-directory.zip` file to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Customize your site directory in the main site’s Dashboard.

  How do I customize the directory?

Edit your theme’s templates! 🙂 This plugin makes no assumptions about the look-
and-feel of your directory so that any theme that wants to can customize it. You
only need to customize your theme if you want to change the default appearance.

As a Theme author, you will probably want to create at least two new files:

 * `archive-network_directory.php`
 * `taxonomy-subsite_category.php`

The `archive-*` page is the main directory page. It will list all the sites in your
multisite network. The `taxonomy-*.php` page will list a subset of the sites in 
your network based on their categorization. You can customize these files as you
would any other theme file.

If you do not create these files, then the [default WordPress template hierarchy](https://developer.wordpress.org/themes/basics/template-hierarchy/)
will take over, meaning that either the `archive.php` or `index.php` template file
in your main site’s currently active theme will be used to display the network directory
itself and one of `taxonomy.php` or `index.php` will be used to display a filtered
view of your directory’s categories.

  How do I customize the map’s popups?

By default, when you click on a pin in the directory’s map view, you’ll see a list
of links to the categorized subsites in your network, along with their site logo(
if they have one). Most themes do not come with custom styles for map popups, so
to customize their look and feel to match your site, you will need to write [CSS](https://codex.wordpress.org/CSS)
to define a presentation for the lists yourself.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/0cecb225b7bb7b9ec688c1a13deafc8a974643f9b0d2bb7bf42e3b932c3540d8?
s=60&d=retro&r=g)

### 󠀁[Not Working at All! No Documentation!!!](https://wordpress.org/support/topic/not-working-at-all-no-documentation/)󠁿

 [toremo](https://profiles.wordpress.org/toremo/) 21 دسامبر 2020 1 پاسخ

No subsites show up in the list – You can add a featured image that shows up when
you click on “view” in the directories But thats it, nothing gets listed at all 
nor can you sort or do any other thing

![](https://secure.gravatar.com/avatar/98e390ad38f26f6223f4ed2b132a36cf8194231c238749e7a2cb5ac14f796f34?
s=60&d=retro&r=g)

### 󠀁[No documentation](https://wordpress.org/support/topic/no-documentation-33/)󠁿

 [PaulBart1974](https://profiles.wordpress.org/paulbart1974/) 19 مارس 2018 3 پاسخ

Sorry I want to give this higher, but there is no documentation to help people out.

![](https://secure.gravatar.com/avatar/cad8703dfee215802ac502d00ccb372980f0b45cca9601eff4e91d23ffafcf10?
s=60&d=retro&r=g)

### 󠀁[Stellar! Incredible plugin. Powerful and unique. My must have plugin.](https://wordpress.org/support/topic/stellar-incredible-plugin-powerful-and-unique-my-must-have-plugin/)󠁿

 [Toni](https://profiles.wordpress.org/tools4toni/) 3 سپتامبر 2016 3 پاسخ

I finally fully implemented the plugin. Incredible results. I had to stop my work
to write this review. This is a great way to get your sites visable – not just a
list of links in a menu, but a list with descriptions, then a preview page with 
a link. That entire structure its generated by the plug-in, with your content. You
simply add the sections via the standard menu interface. The plugin concept and 
execution are great! The results professional and integrate with any theme seamlessly.
All done with minimal effort for the user. I must admit, I haven’t used any shortcodes
yet. Thank you for your hard work and for sharing this stellar plug-in. I will be
donating. All 4-5 star reviews should donate something. I want this plugin to be
maintained. Cheers!

![](https://secure.gravatar.com/avatar/8ce0d0d9b0b418a49d3bc2faa7064a930c2cca20e12b8d81274ab7f789d6c31c?
s=60&d=retro&r=g)

### 󠀁[Really good](https://wordpress.org/support/topic/really-good-162/)󠁿

 [tybor](https://profiles.wordpress.org/tybor/) 3 سپتامبر 2016 1 پاسخ

Work as expected. The only reason I don’t give 5 stars is that shortcode options
aren’t documented. I’ve just forked the code on GitHub, I’ll work it out when at
home

 [ خواندن تمامی 3 نقد و بررسی‌ ](https://wordpress.org/support/plugin/multisite-directory/reviews/)

## توسعه دهندگان و همکاران

“Multisite Directory” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Meitar ](https://profiles.wordpress.org/meitar/)

[ترجمه “Multisite Directory” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/multisite-directory)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/multisite-directory/),
check out the [SVN repository](https://plugins.svn.wordpress.org/multisite-directory/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/multisite-directory/)
by [RSS](https://plugins.trac.wordpress.org/log/multisite-directory/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 0.2.3

 * Updated translations and numerous compatibility improvements (props @hvianna).
 * Protect against errors when mistakenly activated on a single-site WordPress install.
 * [Enhancement](https://wordpress.org/support/topic/https-links-on-http-sub-site/#post-9232370):`
   get_site_permalink()` now supports the `scheme` parameter of [`get_site_url()`](https://developer.wordpress.org/reference/functions/get_site_url/).
 * Feature: Choose to keep Directory Entry titles in sync with Site Name changes.
 * [Bugfix](https://wordpress.org/support/topic/shortcode-output-always-appearing-above-page-content/):
   Fix bug where shortcode was always printed above post content.

#### 0.2.2

 * Adds `custom-fields` support to Site Directory entries.
 * Adds contextual help on the Site Directory post edit screen.

#### 0.2.1

 * Feature: Shortcake UI integration. (You must have the [Shortcode UI plugin](https://wordpress.org/plugins/shortcode-ui/)
   activated for this to work. Props @misfit.)
 * [Developer](https://wordpress.org/support/topic/hiding-the-geo-parts): You can
   now programmatically remove the geolocation interface from the Subsite Category
   admin pages. Use code such as `remove_action('subsite_category_edit_form_fields',
   array('Multisite_Directory_Taxonomy', 'edit_form_fields));` from a plugin or 
   theme to do so.

#### 0.2

 * Feature: New shortcode argument `query_args` accepts a JSON string to pass to`
   get_posts()`.
 * Bugfix: Remove front matter from rewrite rules.
    - Note that this changes your permalink structure. If the network directory 
      posts on your site are not showing up after you update, be sure to visit your
      Permalink settings screen and click “Save Changes” (without making any changes)
      to force a refresh.
 * Numerous bugfixes.

#### 0.1.2

 * Bugfix: “Remove location” button on taxonomy edit screen correctly deletes term
   geolocation metadata.

#### 0.1.1

 * [Bugfix](https://wordpress.org/support/topic/problem-with-shortcode-on-page):
   Fix PHP warning when no attributes are passed to the shortcode.

#### 0.1

 * First public release.

## اطلاعات

 *  نگارش **0.2.3**
 *  Last updated **9 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 4.6 یا بالاتر **
 *  Tested up to **4.8.28**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/multisite-directory/)
 * Tags
 * [multisite](https://fa.wordpress.org/plugins/tags/multisite/)[network](https://fa.wordpress.org/plugins/tags/network/)
   [posts](https://fa.wordpress.org/plugins/tags/posts/)[taxonomy](https://fa.wordpress.org/plugins/tags/taxonomy/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/multisite-directory/advanced/)

## امتیازها

 3.3 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/multisite-directory/reviews/?filter=5)
 *  [  امتیاز 1 4-ستاره     ](https://wordpress.org/support/plugin/multisite-directory/reviews/?filter=4)
 *  [  امتیاز 1 3-ستاره     ](https://wordpress.org/support/plugin/multisite-directory/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/multisite-directory/reviews/?filter=2)
 *  [  امتیاز 1 1-ستاره     ](https://wordpress.org/support/plugin/multisite-directory/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/multisite-directory/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/multisite-directory/reviews/)

## مشارکت کنندگان

 *   [ Meitar ](https://profiles.wordpress.org/meitar/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/multisite-directory/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TJLPJYXHSRBEE&lc=US&item_name=Multisite%20Directory%20WordPress%20Plugin&item_number=multisite-directory&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)