Sanjoy Roy

[MCM, MCP, SCJP] – Senior PHP Programmer

Tag Archives: page title

Magento – how to display a page title and contents from backend


$terms_condtn_title = Mage::getModel('cms/page')->load('terms-and-conditions', 'identifier')->getTitle();
$terms_condtn_content = Mage::getModel('cms/page')->load('terms-and-conditions', 'identifier')->getContent();	
echo $terms_condtn_content;
Advertisements
%d bloggers like this: