Page Title

0

Hi. How should i properly use Page Title field in Pods -> Pages? As i understand, this field gets control over title html tag or over the_title() function, but nothing of both actually worked in my case.

My pod pages are just loading WP theme templates and don't have anything in the code. Also i have this code in header now:

<title>
<?php if ( is_front_page() ) echo "";
elseif ( is_home() ) echo "Blog - ";
elseif ( is_archive() ) echo "Archive - ";
elseif ( is_search() ) echo "Search - ";
else echo the_title(""," - ") ?>
<?php bloginfo('name'); ?></title>

It responds 'bloginfo('name')' for discogs/* and 'last blog post title - bloginfo('name')' for production/discogs/* for Page Title '{@name} - Discography'. I've used ispodpage function in this code, but this gets static title for all pods pages.

asked Jul 16 '10 at 7:36

Fike

208

add comment
enter at least 15 characters

1 Answer

1

There is a good plugin from Mike Van Winkle for this

http://www.mikevanwinkle.com/wordpress/plugins/wordpress-podscms-seo-titles-plugin/

answered Jul 16 '10 at 9:10

tomhermans

36

add comment
enter at least 15 characters