• Hi everyone,

    My <title> tag is different per page (see source below) as i like it. I want the same thing for the description tag. So that it reads the first lines out of the post or something. Could anyone please help me out?

    <title><?php
    if(is_home()) {
    // bloginfo(‘tagline’);
    echo ‘Title voor homepage’;
    } else {
    wp_title(“”); echo ‘ – NieuwsZicht’;
    }
    ?></title>
    <META NAME=”description” CONTENT=”I want this to read the first lines out of the post made on that certain page”>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Description in <head>’ is closed to new replies.