Magento 2

Magento 2 : Get CMS Page Collection by Identifier

In this tutorial, Today we will learn about how to get CMS page collection by identifier in Magento 2. For that, You need to inject \Magento\Cms\Api\PageRepositoryInterface into your construct. PageRepositoryInterface is an interface that is used when you need to get the collection of CMS page, Delete CMS page, Delete or get CMS Page data by specific CMS page ID,…

Continue Reading

Magento 2

How to convert CMS page content to HTML in Magento 2?

In this technical blog, We will learn about how to convert cms page content to HTML in Magento 2. CMS page content uses WYSIWYG editor to add content to the cms page. The WYSIWYG editor is an addon that is used for the backend for content editing and also allows people who don’t work with HTML to edit content. Sometimes,…

Continue Reading

Magento 2

How to Create CMS Page using Data Patch in Magento 2

In this tutorial, Today I will explain to how to create CMS page using data patch in Magento 2. After Magento 2.3.x, Magento has introduced Data Patch Interface functionality. Using that, we can add/update data. Before  Magento 2.3.x, we used InstallData or UpgradeData file to Create CMS Page. But, After Magento 2.3.x we need to use data patch functionality. So,…

Continue Reading

Magento 2

How to Show/Remove Breadcrumbs to CMS Page in Magento 2

In this tutorial, Today I will explain to how to show breadcrumbs to CMS Page in Magento 2. A Breadcrumbs is basically links that helps to users to redirect on that page from current page. It is useful navigation tool for your customer to easily navigate them to other page. In Product Page, Breadcrumbs display In CMS Page, By default…

Continue Reading