Displays ISIC benefit providers, discounts and locations based on data in Discount Manager.
It is a classic WP plugin that communicates with Discount Manager via API. Through the plugin you can load discounts, search for them, sort them, comment, rate, etc. To load the discount interface, you need to add a block of shortcode to your page.
[dm_full_discounts list_header="{your-header-text}" card_types="{comma-separated-card-types}" card_types_brands="{card_type=name,card_type=name ...}"]
list_header="Discounts"
card_types="isic, itic, eyca"
, allowed list of card types (isic, isic_scholar, itic, iytc, alive, eyca)card_types_brands="eyca=EURO<26"
[dm_searchbox url="{url-of-page-with-search-interface}"]
url="https://www.isic.cz/slevy/cr"
or url="slevy/cr"
[dm_newest_discounts limit="{number-of-displayed-items}" search_page="{url-of-page-with-search-interface}"]
limit="10"
search_page="slevy/cr"
{WP_INSTALLATION}/wp-admin/plugins.php
{WP_INSTALLATION}/wp-admin/options-general.php?page=alive-dm-plugin-admin
# Rewrite rule for suggestions request proxy.
RewriteCond %{QUERY_STRING} ^(action=suggestions)(.*)$ [NC,OR]
# Rewrite rule for comments request proxy.
RewriteCond %{QUERY_STRING} ^(action=comments)(.*)$ [NC,OR]
# Rewrite rule for providers request proxy.
RewriteCond %{QUERY_STRING} ^(.*)(action=providers)(.*)$ [NC,OR]
# Rewrite rule for provider request proxy.
RewriteCond %{QUERY_STRING} ^(.*)(action=provider)(.*)$ [NC,OR]
# Rewrite rule for comments request proxy.
RewriteCond %{QUERY_STRING} ^(.*)(action=branches)(.*)$ [NC,OR]
# Rewrite rule for increasing providers view count request proxy.
# When using any hardening plugin you will need to whitelist this file
RewriteCond %{QUERY_STRING} ^(action=add_provider_view)(.*)$ [NC]
RewriteRule ^wp-admin/admin-ajax.php$ wp-content/plugins/alive-dm-plugin/request-proxy/request-proxy.php?%1&%2 [NC,L]
RewriteRule ^wp-admin/admin-ajax.php$ wp-content/plugins/orchitech-dm/request-proxy/request-proxy.php?%1&%2 [NC,L]
to RewriteRule ^wp-admin/admin-ajax.php$ wp-content/plugins/alive-dm-plugin/request-proxy/request-proxy.php?%1&%2 [NC,L]