Web Analytics

Fill the form & Get Installation Support

Any Question or Concerns?
Let's discuss





    Magento 2: add new custom field in cms pages

    Related articles

    If you need to add custom field in cms pages then follow below steps:

    1, You need to create a module for that so create module folders app/code/Magemonkey/CmspageBanner

    2, Add registration.php file in your module Magemonkey/CmspageBanner

    3, Add module.xml file in your module Magemonkey/CmspageBanner/etc

    4, Then create new schema file InstallSchema.php in  Magemonkey/CmspageBanner/setup

    5, Then add your need to add a field in ui_component form file cms_page_form.xml in Magemonkey/CmspageBanner/vew/adminhtml/ui_component

    6, Then you need to create one block file for the call that field in the frontend, Banner.php in Magemonkey/CmspageBanner/Block

    After that you need to run setup:upgrade command

    Then after you can call that block in your cms page Like:

    Contact us for scientific strategies to increase your site conversions





      Connect With Us