• Can Any one tell me why this is working :
    <?php echo get_permalink(get_adjacent_post(false,'',false)); ?>
    And this one is not working:
    <?php $nextpermalink = get_permalink(get_adjacent_post(false,'',false)); ?>

    Actually I want to set the value as variable so I can compare it in if() statement.

    Thanks.

  • The topic ‘Can Anyone Tell Me Why One Code Is Working and Another Is Not Working’ is closed to new replies.