mirasvit / module-blog

Magento 2 Blog Extension
https://mirasvit.com/magento-2-extensions/blog.html
Open Software License 3.0
67 stars 48 forks source link

Add This showing on default landing page #68

Closed BeeHealthLimited closed 6 years ago

BeeHealthLimited commented 7 years ago
<?php if ($block->isAddThisEnabled() && !$block->getCategory()): ?>
        <span class="addthis_sharing_toolbox blog__post-meta-sharing"></span>
    <?php endif ?>

How do I prevent Addthis showing on "/blog"?

RomanZh commented 7 years ago

You can control displaying of Addthis through blog settings. Please check http://www.screencast.com/t/VwXg6WRNK

BeeHealthLimited commented 7 years ago

Yes, however from the above code it does not show when in category view As you can see here: https://www.fscsupplements.com/blog/Nutrition.html However when accessing https://www.fscsupplements.com/blog the Addthis is shown as no category is set. I would like Addthis enabled, but not shown on the blog landing page.