• I have the blog section not on the front page and have added an intro paragraph which I only want to appear on the first paginated page of entries than all of them.

    Also, I’d like to include a different paragraph (something simple like ‘continued’) on other paginated pages.

    Although reading about conditional tags, I currently feel very lazy and stupid and hence am hoping someone can take pity on a fool and point me to an instant fix (or at least one I can understand and implement).

Viewing 1 replies (of 1 total)
  • Thread Starter gulliver

    (@gulliver)

    Update: Having read more on conditionals and since found another post, I tried

    <?php if ( ! is_page('notes') && !is_paged())
    
     {echo '<p>[message for first page]</p>';
    }
    else
    {echo '[message for subsequent pages]';
    }
    ?>

    It seems to work and as the sky hasn’t yet fallen-in on me I’ll hope it’s ok.

Viewing 1 replies (of 1 total)

The topic ‘Add conditional text to blog page.’ is closed to new replies.