Page 28 - Mari Skula
- 1 min read
You can install by Magefan, using composer or archive installation methods.
Installation via composer (recommended)
Please navigate to your Magefan Account > Downloads > Install via Composer to get the composer installation instructions.
Installation using archive and FTP
Download Dynamic Category Extension ZIP-Archive from magefan.com website (not GitHub or other sources).
Extract files.
Copy app folder from the archive to your Magento 2 folder.
In a command line, using "cd", navigate to your Magento 2 root directory.
Run CLI commands:
php bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy
Note: if you don't want your website to be down during deployment, try these .
Once you have installed the Magento 2 Dynamic Category extension you can start the .
- 1 min read
There are cases when the Magento sidebar is missing and not showing. Most likely this is because of the "sidebar" or "sidebar.additional" container has been removed from your theme layout.
In order to fix this issue, please follow the steps below:
1. Look for remove="true" in the theme layout XML files. For this you need to check out all these files in our theme in general:
app/design/frontend/ThemeVendor/themename/*/layout/*.xml
* - means any folders, file names.
2. Remove or comment lines that look like
<referenceContainer name="sidebar" remove="true" />
or
<referenceContainer name="sidebar.additional" remove="true" />
3. Save changes.
4. Flush Magento cache and check.
If it does not work then please do the same, but instead of theme folder check the extensions folders that are located in app/code or vendor or make sure that your page does not use 1column or empty layout.
- 1 min read
In order to migrate AheadWorks M2 Blog to Magento 2 Blog, you have to install by Magefan. After that navigate to Admin Panel > Content > Blog > Import and choose the Import from AheadWorks M2.
To Import Aheadworks Blog to Magento 2 Blog:
1. Set a Database Name and User Name.
2. Set a database user Password.
3. Set a Database server host (location of a database) in Database Host field.
4. Set a Table Prefix if there is one.
5. Specify a Store view the blog from AheadWorks is to be imported to.
Once you have finished don't forget to press a Start Import button. Note that you will have to copy featured image files to Magento 2 pub/media/magefan_blog directory once the import is completed.
- 2 min read
Search form, categories and sidebar widgets are some of the best ways to improve navigation in your . However, today you're going to learn about some other - Blog Tags.
Tags are used to help readers navigate through your blog faster and more effectively. Tag is a short description of a topic that is used as a keyword to mark blog posts.
In our Blog tags are displayed at the top of the blog post page, in the sidebar tag cloud and on tags page.
Take the following steps to create new blog tag in Magento 2:
1. Navigate to Content > Blog > Tags and press Add New Tag button.
2. Make sure you Enable the new Tag.
3. Set the Tag Title and write some Content that will be displayed on the tag page.
4. Configure the tag page Display Settings.
Choose the Template for the blog tag page.
Set the Posts Per Page option, the number of blog posts you want to be displayed on tag page. If you don't set any number here, the extension will take this setting from .
5. Choose what websites the blog tagihor
- 2 min read
Social media has become an ultimate traffic source for a lot of stores. We spend most of our time on social media where we find, perceive and share information. So, it's no wonder social media is a vital element in every marketing campaign now.
Therefore, it not only works for products but blogs as well.
When people find and read an engaging piece, what do they do?
They share it with friends or on their social media pages for others to see. This covers more people who can follow the link and land on your blog page. Correspondingly, you have to let people share your blog posts to get more coverage. And for that, you have to configure social sharing buttons.
Note: we've used AddThis service for social sharing buttons. However, since it has been terminated, the Blog Extension (starting from v2.10.14) now includes a new social sharing buttons option.
To configure social sharing buttons for :
Go to Stores > Configuration > Magefan Extensions > Blog and find the Social Share Buttons sectionihor
- 2 min read
Getting Google to discover your blog pages is easy. You just need to upload your sitemap to Google Search Console and make sure blog pages are not blocked in the . But that's not quite it.
You also have to make sure crawlers can index and display these pages in search engines. That's what robots meta tags are for.
So, today you'll learn how to set robot meta tags for your blog using the extension. We won't stop on the directives here, so explore them in our guide.
Default Robots Meta Tags
Navigate to Stores > Configuration > Magefan Extensions > Blog to find default meta robots settings for the Author's page.
The same option is available for Tag and Search pages here.
Once you set the default robots for the blog tag, author, and search pages, they will be included before the head closing tag in the page HTML.
Note: use the Ctrl+U combination or Inspect browser tools to check the blog robots meta tags.
The only drawback of the default blog meta robot settings is that theyihor
- 2 min read
In order to configure blog design in , navigate to Stores > Configuration > Magefan Extensions > Blog and find the Design section.
Note: This option is available only for users.
In this section, you are able to choose the Layouts for Blog Post, Category, Tag, Author, Search and Index Pages.
It can be empty, 1 column, 2 columns with right bar or left bar or 3 columns. In case you have some designs on your Magento instance they will be displayed here as well.
So let's have a look at how some of these layouts work on the storefront.
1 column
2 columns with left bar
2 columns with right bar
3 columns
You can also choose whether to Display Post Publication Date and select the Post Publication Date Format in the Design section. Learn more about it in the guide.
The Design section is available for all blog pages e.g. blog post, category,author. You can set the Design Layout and manage the Custom Design Update on Blog Post, Category, Tag and Author Pages.
Note: if you don't set theihor
- 2 min read
Your blog list pages are important since these are the pages your blog readers land on. How you organize posts in lists and what template you choose significantly influences readers' choice: to go on reading or leave.
In there are several pages you can configure blog posts list for:
Blog Index Page
Blog Category Page
Blog Search Page
Blog Archive Page
Blog Tag Page
Blog Author Page
Post list option is available on each of these pages. So you can choose different templates and numbers of posts for each of them.
However, if you don't, blog extension will take settings from general post list configurations. And that is what you're going to learn about in this article.
To configure post list in Magento 2 Blog go to Stores > Configuration > Magefan Extensions > Blog > Post List.
Post List with Pagination
Choose the Template for the post lists.
Set the number of Posts you want to display Per Page.
Set the Default Short Content Length. It defines the number of characters of the blog postsihor
- 3 min read
When you you add the post content, tags, categories and fill out the display setting, etc. However, how blog posts look on the frontend is defined by the post view settings. Since extension comes with quite a few, today we'll cover each in detail.
To configure the blog post page elements, navigate to Stores > Configuration > Magefan Extensions > Blog > Post Page (Post View).
Posts From The Same Category
Choose whether to Display Posts From the Same Category on the blog post page, select the Template and set the Number of Posts to display.
And this is how the posts from the same category are displayed on the storefront:
Related Posts
Enable the Display Related Posts option.
Select the related posts Template. You can Use System Setting, Grid or Carousel Slider template.
Set the Number of Posts you want to be displayed.
Enable Auto Related Posts if you want related posts to be generated automatically.
Note: auto-related blog posts' grid and slider templates are availableihor
- 5 min read
Blog authors add credibility and build trust in your brand. Besides, they allow readers to see someone behind the content rather than a faceless entity.
Creating authors in allows different people to contribute content to your blog. Each has separate accounts and roles.
However, different Blog editions offer different ways of managing authors. We'll describe all cases to help you find the best option for your blog.
Note: some of the author's options described here are available only in the .
How to Configure Blog Authors in Magento?
Before you start creating blog authors, you need to fill out some basic settings. They help you configure the template for the blog authors pages, set whether to include them in the blog sitemap and enable the author's block on posts.
General settings
In general settings, you define whether to display the author's name on the blog posts at all and whether to add the author's block.
1. Navigate to Stores > Configuration > Magefan Extensions > Blog andihor
- 7 min read
It's not a secret that an active and SEO-optimized blog drives more traffic and contributes to the overall performance of your store. A solution of choice for many, our Basic comes with a multitude of features for effective content management. Yet, as useful as they are, you can go even further.
plans offer you a range of advanced options that help you create a unique blog. In this article, we'll look closer at the distinctive options these plans offer. So you'll be able to choose the one for your needs.
Ready to get started?
Custom Blog Homepage
Edition: Extra
Blog Extra edition allows you to create a with Recent and Featured Posts Widgets using different templates. Thus, you can place certain info right in front of your customers' eyes and ensure the posts you share are relevant for every visitor.
22+ Templates
Edition: Extra
You can make your blog pages more attractive with the Blog Extra edition. Here, you get 22+ templates for blog index, category, and different list pages. Be sureihor
- 3 min read
Since the customer-store relationship is based on communication it's best to reach out to them in their local language. Correspondingly, you need to translate email templates when you set up store.
By default Magento allows you to translate emails by creating multiple copies in different languages. However, depending on the number of languages you have, multiple email templates might just be too much to handle.
So, in this guide, we'll show you how you can translate emails in Magento by default or simplify the process with auto translation.
Translate Email Templates in Default Magento
Long story short — in default Magento, you have to load and translate each template as many times as many languages you have. Then assign each email to a different store view. But let's go through the process step by step.
1. Navigate to Marketing > Communications > Emails Templates and press the Add New Template button.
2. Load the Default Template you want to translate. We've selected the New Orderihor
- 4 min read
In case you already have a and want it to use "manage_pages" and "publish_pages" permissions you will learn how to enable them in this article.
These permissions are needed for Facebook App to be able to publish posts on your . Once it is in the developer mode you can make any publications on the Facebook page through the Facebook App without these permissions.
However, being published while in the developer mode posts aren't seen to anyone except for the page administrators and Facebook App developers. That is because Facebook needs to confirm the manage_pages and publish_pages requests, to make them seen to the public. In order to request "manage_pages" and "publish_pages" permissions take the following steps: 1. Go to https://developers.facebook.com and log in to your Facebook Account to continue working with Facebook App.
2. Navigate to My Apps, choose the Facebook App you want to configure the permissions for and make sure yourihor
- 2 min read
Notice: this functionality is deprecated and no longer works in the latest versions of Magento 2 Blog.
Posting to Facebook automatically saves you a lot of time so you don't have to duplicate your Magento 2 Blog posts to Facebook, especially if you publish regularly. In this article, you will learn how to configure the blog posts auto-publication to Facebook.
Publish Posts on Facebook
To configure the auto-publication of your blog posts on Facebook in follow these steps:
1. Navigate to Stores > Configuration > Magefan Extensions > Blog and find the Publish Posts On Facebook section. Note: that this option is available for Blog Plus and Blog Extra users only.
2. Enable the Auto Publish on Facebook option to be able to configure it.
3. Set the Facebook App ID and Facebook App Secret. You need to get them from your Facebook API. If you don't have one, please .
Note: that the application needs to be in the LIVE mode and <a title="How to Request " manage_pages"="" and="" "publish_page"=""ihor
- 1 min read
In order to create a new page on Facebook navigate to Facebook Login Page. Note, that you have to be logged in to your Facebook account to create a new page.
1. Press the Create button and select Page from the flyout menu.
2. Choose what kind of page you would like to create (Business&Brand or Community&Public).
3. Enter the Page Name.
4. Set the Category you want your page to be added to.
5. Specify your Address and set the Phone Number which is optional.
6. Put a checkmark in the corresponding field if you don't want your address to be shown to the public and press the Continue button.
7. Set the Main and the Cover Pictures of your page in two steps. You can skip and complete them later if you like.
Once you've finished up with the settings you will be automatically guided to your newly created facebook page.
To quickly create on-brand cover images and social posts, you can use Adobe Express for free instead of building every design from scratch.
- 2 min read
In this article, you will learn how to create the Facebook App ID which opens a lot of opportunities for you.Following steps to create Facebook APP:
1. Log in to your Facebook account.
2. Go to Facebook for Developers, click on My Apps and press Create App.
3. Set the Display Name of your application.
4. Enter the Contact Email.
5. Navigate to Facebook Login and press the Set up button.
6. Select Web from the displayed platforms.
7. Go to the Settings section and choose Basic.
8. In the appeared menu some of the fields are generated automatically. All you need to do is fill in the rest of them, such as App Domains and Contact Email in particular. Please note these two are obligatory options. Privacy Policy URL and Terms of Service URL are optional, but we recommend you NOT to leave them blank. You will not be able to switch your application to live mode without them being set.
9. Once you've filled all the necessary fields, press the Add Platform buttonihor
- 4 min read
If you want to keep your audience engaged and get some feedback about your content, you need comments. However, things can get a little out of hand from time to time, especially without moderation. Luckily that's not the thing with the .
It offers you three different comment types, the ability to edit, approve/disapprove comments and even more. You can disable blog comments for some particular blog posts and protect your blog from spam with reCaptcha.
So, today you'll learn all you need about Magento 2 Blog comments, and how to manage them properly.
Note: some of the options described here are available only in the .
Magento Blog supports different comment types that are part of the . To configure them navigate to Stores > Configuration > Magefan Extensions > Blog > Post View and find the Comments section.
Magefan Blog Comments
Magefan comments are the built-in comments that give you the most control over what gets published in the comments area.
1. Set the Number of Comments andihor
- 2 min read
Dates in are important since they give your readers information about your blog posts, blog development, and the relevancy of the content. In this article, you're going to find out more about the dates format, learn where the dates are displayed on Magento 2 Blog and how to disable them.
Magento 2 Blog Plus and Blog Extra v2.9.1 have the option to set the dates format and disable dates displaying. However, note these options are available only for users.
To configure blog dates displaying in Magento 2 navigate to Stores > Configuration > Magefan Extensions > Blog.
Blog Post Publish Date
In the Design ( Blog+) section you can enable the Display Posts Publication Date and set the Posts Publication Date Format. To learn more about date formats follow this link.
Once you enable the publication date and set it when , you will see the date on the blog posts page, and in the recent, popular and featured posts in the sidebar.
Note: blog post date is used to sort posts on blog indexihor
- 3 min read
The examples of some GraphQL queries for the are presented in this article. With these queries, you will be able to extract the necessary blog data for Progressive Web Application (PWA). The queries are easily tested in the .
Note that Magento 2 Blog GraphQL addition should be installed first.
To check the full Blog GraphQL schema please see the schema.graphqls file.
Blog Index Page Posts GraphQL Request
Query:
query GetPosts ($currentPage: Int $pageSize: Int) {
blogPosts (currentPage: $currentPage pageSize: $pageSize sort: ["DESC"]) {
total_count
items {
post_id
title
short_filtered_content
author {
author_id
name
author_url
}
post_url
creation_time
tags {
tag_id
title
tag_url
}
categories {
category_id
title
category_url
}
}
total_pages
}
}
Variables:
{"currentPage": 1,"pageSize": 5}
Result:
As a result, you will receive data for the first 5 blog posts that should be displayed on the first page.
Blog Category Posts GraphQL Request
With this query you will get posts for a certain blogihor
- 1 min read
Magento 2 Blog GraphQL Extension is included in the Magefan package starting from v2.10.9, and you don't need to install it separately.
For lower Blog extension versions, you can install the Magento 2 Blog GraphQL Extension using composer or archive installation methods.
Installation via composer (recommended)
Open command line
Using command "cd" navigate to your Magento 2 root directory
Run CLI commands:
composer require magefan/module-blog-graph-ql# Authentication required (repo.magento.com)# Get your Magento Marketplace authentication keys or use these: # Username: 7c018006799466c681ad507e27904677# Password: 289077c86e811661a8f7751828485d3aphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy
Note: if you don't want your website to be down during deployment, try these .
Installation using archive and FTP
1. Create a new folder app/coder/Magefan/BlogGraphQl in your Magento root directory
2. Download Magento 2 Blog GraphQL Extensionihor
- 1 min read
In order to easily test the GraphQL queries all you need to do is install the ChromeiQL extension for Chrome Browser by pressing the Add to Chrome.
Once you have added it you will see the extension icon in the right top corner of the browser window. Pressing it will move you to the new window where the testing is actually conducted.
This is the example of how we test the GraphQL query for Magefan Magento 2 Blog module:
Set the Endpoint URL in the corresponding field.
In the left field set the query. It is also allowed to state the query parameters if needed below the query section.
Press the Run ( > ) button and see the result on the right.

