Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from dparker1005/master
Browse files Browse the repository at this point in the history
Now checking which levels to display instead of displaying all levels.
  • Loading branch information
kimcoleman authored Aug 7, 2019
2 parents ec6e501 + d6200c2 commit f76de0c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: strangerstudios
Tags: paid memberships pro, pmpro, memberships, ecommerce
Requires at least: 3.0
Tested up to: 4.1.1
Stable tag: .2
Tested up to: 4.8
Stable tag: .3

The default PMPro Membership Levels page displays in a table layout. This plugin changes your levels page layout to use a DIV for each level. If you are using the PMPro Level Cost Text add on, it will use that text for the generated price sentence. Alternately, it will just use the automatically generated level cost text PMPro provides.

Expand All @@ -18,7 +18,10 @@ Display your Membership Levels in a DIV layout, allowing you to add custom CSS t
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. That's it. No settings.

== Changelog ==
== Changelog ==
= .3 =
* Now checking which levels to display instead of displaying all levels.

= .2 =
* Added meta links to plugins page.
* Fixed _e() use in some cases.
Expand Down
2 changes: 1 addition & 1 deletion pmpro-div-levels.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Paid Memberships Pro - Levels as DIV Layout Add On
Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-div-levels/
Description: Display your Membership Levels Page in a DIV Layout for Paid Memberships Pro
Version: .2
Version: .3
Author: Stranger Studios
Author URI: http://www.strangerstudios.com
*/
Expand Down
1 change: 1 addition & 0 deletions templates/levels.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

<?php
$count = 0;
$pmpro_levels = apply_filters("pmpro_levels_array", $pmpro_levels);
foreach($pmpro_levels as $level)
{
if(isset($current_user->membership_level->ID))
Expand Down

0 comments on commit f76de0c

Please sign in to comment.