Title: Simple Membership Menu
Author: gioindahouz
Published: <strong>2015(&#101;)k&#111; urria&#114;&#101;&#110; 3(&#97;)</strong>
Last modified: 2015(&#101;)k&#111; urria&#114;&#101;&#110; 3(&#97;)

---

Bilatu pluginak

![](https://ps.w.org/simple-membership-menu/assets/banner-772x250.jpg?rev=1258655)

Plugin hau **ez da probatu WordPressen azken 3 bertsio garrantzitsuenekin**. Baliteke,
jada, mantentze edo euskarririk ez izatea, eta, WordPressen bertsio berriagoekin
erabiltzen denean, bateragarritasun arazoak izan ditzake.

![](https://s.w.org/plugins/geopattern-icon/simple-membership-menu_00aee1.svg)

# Simple Membership Menu

 [gioindahouz](https://profiles.wordpress.org/gioindahouz/)-(r)en eskutik

[Deskargatu](https://downloads.wordpress.org/plugin/simple-membership-menu.1.0.0.zip)

 * [Xehetasunak](https://eu.wordpress.org/plugins/simple-membership-menu/#description)
 * [Berrikuspenak](https://eu.wordpress.org/plugins/simple-membership-menu/#reviews)
 *  [Instalazioa](https://eu.wordpress.org/plugins/simple-membership-menu/#installation)
 * [Garapena](https://eu.wordpress.org/plugins/simple-membership-menu/#developers)

 [Laguntza](https://wordpress.org/support/plugin/simple-membership-menu/)

## Deskripzioa

#### Simple Membership Menu permits to set visiblity restriction on menu items

By the way, you can hide or show, menu items following the configured roles ( Simple
Membership roles )

#### Documentation

This plugin is a extension of the great plugin : [Simple Membership Plugin](https://simple-membership-plugin.com/).

Read the [setup documentation](https://simple-membership-plugin.com/simple-membership-documentation/)
after you install the main plugin Simple Membership to get started.

After the Simple Membership Plugin installed, you can install this plugin.

#### Plugin Support

If you have any issue with this plugin, please feel free to contact me

### Dependencies

This plugin is a extension of the great plugin : [Simple Membership Plugin](https://simple-membership-plugin.com/).

### Arbitrary section

None

## Instalazioa

Do the following to install the membership plugin:

 1. Upload the ‘simple-wp-membership-menu.zip’ file from the Plugins->Add New page 
    in the WordPress administration panel.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## MEG

None.

## Berrikuspenak

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

### 󠀁[Works, but you need to apply a fix first](https://wordpress.org/support/topic/works-but-you-need-to-apply-a-fix-first/)󠁿

 [Gwyneth Llewelyn](https://profiles.wordpress.org/gwynethllewelyn/) 2017(e)ko ekainaren
28(a)

Very simple plugin which allows you to select each and every menu option and tell
which should be visible according to the login class. Unfortunately, the owner abandoned
the plugin two years ago, and there are no replacement plugins for it; so for more
recent versions of WordPress you need to manually apply the following simple patch
to get it working again: https://wordpress.org/support/topic/fix-for-wordpress-4-
7-2-solved/

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

### 󠀁[Works great when fixed](https://wordpress.org/support/topic/works-great-when-fixed/)󠁿

 [daz89](https://profiles.wordpress.org/daz89/) 2016(e)ko abenduaren 10(a) 1 reply

Had menus running smooth, did as promised

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

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-861/)󠁿

 [lziglar](https://profiles.wordpress.org/lziglar/) 2016(e)ko irailaren 3(a)

Thanks to the fix by dwsdolce, this plugin was exactly what I needed for a membership
site. Very easy and intuitive.

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

### 󠀁[Plugin works great once fixed](https://wordpress.org/support/topic/plugin-works-great-once-fixed/)󠁿

 [dwsdolce](https://profiles.wordpress.org/dwsdolce/) 2016(e)ko irailaren 3(a) 1
reply

Once I replace add_swpm_fields with: [ Moderator note: code fixed. Please wrap code
in the backtick character or use the code button. ] function add_swpm_fields( $id,
$item, $depth, $args ) { //// Logged levels $levels = $this->get_membership_levels();
$item_groups = get_post_meta( $item->ID, self::META_KEY_NAME, true ); ?> <p class
="description description-wide menu-item-actions"> Membership groups permitted :
<?php foreach($levels as $level) { $key = self::META_KEY_NAME.'-'.$level->id; $name
= sprintf( '%s[%s]', $key, $item->ID ); // Handle the case where there is no array
because it is a new menu item that has been added. // In this case checkall of the
member levels since it is more likely to be included than not. if ( is_array( $item_groups)){
$checked = in_array($level->id, $item_groups) || (count($item_groups) == 0 && $level-
>id == self::NOT_LOGGED_IN_LEVEL_ID) ? "checked" : ""; } else { $checked = "checked";}//
If the class menu-item-title is used then this is perceived to be a menu item that
can be moved and will cause the // Under link to include all of the member leves.
Not good. ?> <label class="swpm-menu-item-title" style="padding-top:8px;padding-
bottom:8px;"> <?php printf( '<input type="checkbox" class="menu-item-checkbox" name
="%3$s" value="%1$s" %4$s> %2$s', $level->id, $level->alias, $name, $checked); ?
> </label> <?php } ?> </p> <?php } it works well.

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

### 󠀁[Nothing but errors](https://wordpress.org/support/topic/nothing-but-errors/)󠁿

 [stermie](https://profiles.wordpress.org/stermie/) 2016(e)ko irailaren 3(a)

This plugin throws a bunch of PHP errors within the Menu editor as well as on the
front end of the site without even doing anything but installing it.

 [ Irakurri 5 berrikuspenak ](https://wordpress.org/support/plugin/simple-membership-menu/reviews/)

## Laguntzaileak eta Garatzaileak

“Simple Membership Menu” software librea da. Ondoko pertsonek egin dizkiote ekarpenak
plugin honi.

Laguntzaileak

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

[Itzul zaitez Simple Membership Menu zure hizkuntzara.](https://translate.wordpress.org/projects/wp-plugins/simple-membership-menu)

### Garapena interesatzen zaizu?

[Araka kodea](https://plugins.trac.wordpress.org/browser/simple-membership-menu/),
begiratu [SVN biltegia](https://plugins.svn.wordpress.org/simple-membership-menu/)
edo harpidetu [garapen erregistrora](https://plugins.trac.wordpress.org/log/simple-membership-menu/)
[RSS](https://plugins.trac.wordpress.org/log/simple-membership-menu/?limit=100&mode=stop_on_copy&format=rss)
bidez.

## Aldaketen loga

#### 1.0.0

 * Add group access restriction to menu items ( Appearance -> Menu ) following the
   roles created from the Simple Membership Panel.

## Meta

 *  Version **1.0.0**
 *  Azken eguneraketa **duela 11 urte**
 *  Instalazio aktiboak **60+**
 *  WordPress bertsioa ** 3.3 edo handiagoa **
 *  **4.3.34** (e)raino probatuta.
 *  Language
 * [English (US)](https://wordpress.org/plugins/simple-membership-menu/)
 * Etiketak
 * [member](https://eu.wordpress.org/plugins/tags/member/)[members](https://eu.wordpress.org/plugins/tags/members/)
   [members-only](https://eu.wordpress.org/plugins/tags/members-only/)[membership](https://eu.wordpress.org/plugins/tags/membership/)
   [memberships](https://eu.wordpress.org/plugins/tags/memberships/)
 *  [Ikuspegi aurreratua](https://eu.wordpress.org/plugins/simple-membership-menu/advanced/)

## Balorazioak

 3.8 out of 5 stars.

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

[Your review](https://wordpress.org/support/plugin/simple-membership-menu/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/simple-membership-menu/reviews/)

## Laguntzaileak

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

## Laguntza

Zerbait duzu esateko? Laguntza behar?

 [Ikusi laguntza foroa](https://wordpress.org/support/plugin/simple-membership-menu/)