In magento using this code:
$currentPageId =$this->getRequest()->getParam('page_id');
we can get the current page id.
But how can I get the page id of a specific page?
For example, I have a page with the URL key about-fruit-store .
I want to get the page id. How can i get it?
source share