Forums

Custom Fields, Page titles and span descriptions... (1 post)

  1. kayrosedesign
    Member
    Posted 3 weeks ago #

    Ok, so my problem is that i've got a blog posts page, (index.php), where i have a banner, (which should say the page title, (e.g. Portfolio, About etc...), and a short tagline like 'We say what we think', and i have the main content area where the blog posts are showing up.

    I'm using wp_title(); to get the title, and a cutom field to get the tagline, header_tagline, the problem is that it's showing the title but not the tagline, (by the way, this works on all other pages like Portfolio, Contact, About etc..), i figure it's obviously something to do witht the fact that it's on the posts page, (index.php).

    p.s. I'm not sure if i'm calling the custom field properly:

    <div id="secondray_featured_wrap">
    	<div id="secondray_featured_content">
    		<div id="secondray_featured_text">
    			<h1><?php wp_title(); ?></h1><span><?php $header_tagline = get_post_custom_values('about-tagline'); echo $header_tagline[0]; ?></span>
    		</div>
    	</div><!--end featured_content-->
    </div><!--end featured_wrap-->

    It's also not in the loop, but it works on all other pages, HELP!

Reply

You must log in to post.

About this Topic