Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End When post_meta just ain’t there… Re: When post_meta just ain’t there…

#73211
EamonnMac
Member

No Joy…

I figure that the code is correct, (‘coz that’s basically what’s in the Codex) but that I’m putting it in the wrong place.

Here’s the whole page (not too big!):

Code:

ID, “intro”, true); ?>

100, ‘post_type’ =>’page’, ‘post_parent’ => 337, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’ ));

while (have_posts()) {

the_post();

$thumbpath = get_post_meta($post->ID, ‘thumbnail’, true);

if($thumbpath ==””) {
$thumbpath = ‘/images/logo/logo_pic_coming_soon_200.gif’;
}
?>

Again, any help greatly appreciated! :D