hi Ivovic,
thanks for the tip.
if (is_page('About')) {
// our about page.
echo "<p>Paragraph to be displayed in About me page</p>";
} elseif (is_page('Colophon')) {
echo "<p>Paragraph to be displayed in Colophon page</p>";
} else {
// catch-all for other pages
echo "<p>Vote for Pedro!</p>";
}
I think this is the code, I am only a beginner in PHP. Can anyone tell me if this will achieve the desired effect i want.
I want my homepage, a static page and 2 single posts to show 4 different paragraphs with the heading “Also See:” on the sidebar….anyone got more ideas? ??