I developed my site with a fine WP developer (if anyone's interested, lemme know), but he is out of town and I am still resolving one thing. I have a border image under the navigation tabs which is conditional for the navigation based on page. He's advising me to add the following:
At the top of the template file type '"echo $pagename;"' This should then output the name of the page as WP sees it.
Here's the home page with no borders under the tabs Blog, Humor, Consulting
Click on Humor or Consulting and you'll see the border I'm trying to get
There is a border under those tabs that SHOULD be under 'Blog' but it is not appearing
Here's the conditional statements for all 3 (assume all the paths and images are in place) We also tried changing replacing (is_home()) with ($pagename == "blog") but that didn't work
if (is_home()){
echo ('<img src="' . get_stylesheet_directory_uri() . '/img/blog_bar.jpg" alt="blog page border" />');
}elseif ($pagename == "humor"){
echo ('<img src="' . get_stylesheet_directory_uri() . '/img/humor_bar.jpg" alt="humor page border" />');
}elseif ($pagename == "consulting"){
echo ('<img src="' . get_stylesheet_directory_uri() . '/img/consulting_bar.jpg" alt="consulting page border" />');