• Resolved br0s98

    (@br0s98)


    <?php
    global $test1;
    $test1 = get_post_meta($post->ID, ‘test’, $single = true);
    if($test1 === yes ) { the_content(); }
    else { the_excerpt(); } ?>

    please help rectify it …

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What is wrong with this php code’ is closed to new replies.