How to meta description get value from post?
gogs85
0
Junior Poster in Training
Recommended Answers
Jump to Postset a database field called metadescription then on page load do something like
<meta name="description" content="<?php echo $metadescription ?>">
then it will echo the description of each post when you call for it based on ID of post or how ever you have it generate...
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.