Title: Simple Membership Menu
Author: gioindahouz
Published: <strong>03. listopada 2015.</strong>
Last modified: 03. listopada 2015.

---

Pretraga dodataka

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

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

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

# Simple Membership Menu

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

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

 * [Detalji](https://hr.wordpress.org/plugins/simple-membership-menu/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/simple-membership-menu/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/simple-membership-menu/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/simple-membership-menu/#developers)

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

## Opis

#### 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

## Instalacija

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.

## Pitanja i odgovori

None.

## Recenzije

![](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/) 28. lipnja 
2017.

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/) 10. prosinca 2016. 1 odgovor

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/) 03. rujna 2016.

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/) 03. rujna 2016. 1 odgovor

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/) 03. rujna 2016.

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.

 [ Pročitajte svih 5 recenzija ](https://wordpress.org/support/plugin/simple-membership-menu/reviews/)

## Suradnici i Programeri

“Simple Membership Menu” je softver otvorenog koda. Sljedeće osobe su doprinijele
ovom dodatku.

Suradnici

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

[Prevedite “Simple Membership Menu” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/simple-membership-menu)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/simple-membership-menu/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/simple-membership-menu/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/simple-membership-menu/)
od [RSS](https://plugins.trac.wordpress.org/log/simple-membership-menu/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 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**
 *  Zadnje ažuriranje **prije 11 godina**
 *  Aktivnih instalacija **60+**
 *  WordPress inačica ** 3.3 ili viša **
 *  Testirano do **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/simple-membership-menu/)
 * Oznaka
 * [member](https://hr.wordpress.org/plugins/tags/member/)[members](https://hr.wordpress.org/plugins/tags/members/)
   [members-only](https://hr.wordpress.org/plugins/tags/members-only/)[membership](https://hr.wordpress.org/plugins/tags/membership/)
   [memberships](https://hr.wordpress.org/plugins/tags/memberships/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/simple-membership-menu/advanced/)

## Ocjena

 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/)

## Suradnici

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

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/simple-membership-menu/)