You can echo the headMeta placeholder in your layout
<?php echo $this->headMeta(); ?>
And use in every action:
$this->view->headMeta()->appendName('description', 'your page description');
or view:
<?php $this->headMeta()->appendName('description', 'your page description');
?>
FedeWP wrote:
>
> I have the head meta tags on the layout.phtml file
> (I.E. $this->headMeta()->appendName('doc-type', 'Public');)
> Then each content page is displayed from the layout.phtml
> (I.E. <?php echo $this->layout()->content ?>).
> I need to set a different description tag for each page. How can I call
> for the corresponding description from the layout?
>
--
View this message in context:
http://www.nabble.com/How-to-set-custom-meta-description-tags-for-each-page--tp25151422p25184529.html
Sent from the Zend Framework mailing list archive at Nabble.com.