This is a Leed's plugin to switch between the feed or the live (iframe) version of the content.
You need to have a working copy of Leed. If not look at the Leed's install instructions.
If the theme that you are using handles this plugin, you can switch the view clicking at the switch button.
- Download LeedRSSOrSiteView into the
pluginsfolder of Leed - Activate
LeedRSSOrSiteViewfrom the settings page
- Disable
LeedRSSOrSiteViewfrom the settings page - Remove the
LeedRSSOrSiteViewfolder fromplugins
-
Add this to each parent event class container:
{if="isset($value->view) && $value->view == 1"} event--website-view js-website-view{/if} -
Add this to each event container where you want the button to appear:
{if="isset($value->view)"}
<button class="article__content__switch-view js-switch-view" data-view="{$value->view}">{if="$value->view == 0"}{function="_t('SITE_VIEW')"}{else}{function="_t('RSS_VIEW')"}{/if}</button>
{/if}
Leed RSS Or Site View is under MIT License.