How to?

  1. Accelerated Mobile Pages on Magento 2 Blog Pages

    Every modern website must have Accelerated Mobile Pages. The Accelerated Mobile Pages (AMP) Project is an open source initiative of Google, Twitter and other companies to make mobile web faster. Any online store that uses AMP will see faster load times, more pageviews, more customers. AMP already used by ecommerce giant - eBay, and thousands of other online stores over the world wide web.

    Read more »
  2. Resent blog posts on Magento 2 Homepage Sidebar

    1. Please navigate to M2 Admin Panel > Content > Pages, then start edit Home Page.
    2. Change the field Layout Update XML in Design section by adding the next code:

    <referenceContainer name="sidebar.additional">
        <block class="Magefan\Blog\Block\Sidebar\Recent" name="blog.sidebar.recent" template="sidebar/recent.phtml" after="wishlist_sidebar">
              <action method="setCacheLifetime">
                  <argument name="time" xsi:type="string">86400</argument>
    3. Save the page.
    4. Flush magento cache.

    Read more »
  3. Resent blog posts on Magento 2 Homepage

    1. Please navigate to M2 Admin Panel > Content > Widgets and click Add Widget button.
    2. Select "Recent Blog Posts" in Type field and your theme in Design Theme field. Then press Continue button
    3. After page refresh enter Widget Title you wish (e.g.: Recent blog posts on Homepage) and specify the sore view if neaded.
    3. Navigate to Widget Options tab
    4. Set Title field - it will displayed on frontend as title of recent posts blog
    5. Set the Number of Posts you wish to show
    6. If needed you can show post only from specific category by setting Blog Category field.

    Read more »
  4. Add "read more" tag to Magento 2 blog post content

    Add "read more" tag

    1. Please navigate to M2 Admin Panel > Content > Posts > Choose post > Open Content tab.
    2. Insert Pagebreak tag wherever you want.

    Read more »
  5. How to Install Magento 2 Extension

    There are different ways to install Magento 2 Extension:

    1. Install Magento 2 Extension via the Composer

    This installation method is the most preferred, but not all Magento 2 extension vendors provide a possibility to install their modules via the Composer.

    Composer is the package manager for the PHP, it allows you to manage dependencies of Magento 2 extensions and PHP libraries. It also facilitates the upgrade process of Magento2 & Magento2 Extensions.


    2. Install Magento 2 Extension from Archive

    This is the most common method since Magento 1.x times. 

    Read more »