• Like i was told put <?php the_excerpt(); ?> in the description so i did.. it works well sort off.. on the homepage of my blog its showing the description for the first post.. which is a little silly really as i want the homepage to have its own..

    anyway.. for keywords meta.. what can i put in there if i want it to display the NAME of the CATEGORIES this post is under i.e news, video

    I tried <?php the_category(); ?>

    but it put a HYPERLINKED in theire and you could see it.. basically didnt work.. any ideas?

    is there anyway to have a seperate description for the blog main page alos?

Viewing 1 replies (of 1 total)
  • Exactly what is it that you want? It sounds like you want a brief description of what your blog is, and what it is about, just before it displays the first entry on the main page?

    Sort of

    Mission statement
    Blog entry #1 (or summary with more link)
    Blog entry #2 (or summary with more link)
    etc.

    If this is the case, then you can include a paragraph with the description in the index.php file of your theme, someplace after the <body> tag – where exactly will depend on your theme – but most likely after the sidebar.php inclusion (<?php require_once(‘sidebar.php’); ?>> and probably inside the <div id=”main”> tag, provided your theme has one.

    This will mean that the text is “hard wired” into the theme – but as its only in one place, it should be easy to update should you want to change it.

Viewing 1 replies (of 1 total)
  • The topic ‘This is for <?php the_excerpt(); ?> Description but what for Keywords?’ is closed to new replies.