Title: Map Cap
Author: thenbrent
Published: <strong>Agẹmọ  31, 2010</strong>
Last modified: Ògún  15, 2013

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

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

# Map Cap

 Láti ọwọ́ [thenbrent](https://profiles.wordpress.org/thenbrent/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/map-cap.2.1.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/map-cap/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/map-cap/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/map-cap/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/map-cap/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/map-cap/)

## Àpèjúwe

Using custom post types on your site?

Install this plugin to control which roles can publish, edit and delete posts of
each custom type.

For this plugin to work, your custom post type must meet a number of requirements
as outlined in the [FAQ](https://wordpress.org/extend/plugins/map-cap/faq/).

## Àwọn àwòrán ìbòjú

[⌊Admin Map Cap Settings Page - Site administrators can choose the capabilities 
each role has for each custom post type.⌉⌊Admin Map Cap Settings Page - Site administrators
can choose the capabilities each role has for each custom post type.⌉[

**Admin Map Cap Settings Page** Ìtumọ̀ Yorùbá: – Site administrators can choose 
the capabilities each role has for each custom post type.

## Ìgbéwọlẹ̀

 1. Download and unzip the plugin
 2. Upload the `map-cap` folder to the `/wp-content/plugins/` directory
 3. Activate the plugin through the `Plugins` menu in WordPress
 4. Navigate to `Map Cap` under the `Settings` menu to set capabilities

## FAQ

  Why arenÌtumọ̀ Yorùbá: ’t all my custom post types listed on the options page?

There are four requirements for a custom post type to show up in Map CapÌtumọ̀ Yorùbá:’
s settings page.

The post type must:

 1. be public
 2. not be a built-in post type eg. page & post
 3. use a custom capability type (not the default capability of _post_). This is done
    when registering the Custom Post Type. In the `$args` array you pass to the `register_post_type`
    function, your plugin must have `capability_type =>` set to something other than
    post.
 4. be registered with the `map_meta_cap` argument set to `true` Ìtumọ̀ Yorùbá: – the
    default is `false`. Without this parameter set to `true`, WordPress does not map
    any meta capabilities.

  Force Mapping

As many custom post types do not set the `map_meta_cap` to true, Map Cap offers 
an option to change the value of the `map_meta_cap`.

For this to work, the plugin must register the post type on the `init` hook with
a priority less than 10,000.

This feature works with the [Custom Post Type UI plugin](https://wordpress.org/extend/plugins/custom-post-type-ui/)
plugin but is not guaranteed to work with any other plugins.

  Using the Custom Post Type UI plugin?

If you are using the [Custom Post Type UI plugin](https://wordpress.org/extend/plugins/custom-post-type-ui/),
when adding a custom post type, you must click _View Advanced Options_ and change
_Capability Type_ to something other than _post_. For example, for a custom post
type of _Stories_ the capability could be _story_.

You then need select the custom post type under the _Force Mapping_ section of the
Map Cap settings page.

  Where can I report bugs?

Add a new post in the WordPress.org [PluginÌtumọ̀ Yorùbá: ’s Support Forum](https://wordpress.org/tags/map-cap).

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“Map Cap” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin
yìí.

Àwọn Olùkópa

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

[Túmọ̀ “Map Cap” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/map-cap)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/map-cap/), ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/map-cap/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/map-cap/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/map-cap/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 2.1

 * Fix ‘Invalid argument supplied for foreach() in map-cap.php on line 268’ when
   deactivating a plugin or theme which registered the custom post type Map Cap 
   was operating on

#### 2.0

 * Changing capabilities for custom posts with “post” capability type no longer 
   allowed
 * Option to change the `map_meta_cap` flag at run-time
 * When changing a shared capability, a warning is shown
 * Readme changes to help resolve common issues.
 * Fixing bug where a post without the ‘author’ feature could not be trashed while
   having Draft status.

#### 1.0

 * Initial release.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **2.1**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 13 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **100+**
 *  Ẹ̀yà WordPress ** 3.1 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **3.1.4**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/map-cap/)
 * Àwọn àmì
 * [capabilities](https://yor.wordpress.org/plugins/tags/capabilities/)[custom post types](https://yor.wordpress.org/plugins/tags/custom-post-types/)
   [roles](https://yor.wordpress.org/plugins/tags/roles/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/map-cap/advanced/)

## Àwọn ìbò

 5 lára àwọn ìràwọ̀ 5.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/map-cap/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/map-cap/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/map-cap/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/map-cap/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/map-cap/reviews/?filter=1)

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

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/map-cap/reviews/)

## Àwọn Olùkópa

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

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/map-cap/)