Zend certified PHP/Magento developer

Magento2: How to display Custom Name under product

I want display text under product from attribute Custom Name. I created attribute with code: custom_name and edit list.phtml

original code file:

                            

< ?php /* @escapeNotVerified */ echo $_helper->productAttribute($_product, $_product->getName(), 'name'); ?>

after changes:

  

< ?php /* @escapeNotVerified */ echo $_helper->productAttribute($_product, $_product->getCustomName(), 'custom_name'); ?>

On the frontend information with the name of the old product name disappeared but no new custom name will be displayed. Thank you for checking