Jump to content

Funtion to call the 'page title' and the 'page meta description'


Norman

Recommended Posts

I'd like to put a simple box in my page which display the page title (<title></title>) and the page meta description (<meta name="description" content="<?php echo $description; ?>" />). I need this becouse I compile my header iformations based on the page itself with some variables. Do you think is this possible?Ops. I made a mistake. Read this please: http://w3schools.invisionzone.com/index.ph...st&p=169018

Link to comment
Share on other sites

Ops. I made a mistake. I have not the page dynamically completed by PHP. I was talking about another site I have and I go confused. In this site I have some pages which uses Wordpress, and some which don't. Some which uses vBulletin, etc. I'd like to add a function that uses PHP (or what else is required) to extract the current page title and the current page meta description..

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...